big_ml 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +2 -1
- data/big_ml.gemspec +1 -1
- data/lib/big_ml/util/client.rb +7 -2
- data/lib/big_ml/util/config.rb +7 -2
- data/lib/big_ml/version.rb +1 -1
- data/spec/spec_helper.rb +2 -2
- data/spec/units/client_spec.rb +37 -6
- data/spec/vcr_cassettes/BigML_Dataset/no_dataset/_all/must_be_empty.yml +16 -95
- data/spec/vcr_cassettes/BigML_Dataset/one_dataset/can_be_converted_in_a_model.yml +69 -67
- data/spec/vcr_cassettes/BigML_Dataset/one_dataset/must_be_able_to_be_deleted_using_the_destroy_method.yml +72 -71
- data/spec/vcr_cassettes/BigML_Dataset/one_dataset/must_be_able_to_be_find_using_the_reference.yml +104 -103
- data/spec/vcr_cassettes/BigML_Dataset/one_dataset/must_be_able_to_remove_the_dataset.yml +66 -65
- data/spec/vcr_cassettes/BigML_Dataset/one_dataset/must_be_able_to_update_the_name.yml +148 -147
- data/spec/vcr_cassettes/BigML_Dataset/one_dataset/must_be_able_to_update_the_name_from_the_instance.yml +147 -146
- data/spec/vcr_cassettes/BigML_Dataset/one_dataset/must_have_only_one_item.yml +83 -80
- data/spec/vcr_cassettes/BigML_Dataset/one_dataset/must_have_the_same_file_name.yml +119 -74
- data/spec/vcr_cassettes/BigML_Dataset/one_dataset/was_created_successfully.yml +36 -36
- data/spec/vcr_cassettes/BigML_Model/no_model/_all/must_be_empty.yml +89 -87
- data/spec/vcr_cassettes/BigML_Model/one_model/can_be_converted_in_a_prediction.yml +101 -99
- data/spec/vcr_cassettes/BigML_Model/one_model/must_be_able_to_be_deleted_using_the_destroy_method.yml +91 -89
- data/spec/vcr_cassettes/BigML_Model/one_model/must_be_able_to_be_find_using_the_reference.yml +191 -200
- data/spec/vcr_cassettes/BigML_Model/one_model/must_be_able_to_remove_the_model.yml +109 -231
- data/spec/vcr_cassettes/BigML_Model/one_model/must_be_able_to_update_the_name.yml +272 -252
- data/spec/vcr_cassettes/BigML_Model/one_model/must_be_able_to_update_the_name_from_the_instance.yml +126 -252
- data/spec/vcr_cassettes/BigML_Model/one_model/must_have_only_one_item.yml +117 -113
- data/spec/vcr_cassettes/BigML_Model/one_model/must_have_the_same_size.yml +158 -120
- data/spec/vcr_cassettes/BigML_Model/one_model/was_created_successfully.yml +101 -56
- data/spec/vcr_cassettes/BigML_Prediction/no_prediction/_all/must_be_empty.yml +96 -94
- data/spec/vcr_cassettes/BigML_Prediction/one_prediction/must_be_able_to_be_deleted_using_the_destroy_method.yml +126 -124
- data/spec/vcr_cassettes/BigML_Prediction/one_prediction/must_be_able_to_be_find_using_the_reference.yml +147 -145
- data/spec/vcr_cassettes/BigML_Prediction/one_prediction/must_be_able_to_remove_the_prediction.yml +141 -139
- data/spec/vcr_cassettes/BigML_Prediction/one_prediction/must_be_able_to_update_the_name.yml +159 -157
- data/spec/vcr_cassettes/BigML_Prediction/one_prediction/must_be_able_to_update_the_name_from_the_instance.yml +161 -159
- data/spec/vcr_cassettes/BigML_Prediction/one_prediction/must_have_only_one_item.yml +145 -143
- data/spec/vcr_cassettes/BigML_Prediction/one_prediction/must_have_the_same_name.yml +148 -146
- data/spec/vcr_cassettes/BigML_Prediction/one_prediction/was_created_successfully.yml +75 -74
- data/spec/vcr_cassettes/BigML_Source/no_source/_all/must_be_empty.yml +25 -24
- data/spec/vcr_cassettes/BigML_Source/one_source/can_be_converted_in_a_dataset.yml +32 -32
- data/spec/vcr_cassettes/BigML_Source/one_source/must_be_able_to_be_deleted_using_the_destroy_method.yml +21 -21
- data/spec/vcr_cassettes/BigML_Source/one_source/must_be_able_to_be_find_using_the_reference.yml +48 -47
- data/spec/vcr_cassettes/BigML_Source/one_source/must_be_able_to_remove_the_source.yml +43 -42
- data/spec/vcr_cassettes/BigML_Source/one_source/must_be_able_to_update_the_name.yml +77 -76
- data/spec/vcr_cassettes/BigML_Source/one_source/must_be_able_to_update_the_name_from_the_instance.yml +78 -77
- data/spec/vcr_cassettes/BigML_Source/one_source/must_have_only_one_item.yml +53 -51
- data/spec/vcr_cassettes/BigML_Source/one_source/must_have_the_same_file_name.yml +52 -50
- data/spec/vcr_cassettes/BigML_Source/one_source/was_created_successfully.yml +14 -14
- metadata +5 -5
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://bigml.io/andromeda/source?username=<USERNAME>&api_key=<API_KEY>
|
5
|
+
uri: https://bigml.io/dev/andromeda/source?username=<USERNAME>&api_key=<API_KEY>
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -17,36 +17,37 @@ http_interactions:
|
|
17
17
|
content-type:
|
18
18
|
- application/json; charset=utf-8
|
19
19
|
date:
|
20
|
-
-
|
20
|
+
- Sat, 14 Jul 2012 15:26:04 GMT
|
21
21
|
server:
|
22
22
|
- nginx/1.0.12
|
23
23
|
content-length:
|
24
|
-
- '
|
24
|
+
- '1293'
|
25
25
|
connection:
|
26
26
|
- Close
|
27
27
|
body:
|
28
28
|
encoding: US-ASCII
|
29
29
|
string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
|
30
30
|
"total_count": 1}, "objects": [{"category": 0, "code": 200, "content_type":
|
31
|
-
"application/octet-stream", "created": "2012-
|
32
|
-
0.0, "description": "", "fields": {"000000": {"column_number":
|
33
|
-
"sepal length", "optype": "numeric"}, "000001": {"column_number":
|
34
|
-
"sepal width", "optype": "numeric"}, "000002": {"column_number":
|
35
|
-
"petal length", "optype": "numeric"}, "000003": {"column_number":
|
36
|
-
"petal width", "optype": "numeric"}, "000004": {"column_number":
|
37
|
-
"species", "optype": "categorical"}}, "file_name": "iris.csv",
|
38
|
-
"
|
39
|
-
0, "
|
40
|
-
|
41
|
-
|
42
|
-
"
|
43
|
-
"
|
44
|
-
|
31
|
+
"application/octet-stream", "created": "2012-07-14T15:26:37.779000", "credits":
|
32
|
+
0.0, "description": "", "dev": true, "fields": {"000000": {"column_number":
|
33
|
+
0, "name": "sepal length", "optype": "numeric"}, "000001": {"column_number":
|
34
|
+
1, "name": "sepal width", "optype": "numeric"}, "000002": {"column_number":
|
35
|
+
2, "name": "petal length", "optype": "numeric"}, "000003": {"column_number":
|
36
|
+
3, "name": "petal width", "optype": "numeric"}, "000004": {"column_number":
|
37
|
+
4, "name": "species", "optype": "categorical"}}, "file_name": "iris.csv",
|
38
|
+
"md5": "d1175c032e1042bec7f974c91e4a65ae", "name": "iris.csv", "number_of_datasets":
|
39
|
+
0, "number_of_models": 0, "number_of_predictions": 0, "private": true, "resource":
|
40
|
+
"source/50018fad035d07404e00003c", "size": 4608, "source_parser": {"header":
|
41
|
+
true, "locale": "en_US", "missing_tokens": ["", "N/A", "n/a", "NULL", "null",
|
42
|
+
"-", "#DIV/0", "#REF!", "#NAME?", "NIL", "nil", "NA", "na", "#VALUE!", "#NULL!",
|
43
|
+
"NaN", "#N/A", "#NUM!", "?"], "quote": "\"", "separator": ","}, "status":
|
44
|
+
{"code": 5, "elapsed": 66, "message": "The source has been created"}, "tags":
|
45
|
+
[], "type": 0, "updated": "2012-07-14T15:26:37.878000"}]}'
|
45
46
|
http_version: '1.1'
|
46
|
-
recorded_at:
|
47
|
+
recorded_at: Sat, 14 Jul 2012 15:27:07 GMT
|
47
48
|
- request:
|
48
49
|
method: delete
|
49
|
-
uri: https://bigml.io/andromeda/source/
|
50
|
+
uri: https://bigml.io/dev/andromeda/source/50018fad035d07404e00003c?username=<USERNAME>&api_key=<API_KEY>
|
50
51
|
body:
|
51
52
|
encoding: US-ASCII
|
52
53
|
string: ''
|
@@ -63,7 +64,7 @@ http_interactions:
|
|
63
64
|
content-type:
|
64
65
|
- text/html; charset=utf-8
|
65
66
|
date:
|
66
|
-
-
|
67
|
+
- Sat, 14 Jul 2012 15:21:06 GMT
|
67
68
|
server:
|
68
69
|
- nginx/1.0.12
|
69
70
|
connection:
|
@@ -72,10 +73,10 @@ http_interactions:
|
|
72
73
|
encoding: US-ASCII
|
73
74
|
string: ''
|
74
75
|
http_version: '1.1'
|
75
|
-
recorded_at:
|
76
|
+
recorded_at: Sat, 14 Jul 2012 15:27:09 GMT
|
76
77
|
- request:
|
77
78
|
method: post
|
78
|
-
uri: https://bigml.io/andromeda/source
|
79
|
+
uri: https://bigml.io/dev/andromeda/source
|
79
80
|
body:
|
80
81
|
encoding: US-ASCII
|
81
82
|
string: ''
|
@@ -83,7 +84,7 @@ http_interactions:
|
|
83
84
|
content-type:
|
84
85
|
- multipart/form-data; boundary=-----------RubyMultipartPost
|
85
86
|
content-length:
|
86
|
-
- '
|
87
|
+
- '5149'
|
87
88
|
connection:
|
88
89
|
- close
|
89
90
|
response:
|
@@ -94,30 +95,30 @@ http_interactions:
|
|
94
95
|
content-type:
|
95
96
|
- application/json; charset=utf-8
|
96
97
|
date:
|
97
|
-
-
|
98
|
+
- Sat, 14 Jul 2012 15:26:08 GMT
|
98
99
|
location:
|
99
|
-
- http://bigml.io/andromeda/source/
|
100
|
+
- http://bigml.io/andromeda/source/50018ff41552681ee4000023
|
100
101
|
server:
|
101
102
|
- nginx/1.0.12
|
102
|
-
|
103
|
-
-
|
103
|
+
content-length:
|
104
|
+
- '580'
|
104
105
|
connection:
|
105
106
|
- Close
|
106
107
|
body:
|
107
108
|
encoding: US-ASCII
|
108
109
|
string: ! '{"category": 0, "code": 201, "content_type": "application/octet-stream",
|
109
|
-
"created": "2012-
|
110
|
-
"file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae",
|
111
|
-
"iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
|
112
|
-
0, "private": true, "resource": "source/
|
110
|
+
"created": "2012-07-14T15:27:48.196487", "credits": 0.0, "description": "",
|
111
|
+
"dev": true, "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae",
|
112
|
+
"name": "iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
|
113
|
+
0, "private": true, "resource": "source/50018ff41552681ee4000023", "size":
|
113
114
|
4608, "source_parser": {}, "status": {"code": 1, "message": "The request has
|
114
115
|
been queued and will be processed soon"}, "tags": [], "type": 0, "updated":
|
115
|
-
"2012-
|
116
|
+
"2012-07-14T15:27:48.196512"}'
|
116
117
|
http_version: '1.1'
|
117
|
-
recorded_at:
|
118
|
+
recorded_at: Sat, 14 Jul 2012 15:27:11 GMT
|
118
119
|
- request:
|
119
120
|
method: get
|
120
|
-
uri: https://bigml.io/andromeda/source?username=<USERNAME>&api_key=<API_KEY>
|
121
|
+
uri: https://bigml.io/dev/andromeda/source?username=<USERNAME>&api_key=<API_KEY>
|
121
122
|
body:
|
122
123
|
encoding: US-ASCII
|
123
124
|
string: ''
|
@@ -132,31 +133,32 @@ http_interactions:
|
|
132
133
|
content-type:
|
133
134
|
- application/json; charset=utf-8
|
134
135
|
date:
|
135
|
-
-
|
136
|
+
- Sat, 14 Jul 2012 15:21:09 GMT
|
136
137
|
server:
|
137
138
|
- nginx/1.0.12
|
138
139
|
content-length:
|
139
|
-
- '
|
140
|
+
- '1293'
|
140
141
|
connection:
|
141
142
|
- Close
|
142
143
|
body:
|
143
144
|
encoding: US-ASCII
|
144
145
|
string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
|
145
146
|
"total_count": 1}, "objects": [{"category": 0, "code": 200, "content_type":
|
146
|
-
"application/octet-stream", "created": "2012-
|
147
|
-
0.0, "description": "", "fields": {"000000": {"column_number":
|
148
|
-
"sepal length", "optype": "numeric"}, "000001": {"column_number":
|
149
|
-
"sepal width", "optype": "numeric"}, "000002": {"column_number":
|
150
|
-
"petal length", "optype": "numeric"}, "000003": {"column_number":
|
151
|
-
"petal width", "optype": "numeric"}, "000004": {"column_number":
|
152
|
-
"species", "optype": "categorical"}}, "file_name": "iris.csv",
|
153
|
-
"
|
154
|
-
0, "
|
155
|
-
|
156
|
-
|
157
|
-
"
|
158
|
-
"
|
159
|
-
|
147
|
+
"application/octet-stream", "created": "2012-07-14T15:27:48.196000", "credits":
|
148
|
+
0.0, "description": "", "dev": true, "fields": {"000000": {"column_number":
|
149
|
+
0, "name": "sepal length", "optype": "numeric"}, "000001": {"column_number":
|
150
|
+
1, "name": "sepal width", "optype": "numeric"}, "000002": {"column_number":
|
151
|
+
2, "name": "petal length", "optype": "numeric"}, "000003": {"column_number":
|
152
|
+
3, "name": "petal width", "optype": "numeric"}, "000004": {"column_number":
|
153
|
+
4, "name": "species", "optype": "categorical"}}, "file_name": "iris.csv",
|
154
|
+
"md5": "d1175c032e1042bec7f974c91e4a65ae", "name": "iris.csv", "number_of_datasets":
|
155
|
+
0, "number_of_models": 0, "number_of_predictions": 0, "private": true, "resource":
|
156
|
+
"source/50018ff41552681ee4000023", "size": 4608, "source_parser": {"header":
|
157
|
+
true, "locale": "en_US", "missing_tokens": ["", "N/A", "n/a", "NULL", "null",
|
158
|
+
"-", "#DIV/0", "#REF!", "#NAME?", "NIL", "nil", "NA", "na", "#VALUE!", "#NULL!",
|
159
|
+
"NaN", "#N/A", "#NUM!", "?"], "quote": "\"", "separator": ","}, "status":
|
160
|
+
{"code": 5, "elapsed": 90, "message": "The source has been created"}, "tags":
|
161
|
+
[], "type": 0, "updated": "2012-07-14T15:26:44.637000"}]}'
|
160
162
|
http_version: '1.1'
|
161
|
-
recorded_at:
|
163
|
+
recorded_at: Sat, 14 Jul 2012 15:27:12 GMT
|
162
164
|
recorded_with: VCR 2.2.2
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://bigml.io/andromeda/source?username=<USERNAME>&api_key=<API_KEY>
|
5
|
+
uri: https://bigml.io/dev/andromeda/source?username=<USERNAME>&api_key=<API_KEY>
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -17,36 +17,37 @@ http_interactions:
|
|
17
17
|
content-type:
|
18
18
|
- application/json; charset=utf-8
|
19
19
|
date:
|
20
|
-
-
|
20
|
+
- Sat, 14 Jul 2012 15:26:10 GMT
|
21
21
|
server:
|
22
22
|
- nginx/1.0.12
|
23
23
|
content-length:
|
24
|
-
- '
|
24
|
+
- '1293'
|
25
25
|
connection:
|
26
26
|
- Close
|
27
27
|
body:
|
28
28
|
encoding: US-ASCII
|
29
29
|
string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
|
30
30
|
"total_count": 1}, "objects": [{"category": 0, "code": 200, "content_type":
|
31
|
-
"application/octet-stream", "created": "2012-
|
32
|
-
0.0, "description": "", "fields": {"000000": {"column_number":
|
33
|
-
"sepal length", "optype": "numeric"}, "000001": {"column_number":
|
34
|
-
"sepal width", "optype": "numeric"}, "000002": {"column_number":
|
35
|
-
"petal length", "optype": "numeric"}, "000003": {"column_number":
|
36
|
-
"petal width", "optype": "numeric"}, "000004": {"column_number":
|
37
|
-
"species", "optype": "categorical"}}, "file_name": "iris.csv",
|
38
|
-
"
|
39
|
-
0, "
|
40
|
-
|
41
|
-
|
42
|
-
"
|
43
|
-
"
|
44
|
-
|
31
|
+
"application/octet-stream", "created": "2012-07-14T15:27:48.196000", "credits":
|
32
|
+
0.0, "description": "", "dev": true, "fields": {"000000": {"column_number":
|
33
|
+
0, "name": "sepal length", "optype": "numeric"}, "000001": {"column_number":
|
34
|
+
1, "name": "sepal width", "optype": "numeric"}, "000002": {"column_number":
|
35
|
+
2, "name": "petal length", "optype": "numeric"}, "000003": {"column_number":
|
36
|
+
3, "name": "petal width", "optype": "numeric"}, "000004": {"column_number":
|
37
|
+
4, "name": "species", "optype": "categorical"}}, "file_name": "iris.csv",
|
38
|
+
"md5": "d1175c032e1042bec7f974c91e4a65ae", "name": "iris.csv", "number_of_datasets":
|
39
|
+
0, "number_of_models": 0, "number_of_predictions": 0, "private": true, "resource":
|
40
|
+
"source/50018ff41552681ee4000023", "size": 4608, "source_parser": {"header":
|
41
|
+
true, "locale": "en_US", "missing_tokens": ["", "N/A", "n/a", "NULL", "null",
|
42
|
+
"-", "#DIV/0", "#REF!", "#NAME?", "NIL", "nil", "NA", "na", "#VALUE!", "#NULL!",
|
43
|
+
"NaN", "#N/A", "#NUM!", "?"], "quote": "\"", "separator": ","}, "status":
|
44
|
+
{"code": 5, "elapsed": 90, "message": "The source has been created"}, "tags":
|
45
|
+
[], "type": 0, "updated": "2012-07-14T15:26:44.637000"}]}'
|
45
46
|
http_version: '1.1'
|
46
|
-
recorded_at:
|
47
|
+
recorded_at: Sat, 14 Jul 2012 15:27:13 GMT
|
47
48
|
- request:
|
48
49
|
method: delete
|
49
|
-
uri: https://bigml.io/andromeda/source/
|
50
|
+
uri: https://bigml.io/dev/andromeda/source/50018ff41552681ee4000023?username=<USERNAME>&api_key=<API_KEY>
|
50
51
|
body:
|
51
52
|
encoding: US-ASCII
|
52
53
|
string: ''
|
@@ -63,7 +64,7 @@ http_interactions:
|
|
63
64
|
content-type:
|
64
65
|
- text/html; charset=utf-8
|
65
66
|
date:
|
66
|
-
-
|
67
|
+
- Sat, 14 Jul 2012 15:21:14 GMT
|
67
68
|
server:
|
68
69
|
- nginx/1.0.12
|
69
70
|
connection:
|
@@ -72,10 +73,10 @@ http_interactions:
|
|
72
73
|
encoding: US-ASCII
|
73
74
|
string: ''
|
74
75
|
http_version: '1.1'
|
75
|
-
recorded_at:
|
76
|
+
recorded_at: Sat, 14 Jul 2012 15:27:17 GMT
|
76
77
|
- request:
|
77
78
|
method: post
|
78
|
-
uri: https://bigml.io/andromeda/source
|
79
|
+
uri: https://bigml.io/dev/andromeda/source
|
79
80
|
body:
|
80
81
|
encoding: US-ASCII
|
81
82
|
string: ''
|
@@ -83,7 +84,7 @@ http_interactions:
|
|
83
84
|
content-type:
|
84
85
|
- multipart/form-data; boundary=-----------RubyMultipartPost
|
85
86
|
content-length:
|
86
|
-
- '
|
87
|
+
- '5149'
|
87
88
|
connection:
|
88
89
|
- close
|
89
90
|
response:
|
@@ -94,30 +95,30 @@ http_interactions:
|
|
94
95
|
content-type:
|
95
96
|
- application/json; charset=utf-8
|
96
97
|
date:
|
97
|
-
-
|
98
|
+
- Sat, 14 Jul 2012 15:26:16 GMT
|
98
99
|
location:
|
99
|
-
- http://bigml.io/andromeda/source/
|
100
|
+
- http://bigml.io/andromeda/source/50018ffb155268794e00002d
|
100
101
|
server:
|
101
102
|
- nginx/1.0.12
|
102
103
|
content-length:
|
103
|
-
- '
|
104
|
+
- '580'
|
104
105
|
connection:
|
105
106
|
- Close
|
106
107
|
body:
|
107
108
|
encoding: US-ASCII
|
108
109
|
string: ! '{"category": 0, "code": 201, "content_type": "application/octet-stream",
|
109
|
-
"created": "2012-
|
110
|
-
"file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae",
|
111
|
-
"iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
|
112
|
-
0, "private": true, "resource": "source/
|
110
|
+
"created": "2012-07-14T15:27:55.967144", "credits": 0.0, "description": "",
|
111
|
+
"dev": true, "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae",
|
112
|
+
"name": "iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
|
113
|
+
0, "private": true, "resource": "source/50018ffb155268794e00002d", "size":
|
113
114
|
4608, "source_parser": {}, "status": {"code": 1, "message": "The request has
|
114
115
|
been queued and will be processed soon"}, "tags": [], "type": 0, "updated":
|
115
|
-
"2012-
|
116
|
+
"2012-07-14T15:27:55.967174"}'
|
116
117
|
http_version: '1.1'
|
117
|
-
recorded_at:
|
118
|
+
recorded_at: Sat, 14 Jul 2012 15:27:19 GMT
|
118
119
|
- request:
|
119
120
|
method: get
|
120
|
-
uri: https://bigml.io/andromeda/source?username=<USERNAME>&api_key=<API_KEY>
|
121
|
+
uri: https://bigml.io/dev/andromeda/source?username=<USERNAME>&api_key=<API_KEY>
|
121
122
|
body:
|
122
123
|
encoding: US-ASCII
|
123
124
|
string: ''
|
@@ -132,31 +133,32 @@ http_interactions:
|
|
132
133
|
content-type:
|
133
134
|
- application/json; charset=utf-8
|
134
135
|
date:
|
135
|
-
-
|
136
|
+
- Sat, 14 Jul 2012 15:21:17 GMT
|
136
137
|
server:
|
137
138
|
- nginx/1.0.12
|
138
139
|
content-length:
|
139
|
-
- '
|
140
|
+
- '1286'
|
140
141
|
connection:
|
141
142
|
- Close
|
142
143
|
body:
|
143
144
|
encoding: US-ASCII
|
144
145
|
string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
|
145
146
|
"total_count": 1}, "objects": [{"category": 0, "code": 200, "content_type":
|
146
|
-
"application/octet-stream", "created": "2012-
|
147
|
-
0.0, "description": "", "fields": {"000000": {"column_number":
|
148
|
-
"sepal length", "optype": "numeric"}, "000001": {"column_number":
|
149
|
-
"sepal width", "optype": "numeric"}, "000002": {"column_number":
|
150
|
-
"petal length", "optype": "numeric"}, "000003": {"column_number":
|
151
|
-
"petal width", "optype": "numeric"}, "000004": {"column_number":
|
152
|
-
"species", "optype": "categorical"}}, "file_name": "iris.csv",
|
153
|
-
"
|
154
|
-
0, "
|
155
|
-
|
156
|
-
|
157
|
-
"
|
158
|
-
"
|
159
|
-
|
147
|
+
"application/octet-stream", "created": "2012-07-14T15:27:55.967000", "credits":
|
148
|
+
0.0, "description": "", "dev": true, "fields": {"000000": {"column_number":
|
149
|
+
0, "name": "sepal length", "optype": "numeric"}, "000001": {"column_number":
|
150
|
+
1, "name": "sepal width", "optype": "numeric"}, "000002": {"column_number":
|
151
|
+
2, "name": "petal length", "optype": "numeric"}, "000003": {"column_number":
|
152
|
+
3, "name": "petal width", "optype": "numeric"}, "000004": {"column_number":
|
153
|
+
4, "name": "species", "optype": "categorical"}}, "file_name": "iris.csv",
|
154
|
+
"md5": "d1175c032e1042bec7f974c91e4a65ae", "name": "iris.csv", "number_of_datasets":
|
155
|
+
0, "number_of_models": 0, "number_of_predictions": 0, "private": true, "resource":
|
156
|
+
"source/50018ffb155268794e00002d", "size": 4608, "source_parser": {"header":
|
157
|
+
true, "locale": "en_US", "missing_tokens": ["", "N/A", "n/a", "NULL", "null",
|
158
|
+
"-", "#DIV/0", "#REF!", "#NAME?", "NIL", "nil", "NA", "na", "#VALUE!", "#NULL!",
|
159
|
+
"NaN", "#N/A", "#NUM!", "?"], "quote": "\"", "separator": ","}, "status":
|
160
|
+
{"code": 5, "elapsed": 80, "message": "The source has been created"}, "tags":
|
161
|
+
[], "type": 0, "updated": "2012-07-14T15:27:56"}]}'
|
160
162
|
http_version: '1.1'
|
161
|
-
recorded_at:
|
163
|
+
recorded_at: Sat, 14 Jul 2012 15:27:20 GMT
|
162
164
|
recorded_with: VCR 2.2.2
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://bigml.io/andromeda/source?username=<USERNAME>&api_key=<API_KEY>
|
5
|
+
uri: https://bigml.io/dev/andromeda/source?username=<USERNAME>&api_key=<API_KEY>
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -17,7 +17,7 @@ http_interactions:
|
|
17
17
|
content-type:
|
18
18
|
- application/json; charset=utf-8
|
19
19
|
date:
|
20
|
-
-
|
20
|
+
- Sat, 14 Jul 2012 15:26:00 GMT
|
21
21
|
server:
|
22
22
|
- nginx/1.0.12
|
23
23
|
content-length:
|
@@ -29,10 +29,10 @@ http_interactions:
|
|
29
29
|
string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
|
30
30
|
"total_count": 0}, "objects": []}'
|
31
31
|
http_version: '1.1'
|
32
|
-
recorded_at:
|
32
|
+
recorded_at: Sat, 14 Jul 2012 15:27:03 GMT
|
33
33
|
- request:
|
34
34
|
method: post
|
35
|
-
uri: https://bigml.io/andromeda/source
|
35
|
+
uri: https://bigml.io/dev/andromeda/source
|
36
36
|
body:
|
37
37
|
encoding: US-ASCII
|
38
38
|
string: ''
|
@@ -40,7 +40,7 @@ http_interactions:
|
|
40
40
|
content-type:
|
41
41
|
- multipart/form-data; boundary=-----------RubyMultipartPost
|
42
42
|
content-length:
|
43
|
-
- '
|
43
|
+
- '5149'
|
44
44
|
connection:
|
45
45
|
- close
|
46
46
|
response:
|
@@ -51,25 +51,25 @@ http_interactions:
|
|
51
51
|
content-type:
|
52
52
|
- application/json; charset=utf-8
|
53
53
|
date:
|
54
|
-
-
|
54
|
+
- Sat, 14 Jul 2012 15:21:02 GMT
|
55
55
|
location:
|
56
|
-
- http://bigml.io/andromeda/source/
|
56
|
+
- http://bigml.io/andromeda/source/50018fad035d07404e00003c
|
57
57
|
server:
|
58
58
|
- nginx/1.0.12
|
59
59
|
content-length:
|
60
|
-
- '
|
60
|
+
- '580'
|
61
61
|
connection:
|
62
62
|
- Close
|
63
63
|
body:
|
64
64
|
encoding: US-ASCII
|
65
65
|
string: ! '{"category": 0, "code": 201, "content_type": "application/octet-stream",
|
66
|
-
"created": "2012-
|
67
|
-
"file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae",
|
68
|
-
"iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
|
69
|
-
0, "private": true, "resource": "source/
|
66
|
+
"created": "2012-07-14T15:26:37.779325", "credits": 0.0, "description": "",
|
67
|
+
"dev": true, "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae",
|
68
|
+
"name": "iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
|
69
|
+
0, "private": true, "resource": "source/50018fad035d07404e00003c", "size":
|
70
70
|
4608, "source_parser": {}, "status": {"code": 1, "message": "The request has
|
71
71
|
been queued and will be processed soon"}, "tags": [], "type": 0, "updated":
|
72
|
-
"2012-
|
72
|
+
"2012-07-14T15:26:37.779349"}'
|
73
73
|
http_version: '1.1'
|
74
|
-
recorded_at:
|
74
|
+
recorded_at: Sat, 14 Jul 2012 15:27:05 GMT
|
75
75
|
recorded_with: VCR 2.2.2
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: big_ml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-
|
13
|
+
date: 2012-10-20 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: httmultiparty
|
@@ -185,7 +185,7 @@ files:
|
|
185
185
|
- spec/vcr_cassettes/BigML_Source/one_source/must_have_only_one_item.yml
|
186
186
|
- spec/vcr_cassettes/BigML_Source/one_source/must_have_the_same_file_name.yml
|
187
187
|
- spec/vcr_cassettes/BigML_Source/one_source/was_created_successfully.yml
|
188
|
-
homepage:
|
188
|
+
homepage: http://vigosan.github.com/big_ml
|
189
189
|
licenses: []
|
190
190
|
post_install_message:
|
191
191
|
rdoc_options: []
|
@@ -199,7 +199,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
199
199
|
version: '0'
|
200
200
|
segments:
|
201
201
|
- 0
|
202
|
-
hash:
|
202
|
+
hash: -1251087903395477845
|
203
203
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
204
204
|
none: false
|
205
205
|
requirements:
|
@@ -208,7 +208,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
208
208
|
version: '0'
|
209
209
|
segments:
|
210
210
|
- 0
|
211
|
-
hash:
|
211
|
+
hash: -1251087903395477845
|
212
212
|
requirements: []
|
213
213
|
rubyforge_project:
|
214
214
|
rubygems_version: 1.8.23
|