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,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:22:36 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:23:39 GMT
|
33
33
|
- request:
|
34
34
|
method: get
|
35
|
-
uri: https://bigml.io/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
|
35
|
+
uri: https://bigml.io/dev/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
|
36
36
|
body:
|
37
37
|
encoding: US-ASCII
|
38
38
|
string: ''
|
@@ -47,7 +47,7 @@ http_interactions:
|
|
47
47
|
content-type:
|
48
48
|
- application/json; charset=utf-8
|
49
49
|
date:
|
50
|
-
-
|
50
|
+
- Sat, 14 Jul 2012 15:17:37 GMT
|
51
51
|
server:
|
52
52
|
- nginx/1.0.12
|
53
53
|
transfer-encoding:
|
@@ -59,10 +59,10 @@ http_interactions:
|
|
59
59
|
string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
|
60
60
|
"total_count": 0}, "objects": []}'
|
61
61
|
http_version: '1.1'
|
62
|
-
recorded_at:
|
62
|
+
recorded_at: Sat, 14 Jul 2012 15:23:40 GMT
|
63
63
|
- request:
|
64
64
|
method: get
|
65
|
-
uri: https://bigml.io/andromeda/model?username=<USERNAME>&api_key=<API_KEY>
|
65
|
+
uri: https://bigml.io/dev/andromeda/model?username=<USERNAME>&api_key=<API_KEY>
|
66
66
|
body:
|
67
67
|
encoding: US-ASCII
|
68
68
|
string: ''
|
@@ -77,11 +77,11 @@ http_interactions:
|
|
77
77
|
content-type:
|
78
78
|
- application/json; charset=utf-8
|
79
79
|
date:
|
80
|
-
-
|
80
|
+
- Sat, 14 Jul 2012 15:22:38 GMT
|
81
81
|
server:
|
82
82
|
- nginx/1.0.12
|
83
|
-
|
84
|
-
-
|
83
|
+
transfer-encoding:
|
84
|
+
- chunked
|
85
85
|
connection:
|
86
86
|
- Close
|
87
87
|
body:
|
@@ -89,10 +89,10 @@ http_interactions:
|
|
89
89
|
string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
|
90
90
|
"total_count": 0}, "objects": []}'
|
91
91
|
http_version: '1.1'
|
92
|
-
recorded_at:
|
92
|
+
recorded_at: Sat, 14 Jul 2012 15:23:41 GMT
|
93
93
|
- request:
|
94
94
|
method: get
|
95
|
-
uri: https://bigml.io/andromeda/prediction?username=<USERNAME>&api_key=<API_KEY>
|
95
|
+
uri: https://bigml.io/dev/andromeda/prediction?username=<USERNAME>&api_key=<API_KEY>
|
96
96
|
body:
|
97
97
|
encoding: US-ASCII
|
98
98
|
string: ''
|
@@ -107,7 +107,7 @@ http_interactions:
|
|
107
107
|
content-type:
|
108
108
|
- application/json; charset=utf-8
|
109
109
|
date:
|
110
|
-
-
|
110
|
+
- Sat, 14 Jul 2012 15:17:43 GMT
|
111
111
|
server:
|
112
112
|
- nginx/1.0.12
|
113
113
|
content-length:
|
@@ -119,10 +119,10 @@ http_interactions:
|
|
119
119
|
string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
|
120
120
|
"total_count": 0}, "objects": []}'
|
121
121
|
http_version: '1.1'
|
122
|
-
recorded_at:
|
122
|
+
recorded_at: Sat, 14 Jul 2012 15:23:46 GMT
|
123
123
|
- request:
|
124
124
|
method: post
|
125
|
-
uri: https://bigml.io/andromeda/source
|
125
|
+
uri: https://bigml.io/dev/andromeda/source
|
126
126
|
body:
|
127
127
|
encoding: US-ASCII
|
128
128
|
string: ''
|
@@ -130,7 +130,7 @@ http_interactions:
|
|
130
130
|
content-type:
|
131
131
|
- multipart/form-data; boundary=-----------RubyMultipartPost
|
132
132
|
content-length:
|
133
|
-
- '
|
133
|
+
- '5149'
|
134
134
|
connection:
|
135
135
|
- close
|
136
136
|
response:
|
@@ -141,33 +141,33 @@ http_interactions:
|
|
141
141
|
content-type:
|
142
142
|
- application/json; charset=utf-8
|
143
143
|
date:
|
144
|
-
-
|
144
|
+
- Sat, 14 Jul 2012 15:22:44 GMT
|
145
145
|
location:
|
146
|
-
- http://bigml.io/andromeda/source/
|
146
|
+
- http://bigml.io/andromeda/source/50018ee8035d07404e000023
|
147
147
|
server:
|
148
148
|
- nginx/1.0.12
|
149
149
|
content-length:
|
150
|
-
- '
|
150
|
+
- '580'
|
151
151
|
connection:
|
152
152
|
- Close
|
153
153
|
body:
|
154
154
|
encoding: US-ASCII
|
155
155
|
string: ! '{"category": 0, "code": 201, "content_type": "application/octet-stream",
|
156
|
-
"created": "2012-
|
157
|
-
"file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae",
|
158
|
-
"iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
|
159
|
-
0, "private": true, "resource": "source/
|
156
|
+
"created": "2012-07-14T15:23:20.513120", "credits": 0.0, "description": "",
|
157
|
+
"dev": true, "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae",
|
158
|
+
"name": "iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
|
159
|
+
0, "private": true, "resource": "source/50018ee8035d07404e000023", "size":
|
160
160
|
4608, "source_parser": {}, "status": {"code": 1, "message": "The request has
|
161
161
|
been queued and will be processed soon"}, "tags": [], "type": 0, "updated":
|
162
|
-
"2012-
|
162
|
+
"2012-07-14T15:23:20.513142"}'
|
163
163
|
http_version: '1.1'
|
164
|
-
recorded_at:
|
164
|
+
recorded_at: Sat, 14 Jul 2012 15:23:47 GMT
|
165
165
|
- request:
|
166
166
|
method: post
|
167
|
-
uri: https://bigml.io/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
|
167
|
+
uri: https://bigml.io/dev/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
|
168
168
|
body:
|
169
169
|
encoding: UTF-8
|
170
|
-
string: ! '{"source":"source/
|
170
|
+
string: ! '{"source":"source/50018ee8035d07404e000023"}'
|
171
171
|
headers:
|
172
172
|
content-type:
|
173
173
|
- application/json
|
@@ -181,37 +181,37 @@ http_interactions:
|
|
181
181
|
content-type:
|
182
182
|
- application/json; charset=utf-8
|
183
183
|
date:
|
184
|
-
-
|
184
|
+
- Sat, 14 Jul 2012 15:17:46 GMT
|
185
185
|
location:
|
186
|
-
- http://bigml.io/andromeda/dataset/
|
186
|
+
- http://bigml.io/andromeda/dataset/50018f2a1552681d68000028
|
187
187
|
server:
|
188
188
|
- nginx/1.0.12
|
189
189
|
content-length:
|
190
|
-
- '
|
190
|
+
- '934'
|
191
191
|
connection:
|
192
192
|
- Close
|
193
193
|
body:
|
194
194
|
encoding: US-ASCII
|
195
|
-
string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-
|
196
|
-
"credits": 0.00439453125, "description": "", "
|
197
|
-
0, "name": "sepal length", "optype": "numeric"}, "000001":
|
198
|
-
1, "name": "sepal width", "optype": "numeric"}, "000002":
|
199
|
-
2, "name": "petal length", "optype": "numeric"}, "000003":
|
200
|
-
3, "name": "petal width", "optype": "numeric"}, "000004":
|
201
|
-
4, "name": "species", "optype": "categorical"}}, "locale":
|
202
|
-
"iris'' dataset", "number_of_models": 0, "number_of_predictions":
|
203
|
-
true, "resource": "dataset/
|
204
|
-
"source": "source/
|
205
|
-
{"code": 1, "message": "The dataset is being processed and
|
206
|
-
soon"}, "tags": [], "updated": "2012-
|
195
|
+
string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-07-14T15:24:26.575489",
|
196
|
+
"credits": 0.00439453125, "description": "", "dev": true, "fields": {"000000":
|
197
|
+
{"column_number": 0, "name": "sepal length", "optype": "numeric"}, "000001":
|
198
|
+
{"column_number": 1, "name": "sepal width", "optype": "numeric"}, "000002":
|
199
|
+
{"column_number": 2, "name": "petal length", "optype": "numeric"}, "000003":
|
200
|
+
{"column_number": 3, "name": "petal width", "optype": "numeric"}, "000004":
|
201
|
+
{"column_number": 4, "name": "species", "optype": "categorical"}}, "locale":
|
202
|
+
"en_US", "name": "iris'' dataset", "number_of_models": 0, "number_of_predictions":
|
203
|
+
0, "private": true, "resource": "dataset/50018f2a1552681d68000028", "rows":
|
204
|
+
0, "size": 4608, "source": "source/50018ee8035d07404e000023", "source_status":
|
205
|
+
true, "status": {"code": 1, "message": "The dataset is being processed and
|
206
|
+
will be created soon"}, "tags": [], "updated": "2012-07-14T15:24:26.575521"}'
|
207
207
|
http_version: '1.1'
|
208
|
-
recorded_at:
|
208
|
+
recorded_at: Sat, 14 Jul 2012 15:23:49 GMT
|
209
209
|
- request:
|
210
210
|
method: post
|
211
|
-
uri: https://bigml.io/andromeda/model?username=<USERNAME>&api_key=<API_KEY>
|
211
|
+
uri: https://bigml.io/dev/andromeda/model?username=<USERNAME>&api_key=<API_KEY>
|
212
212
|
body:
|
213
213
|
encoding: UTF-8
|
214
|
-
string: ! '{"dataset":"dataset/
|
214
|
+
string: ! '{"dataset":"dataset/50018f2a1552681d68000028"}'
|
215
215
|
headers:
|
216
216
|
content-type:
|
217
217
|
- application/json
|
@@ -225,33 +225,34 @@ http_interactions:
|
|
225
225
|
content-type:
|
226
226
|
- application/json; charset=utf-8
|
227
227
|
date:
|
228
|
-
-
|
228
|
+
- Sat, 14 Jul 2012 15:22:48 GMT
|
229
229
|
location:
|
230
|
-
- http://bigml.io/andromeda/model/
|
230
|
+
- http://bigml.io/andromeda/model/50018f2c1552681d6800002a
|
231
231
|
server:
|
232
232
|
- nginx/1.0.12
|
233
233
|
content-length:
|
234
|
-
- '
|
234
|
+
- '704'
|
235
235
|
connection:
|
236
236
|
- Close
|
237
237
|
body:
|
238
238
|
encoding: US-ASCII
|
239
|
-
string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-
|
240
|
-
"credits": 0.017578125, "dataset": "dataset/
|
241
|
-
true, "description": "", "holdout": 0.0, "input_fields": [],
|
242
|
-
"max_columns": 5, "max_rows": 150, "name": "iris'' dataset
|
243
|
-
|
244
|
-
"
|
245
|
-
"
|
246
|
-
|
239
|
+
string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-07-14T15:24:28.020752",
|
240
|
+
"credits": 0.017578125, "dataset": "dataset/50018f2a1552681d68000028", "dataset_status":
|
241
|
+
true, "description": "", "dev": true, "holdout": 0.0, "input_fields": [],
|
242
|
+
"locale": "en_US", "max_columns": 5, "max_rows": 150, "name": "iris'' dataset
|
243
|
+
model", "number_of_predictions": 0, "objective_fields": [], "private": true,
|
244
|
+
"range": [1, 150], "resource": "model/50018f2c1552681d6800002a", "rows": 150,
|
245
|
+
"size": 4608, "source": "source/50018ee8035d07404e000023", "source_status":
|
246
|
+
true, "status": {"code": 1, "message": "The model is being processed and will
|
247
|
+
be created soon"}, "tags": [], "updated": "2012-07-14T15:24:28.020779"}'
|
247
248
|
http_version: '1.1'
|
248
|
-
recorded_at:
|
249
|
+
recorded_at: Sat, 14 Jul 2012 15:23:51 GMT
|
249
250
|
- request:
|
250
251
|
method: post
|
251
|
-
uri: https://bigml.io/andromeda/prediction?username=<USERNAME>&api_key=<API_KEY>
|
252
|
+
uri: https://bigml.io/dev/andromeda/prediction?username=<USERNAME>&api_key=<API_KEY>
|
252
253
|
body:
|
253
254
|
encoding: UTF-8
|
254
|
-
string: ! '{"model":"model/
|
255
|
+
string: ! '{"model":"model/50018f2c1552681d6800002a","input_data":{"000001":3}}'
|
255
256
|
headers:
|
256
257
|
content-type:
|
257
258
|
- application/json
|
@@ -265,33 +266,33 @@ http_interactions:
|
|
265
266
|
content-type:
|
266
267
|
- application/json; charset=utf-8
|
267
268
|
date:
|
268
|
-
-
|
269
|
+
- Sat, 14 Jul 2012 15:17:49 GMT
|
269
270
|
location:
|
270
|
-
- http://bigml.io/andromeda/prediction/
|
271
|
+
- http://bigml.io/andromeda/prediction/50018eed035d07404e000025
|
271
272
|
server:
|
272
273
|
- nginx/1.0.12
|
273
274
|
content-length:
|
274
|
-
- '
|
275
|
+
- '1235'
|
275
276
|
connection:
|
276
277
|
- Close
|
277
278
|
body:
|
278
279
|
encoding: US-ASCII
|
279
|
-
string: ! '{"category": 0, "code": 201, "created": "2012-
|
280
|
-
"credits": 0.01, "dataset": "dataset/
|
281
|
-
true, "description": "", "fields": {"000001": {"column_number":
|
282
|
-
"double", "name": "sepal width", "optype": "numeric", "preferred":
|
283
|
-
"000002": {"column_number": 2, "datatype": "double", "name": "petal
|
284
|
-
"optype": "numeric", "preferred": true}, "000004": {"column_number":
|
285
|
-
"string", "name": "species", "optype": "categorical", "preferred":
|
286
|
-
"input_data": {"000001": 3}, "locale": "en_US", "model": "model/
|
280
|
+
string: ! '{"category": 0, "code": 201, "created": "2012-07-14T15:23:25.702485",
|
281
|
+
"credits": 0.01, "dataset": "dataset/50018f2a1552681d68000028", "dataset_status":
|
282
|
+
true, "description": "", "dev": true, "fields": {"000001": {"column_number":
|
283
|
+
1, "datatype": "double", "name": "sepal width", "optype": "numeric", "preferred":
|
284
|
+
true}, "000002": {"column_number": 2, "datatype": "double", "name": "petal
|
285
|
+
length", "optype": "numeric", "preferred": true}, "000004": {"column_number":
|
286
|
+
4, "datatype": "string", "name": "species", "optype": "categorical", "preferred":
|
287
|
+
true}}, "input_data": {"000001": 3}, "locale": "en_US", "model": "model/50018f2c1552681d6800002a",
|
287
288
|
"model_status": true, "name": "Prediction for species", "objective_fields":
|
288
289
|
["000004"], "prediction": {"000004": "Iris-virginica"}, "prediction_path":
|
289
290
|
{"bad_fields": [], "next_predicates": [{"field": "000002", "operator": ">",
|
290
291
|
"value": 2.45}, {"field": "000002", "operator": "<=", "value": 2.45}], "path":
|
291
|
-
[], "unknown_fields": []}, "private": true, "resource": "prediction/
|
292
|
-
"source": "source/
|
292
|
+
[], "unknown_fields": []}, "private": true, "resource": "prediction/50018eed035d07404e000025",
|
293
|
+
"source": "source/50018ee8035d07404e000023", "source_status": true, "status":
|
293
294
|
{"code": 5, "message": "The prediction has been created"}, "tags": [], "updated":
|
294
|
-
"2012-
|
295
|
+
"2012-07-14T15:23:25.702505"}'
|
295
296
|
http_version: '1.1'
|
296
|
-
recorded_at:
|
297
|
+
recorded_at: Sat, 14 Jul 2012 15:23:52 GMT
|
297
298
|
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:20:56 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
|
-
|
40
|
-
|
41
|
-
|
42
|
-
"
|
43
|
-
"
|
44
|
-
|
31
|
+
"application/octet-stream", "created": "2012-07-14T15:27:28.289000", "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
|
+
1, "number_of_models": 1, "number_of_predictions": 0, "private": true, "resource":
|
40
|
+
"source/50018fe01552681d6800003d", "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": 89, "message": "The source has been created"}, "tags":
|
45
|
+
[], "type": 0, "updated": "2012-07-14T15:27:34.901000"}]}'
|
45
46
|
http_version: '1.1'
|
46
|
-
recorded_at:
|
47
|
+
recorded_at: Sat, 14 Jul 2012 15:26:59 GMT
|
47
48
|
- request:
|
48
49
|
method: delete
|
49
|
-
uri: https://bigml.io/andromeda/source/
|
50
|
+
uri: https://bigml.io/dev/andromeda/source/50018fe01552681d6800003d?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:25:58 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:01 GMT
|
76
77
|
- request:
|
77
78
|
method: get
|
78
|
-
uri: https://bigml.io/andromeda/source?username=<USERNAME>&api_key=<API_KEY>
|
79
|
+
uri: https://bigml.io/dev/andromeda/source?username=<USERNAME>&api_key=<API_KEY>
|
79
80
|
body:
|
80
81
|
encoding: US-ASCII
|
81
82
|
string: ''
|
@@ -90,7 +91,7 @@ http_interactions:
|
|
90
91
|
content-type:
|
91
92
|
- application/json; charset=utf-8
|
92
93
|
date:
|
93
|
-
-
|
94
|
+
- Sat, 14 Jul 2012 15:20:59 GMT
|
94
95
|
server:
|
95
96
|
- nginx/1.0.12
|
96
97
|
content-length:
|
@@ -102,5 +103,5 @@ http_interactions:
|
|
102
103
|
string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
|
103
104
|
"total_count": 0}, "objects": []}'
|
104
105
|
http_version: '1.1'
|
105
|
-
recorded_at:
|
106
|
+
recorded_at: Sat, 14 Jul 2012 15:27:02 GMT
|
106
107
|
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:27:04 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:28:07 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,33 +51,33 @@ http_interactions:
|
|
51
51
|
content-type:
|
52
52
|
- application/json; charset=utf-8
|
53
53
|
date:
|
54
|
-
-
|
54
|
+
- Sat, 14 Jul 2012 15:22:05 GMT
|
55
55
|
location:
|
56
|
-
- http://bigml.io/andromeda/source/
|
56
|
+
- http://bigml.io/andromeda/source/50018fed035d07569b00000b
|
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:27:41.327136", "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/50018fed035d07569b00000b", "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:27:41.327162"}'
|
73
73
|
http_version: '1.1'
|
74
|
-
recorded_at:
|
74
|
+
recorded_at: Sat, 14 Jul 2012 15:28:08 GMT
|
75
75
|
- request:
|
76
76
|
method: post
|
77
|
-
uri: https://bigml.io/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
|
77
|
+
uri: https://bigml.io/dev/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
|
78
78
|
body:
|
79
79
|
encoding: UTF-8
|
80
|
-
string: ! '{"source":"source/
|
80
|
+
string: ! '{"source":"source/50018fed035d07569b00000b"}'
|
81
81
|
headers:
|
82
82
|
content-type:
|
83
83
|
- application/json
|
@@ -91,29 +91,29 @@ http_interactions:
|
|
91
91
|
content-type:
|
92
92
|
- application/json; charset=utf-8
|
93
93
|
date:
|
94
|
-
-
|
94
|
+
- Sat, 14 Jul 2012 15:27:07 GMT
|
95
95
|
location:
|
96
|
-
- http://bigml.io/andromeda/dataset/
|
96
|
+
- http://bigml.io/andromeda/dataset/50018fef035d074059000049
|
97
97
|
server:
|
98
98
|
- nginx/1.0.12
|
99
99
|
content-length:
|
100
|
-
- '
|
100
|
+
- '934'
|
101
101
|
connection:
|
102
102
|
- Close
|
103
103
|
body:
|
104
104
|
encoding: US-ASCII
|
105
|
-
string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-
|
106
|
-
"credits": 0.00439453125, "description": "", "
|
107
|
-
0, "name": "sepal length", "optype": "numeric"}, "000001":
|
108
|
-
1, "name": "sepal width", "optype": "numeric"}, "000002":
|
109
|
-
2, "name": "petal length", "optype": "numeric"}, "000003":
|
110
|
-
3, "name": "petal width", "optype": "numeric"}, "000004":
|
111
|
-
4, "name": "species", "optype": "categorical"}}, "locale":
|
112
|
-
"iris'' dataset", "number_of_models": 0, "number_of_predictions":
|
113
|
-
true, "resource": "dataset/
|
114
|
-
"source": "source/
|
115
|
-
{"code": 1, "message": "The dataset is being processed and
|
116
|
-
soon"}, "tags": [], "updated": "2012-
|
105
|
+
string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-07-14T15:27:43.147335",
|
106
|
+
"credits": 0.00439453125, "description": "", "dev": true, "fields": {"000000":
|
107
|
+
{"column_number": 0, "name": "sepal length", "optype": "numeric"}, "000001":
|
108
|
+
{"column_number": 1, "name": "sepal width", "optype": "numeric"}, "000002":
|
109
|
+
{"column_number": 2, "name": "petal length", "optype": "numeric"}, "000003":
|
110
|
+
{"column_number": 3, "name": "petal width", "optype": "numeric"}, "000004":
|
111
|
+
{"column_number": 4, "name": "species", "optype": "categorical"}}, "locale":
|
112
|
+
"en_US", "name": "iris'' dataset", "number_of_models": 0, "number_of_predictions":
|
113
|
+
0, "private": true, "resource": "dataset/50018fef035d074059000049", "rows":
|
114
|
+
0, "size": 4608, "source": "source/50018fed035d07569b00000b", "source_status":
|
115
|
+
true, "status": {"code": 1, "message": "The dataset is being processed and
|
116
|
+
will be created soon"}, "tags": [], "updated": "2012-07-14T15:27:43.147364"}'
|
117
117
|
http_version: '1.1'
|
118
|
-
recorded_at:
|
118
|
+
recorded_at: Sat, 14 Jul 2012 15:28:10 GMT
|
119
119
|
recorded_with: VCR 2.2.2
|