big_ml 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +7 -0
  2. data/.rspec +1 -1
  3. data/.rvmrc.example +1 -1
  4. data/.travis.yml +1 -1
  5. data/README.md +6 -5
  6. data/lib/big_ml.rb +5 -0
  7. data/lib/big_ml/base.rb +31 -0
  8. data/lib/big_ml/batch_prediction.rb +39 -0
  9. data/lib/big_ml/ensemble.rb +32 -0
  10. data/lib/big_ml/evaluation.rb +31 -0
  11. data/lib/big_ml/prediction.rb +2 -2
  12. data/lib/big_ml/util/client.rb +1 -0
  13. data/lib/big_ml/util/config.rb +4 -1
  14. data/lib/big_ml/util/request.rb +9 -4
  15. data/lib/big_ml/version.rb +1 -1
  16. data/spec/integration/dataset_spec.rb +21 -23
  17. data/spec/integration/ensemble_spec.rb +73 -0
  18. data/spec/integration/evaluation_spec.rb +64 -0
  19. data/spec/integration/model_spec.rb +23 -25
  20. data/spec/integration/prediction_spec.rb +20 -22
  21. data/spec/integration/source_spec.rb +22 -24
  22. data/spec/spec_helper.rb +4 -3
  23. data/spec/units/client_spec.rb +58 -26
  24. data/spec/units/source_spec.rb +3 -3
  25. data/spec/vcr_cassettes/BigML_Dataset/one_dataset/can_be_converted_in_a_model.yml +180 -99
  26. data/spec/vcr_cassettes/BigML_Dataset/one_dataset/must_be_able_to_be_find_using_the_reference.yml +144 -163
  27. data/spec/vcr_cassettes/BigML_Ensemble/no_ensemble/_all/must_be_empty.yml +223 -0
  28. data/spec/vcr_cassettes/BigML_Ensemble/one_ensemble/can_be_converted_in_a_prediction.yml +1074 -0
  29. data/spec/vcr_cassettes/BigML_Ensemble/one_ensemble/must_be_able_to_be_deleted_using_the_destroy_method.yml +1082 -0
  30. data/spec/vcr_cassettes/BigML_Ensemble/one_ensemble/must_be_able_to_be_find_using_the_reference.yml +734 -0
  31. data/spec/vcr_cassettes/BigML_Ensemble/one_ensemble/must_be_able_to_remove_the_ensemble.yml +1215 -0
  32. data/spec/vcr_cassettes/BigML_Ensemble/one_ensemble/must_be_able_to_set_number_of_models.yml +853 -0
  33. data/spec/vcr_cassettes/BigML_Ensemble/one_ensemble/must_be_able_to_update_the_name.yml +1226 -0
  34. data/spec/vcr_cassettes/BigML_Ensemble/one_ensemble/must_be_able_to_update_the_name_from_the_instance.yml +1226 -0
  35. data/spec/vcr_cassettes/BigML_Ensemble/one_ensemble/must_have_only_one_item.yml +686 -0
  36. data/spec/vcr_cassettes/BigML_Ensemble/one_ensemble/must_have_the_same_size.yml +732 -0
  37. data/spec/vcr_cassettes/BigML_Ensemble/one_ensemble/was_created_successfully.yml +495 -0
  38. data/spec/vcr_cassettes/BigML_Evaluation/no_evaluation/_all/must_be_empty.yml +600 -0
  39. data/spec/vcr_cassettes/BigML_Evaluation/one_evaluation/must_be_able_to_be_deleted_using_the_destroy_method.yml +1127 -0
  40. data/spec/vcr_cassettes/BigML_Evaluation/one_evaluation/must_be_able_to_be_find_using_the_reference.yml +1151 -0
  41. data/spec/vcr_cassettes/BigML_Evaluation/one_evaluation/must_be_able_to_remove_the_evaluation.yml +1203 -0
  42. data/spec/vcr_cassettes/BigML_Evaluation/one_evaluation/must_be_able_to_update_the_name.yml +1374 -0
  43. data/spec/vcr_cassettes/BigML_Evaluation/one_evaluation/must_be_able_to_update_the_name_from_the_instance.yml +1373 -0
  44. data/spec/vcr_cassettes/BigML_Evaluation/one_evaluation/must_have_only_one_item.yml +1103 -0
  45. data/spec/vcr_cassettes/BigML_Evaluation/one_evaluation/must_have_the_same_name.yml +1108 -0
  46. data/spec/vcr_cassettes/BigML_Evaluation/one_evaluation/was_created_successfully.yml +922 -0
  47. data/spec/vcr_cassettes/BigML_Model/one_model/must_be_able_to_be_find_using_the_reference.yml +269 -282
  48. data/spec/vcr_cassettes/BigML_Prediction/one_prediction/must_be_able_to_be_find_using_the_reference.yml +360 -312
  49. data/spec/vcr_cassettes/BigML_Source/one_source/must_be_able_to_be_find_using_the_reference.yml +75 -72
  50. data/spec/vcr_cassettes/BigML_Util_Client/response_handling/debug_mode/raises_on_bad_request.yml +38 -0
  51. data/spec/vcr_cassettes/BigML_Util_Client/response_handling/normal_mode/does_not_raise_on_bad_request.yml +38 -0
  52. metadata +74 -43
@@ -0,0 +1,1215 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://bigml.io/dev/andromeda/source?username=<USERNAME>&api_key=<API_KEY>
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers: {}
10
+ response:
11
+ status:
12
+ code: 200
13
+ message: OK
14
+ headers:
15
+ access-control-allow-methods:
16
+ - POST,GET,PUT,DELETE
17
+ access-control-allow-origin:
18
+ - "*"
19
+ content-type:
20
+ - application/json
21
+ date:
22
+ - Wed, 25 Jun 2014 15:02:53 GMT
23
+ server:
24
+ - nginx/1.0.12
25
+ vary:
26
+ - Accept-Encoding
27
+ content-length:
28
+ - '1002'
29
+ connection:
30
+ - Close
31
+ body:
32
+ encoding: UTF-8
33
+ string: '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
34
+ "total_count": 1}, "objects": [{"category": 0, "code": 200, "content_type":
35
+ "application/octet-stream", "created": "2014-06-25T15:02:40.997000", "credits":
36
+ 0.0, "description": "", "dev": true, "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae",
37
+ "name": "iris.csv", "number_of_datasets": 1, "number_of_ensembles": 1, "number_of_models":
38
+ 0, "number_of_predictions": 0, "private": true, "resource": "source/53aae491ffa0440855001a5f",
39
+ "shared": false, "size": 4608, "source_parser": {"header": true, "locale":
40
+ "en_US", "missing_tokens": ["", "NaN", "NULL", "N/A", "null", "-", "#REF!",
41
+ "#VALUE!", "?", "#NULL!", "#NUM!", "#DIV/0", "n/a", "#NAME?", "NIL", "nil",
42
+ "na", "#N/A", "NA"], "quote": "\"", "separator": ","}, "status": {"code":
43
+ 5, "elapsed": 354, "message": "The source has been created"}, "subscription":
44
+ false, "tags": [], "term_analysis": {"enabled": true}, "type": 0, "updated":
45
+ "2014-06-25T15:02:44.336000"}]}'
46
+ http_version: '1.1'
47
+ recorded_at: Wed, 25 Jun 2014 15:02:53 GMT
48
+ - request:
49
+ method: delete
50
+ uri: https://bigml.io/dev/andromeda/source/53aae491ffa0440855001a5f?username=<USERNAME>&api_key=<API_KEY>
51
+ body:
52
+ encoding: US-ASCII
53
+ string: ''
54
+ headers: {}
55
+ response:
56
+ status:
57
+ code: 204
58
+ message: NO CONTENT
59
+ headers:
60
+ access-control-allow-methods:
61
+ - POST,GET,PUT,DELETE
62
+ access-control-allow-origin:
63
+ - "*"
64
+ content-length:
65
+ - '0'
66
+ content-type:
67
+ - text/html; charset=utf-8
68
+ date:
69
+ - Wed, 25 Jun 2014 15:02:53 GMT
70
+ server:
71
+ - nginx/1.0.12
72
+ connection:
73
+ - Close
74
+ body:
75
+ encoding: US-ASCII
76
+ string: ''
77
+ http_version: '1.1'
78
+ recorded_at: Wed, 25 Jun 2014 15:02:54 GMT
79
+ - request:
80
+ method: get
81
+ uri: https://bigml.io/dev/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
82
+ body:
83
+ encoding: US-ASCII
84
+ string: ''
85
+ headers: {}
86
+ response:
87
+ status:
88
+ code: 200
89
+ message: OK
90
+ headers:
91
+ access-control-allow-methods:
92
+ - POST,GET,PUT,DELETE
93
+ access-control-allow-origin:
94
+ - "*"
95
+ content-type:
96
+ - application/json
97
+ date:
98
+ - Wed, 25 Jun 2014 15:02:54 GMT
99
+ server:
100
+ - nginx/1.0.12
101
+ vary:
102
+ - Accept-Encoding
103
+ transfer-encoding:
104
+ - chunked
105
+ connection:
106
+ - Close
107
+ body:
108
+ encoding: UTF-8
109
+ string: '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
110
+ "total_count": 1}, "objects": [{"all_fields": true, "category": 0, "cluster":
111
+ null, "cluster_status": true, "code": 200, "columns": 5, "created": "2014-06-25T15:02:42.609000",
112
+ "credits": 0.00439453125, "description": "", "dev": true, "field_types": {"categorical":
113
+ 1, "datetime": 0, "numeric": 4, "preferred": 5, "text": 0, "total": 5}, "locale":
114
+ "en_US", "missing_numeric_rows": 0, "name": "iris'' dataset", "number_of_batchcentroids":
115
+ 0, "number_of_batchpredictions": 0, "number_of_clusters": 0, "number_of_ensembles":
116
+ 1, "number_of_evaluations": 0, "number_of_models": 0, "number_of_predictions":
117
+ 0, "objective_field": {"column_number": 4, "datatype": "string", "id": "000004",
118
+ "name": "species", "optype": "categorical", "order": 4, "term_analysis": {"enabled":
119
+ true}}, "price": 0.0, "private": true, "ranges": null, "replacements": null,
120
+ "resource": "dataset/53aae492ffa0440855001a65", "rows": 150, "sample_rates":
121
+ null, "seeds": null, "shared": false, "size": 4608, "source": "source/53aae491ffa0440855001a5f",
122
+ "source_status": false, "status": {"bytes": 4608, "code": 5, "elapsed": 385,
123
+ "field_errors": [], "message": "The dataset has been created", "row_format_errors":
124
+ [], "serialized_rows": 150}, "subscription": false, "tags": [], "term_limit":
125
+ 32, "updated": "2014-06-25T15:02:44.350000"}]}'
126
+ http_version: '1.1'
127
+ recorded_at: Wed, 25 Jun 2014 15:02:54 GMT
128
+ - request:
129
+ method: delete
130
+ uri: https://bigml.io/dev/andromeda/dataset/53aae492ffa0440855001a65?username=<USERNAME>&api_key=<API_KEY>
131
+ body:
132
+ encoding: US-ASCII
133
+ string: ''
134
+ headers: {}
135
+ response:
136
+ status:
137
+ code: 204
138
+ message: NO CONTENT
139
+ headers:
140
+ access-control-allow-methods:
141
+ - POST,GET,PUT,DELETE
142
+ access-control-allow-origin:
143
+ - "*"
144
+ content-length:
145
+ - '0'
146
+ content-type:
147
+ - text/html; charset=utf-8
148
+ date:
149
+ - Wed, 25 Jun 2014 15:02:54 GMT
150
+ server:
151
+ - nginx/1.0.12
152
+ connection:
153
+ - Close
154
+ body:
155
+ encoding: US-ASCII
156
+ string: ''
157
+ http_version: '1.1'
158
+ recorded_at: Wed, 25 Jun 2014 15:02:54 GMT
159
+ - request:
160
+ method: get
161
+ uri: https://bigml.io/dev/andromeda/ensemble?username=<USERNAME>&api_key=<API_KEY>
162
+ body:
163
+ encoding: US-ASCII
164
+ string: ''
165
+ headers: {}
166
+ response:
167
+ status:
168
+ code: 200
169
+ message: OK
170
+ headers:
171
+ access-control-allow-methods:
172
+ - POST,GET,PUT,DELETE
173
+ access-control-allow-origin:
174
+ - "*"
175
+ content-type:
176
+ - application/json
177
+ date:
178
+ - Wed, 25 Jun 2014 15:02:54 GMT
179
+ server:
180
+ - nginx/1.0.12
181
+ vary:
182
+ - Accept-Encoding
183
+ transfer-encoding:
184
+ - chunked
185
+ connection:
186
+ - Close
187
+ body:
188
+ encoding: UTF-8
189
+ string: '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
190
+ "total_count": 1}, "objects": [{"balance_objective": false, "category": 0,
191
+ "code": 200, "columns": 5, "created": "2014-06-25T15:02:44.324000", "credits":
192
+ 0.03515625, "credits_per_prediction": 0.0, "dataset": "dataset/53aae492ffa0440855001a65",
193
+ "dataset_field_types": {"categorical": 1, "datetime": 0, "numeric": 4, "preferred":
194
+ 5, "text": 0, "total": 5}, "dataset_status": false, "datasets": [], "description":
195
+ "", "dev": true, "error_models": 0, "fields_maps": null, "finished_models":
196
+ 2, "locale": "en-US", "max_columns": 5, "max_rows": 150, "name": "foo name",
197
+ "node_threshold": 512, "number_of_batchpredictions": 0, "number_of_evaluations":
198
+ 0, "number_of_models": 2, "number_of_predictions": 0, "number_of_public_predictions":
199
+ 0, "objective_field": "000004", "objective_field_details": {"column_number":
200
+ 4, "datatype": "string", "name": "species", "optype": "categorical", "preferred":
201
+ true, "term_analysis": {"enabled": true}}, "ordering": 0, "out_of_bag": false,
202
+ "price": 0.0, "private": true, "randomize": false, "range": [1, 150], "replacement":
203
+ true, "resource": "ensemble/53aae494ffa0440857000a28", "rows": 150, "sample_rate":
204
+ 1.0, "shared": false, "size": 9216, "source": "source/53aae491ffa0440855001a5f",
205
+ "source_status": false, "stat_pruning": false, "status": {"code": 5, "elapsed":
206
+ 8943.999999999998, "message": "The ensemble has been created", "progress":
207
+ 1.0}, "subscription": false, "tags": ["species"], "tlp": 1, "updated": "2014-06-25T15:02:53.268000"}]}'
208
+ http_version: '1.1'
209
+ recorded_at: Wed, 25 Jun 2014 15:02:54 GMT
210
+ - request:
211
+ method: delete
212
+ uri: https://bigml.io/dev/andromeda/ensemble/53aae494ffa0440857000a28?username=<USERNAME>&api_key=<API_KEY>
213
+ body:
214
+ encoding: US-ASCII
215
+ string: ''
216
+ headers: {}
217
+ response:
218
+ status:
219
+ code: 204
220
+ message: NO CONTENT
221
+ headers:
222
+ access-control-allow-methods:
223
+ - POST,GET,PUT,DELETE
224
+ access-control-allow-origin:
225
+ - "*"
226
+ content-length:
227
+ - '0'
228
+ content-type:
229
+ - text/html; charset=utf-8
230
+ date:
231
+ - Wed, 25 Jun 2014 15:02:54 GMT
232
+ server:
233
+ - nginx/1.0.12
234
+ connection:
235
+ - Close
236
+ body:
237
+ encoding: US-ASCII
238
+ string: ''
239
+ http_version: '1.1'
240
+ recorded_at: Wed, 25 Jun 2014 15:02:54 GMT
241
+ - request:
242
+ method: post
243
+ uri: https://bigml.io/dev/andromeda/source
244
+ body:
245
+ encoding: US-ASCII
246
+ string: ''
247
+ headers:
248
+ content-type:
249
+ - multipart/form-data; boundary=-----------RubyMultipartPost
250
+ content-length:
251
+ - '5150'
252
+ response:
253
+ status:
254
+ code: 201
255
+ message: CREATED
256
+ headers:
257
+ access-control-allow-methods:
258
+ - POST,GET,PUT,DELETE
259
+ access-control-allow-origin:
260
+ - "*"
261
+ content-type:
262
+ - application/json
263
+ date:
264
+ - Wed, 25 Jun 2014 15:02:55 GMT
265
+ location:
266
+ - http://bigml.io/andromeda/source/53aae49effa0440857000a30
267
+ server:
268
+ - nginx/1.0.12
269
+ transfer-encoding:
270
+ - chunked
271
+ connection:
272
+ - Close
273
+ body:
274
+ encoding: UTF-8
275
+ string: '{"category": 0, "code": 201, "content_type": "application/octet-stream",
276
+ "created": "2014-06-25T15:02:54.931584", "credits": 0.0, "description": "",
277
+ "dev": true, "fields_meta": {"count": 0, "limit": 1000, "offset": 0, "total":
278
+ 0}, "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae", "name":
279
+ "iris.csv", "number_of_datasets": 0, "number_of_ensembles": 0, "number_of_models":
280
+ 0, "number_of_predictions": 0, "private": true, "resource": "source/53aae49effa0440857000a30",
281
+ "shared": false, "size": 4608, "source_parser": {}, "status": {"code": 1,
282
+ "message": "The request has been queued and will be processed soon"}, "subscription":
283
+ false, "tags": [], "term_analysis": {}, "type": 0, "updated": "2014-06-25T15:02:54.931622"}'
284
+ http_version: '1.1'
285
+ recorded_at: Wed, 25 Jun 2014 15:02:55 GMT
286
+ - request:
287
+ method: get
288
+ uri: https://bigml.io/dev/andromeda/source/53aae49effa0440857000a30?username=<USERNAME>&api_key=<API_KEY>
289
+ body:
290
+ encoding: US-ASCII
291
+ string: ''
292
+ headers: {}
293
+ response:
294
+ status:
295
+ code: 200
296
+ message: OK
297
+ headers:
298
+ access-control-allow-methods:
299
+ - POST,GET,PUT,DELETE
300
+ access-control-allow-origin:
301
+ - "*"
302
+ content-type:
303
+ - application/json
304
+ date:
305
+ - Wed, 25 Jun 2014 15:02:55 GMT
306
+ server:
307
+ - nginx/1.0.12
308
+ vary:
309
+ - Accept-Encoding
310
+ content-length:
311
+ - '761'
312
+ connection:
313
+ - Close
314
+ body:
315
+ encoding: UTF-8
316
+ string: '{"category": 0, "code": 200, "content_type": "application/octet-stream",
317
+ "created": "2014-06-25T15:02:54.931000", "credits": 0.0, "description": "",
318
+ "dev": true, "fields_meta": {"count": 0, "limit": 1000, "offset": 0, "query_total":
319
+ 0, "total": 0}, "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae",
320
+ "name": "iris.csv", "number_of_datasets": 0, "number_of_ensembles": 0, "number_of_models":
321
+ 0, "number_of_predictions": 0, "private": true, "resource": "source/53aae49effa0440857000a30",
322
+ "shared": false, "size": 4608, "source_parser": {"missing_tokens": []}, "status":
323
+ {"code": 3, "elapsed": 1, "message": "The source is being created"}, "subscription":
324
+ false, "tags": [], "term_analysis": {}, "type": 0, "updated": "2014-06-25T15:02:55.117000"}'
325
+ http_version: '1.1'
326
+ recorded_at: Wed, 25 Jun 2014 15:02:55 GMT
327
+ - request:
328
+ method: get
329
+ uri: https://bigml.io/dev/andromeda/source/53aae49effa0440857000a30?username=<USERNAME>&api_key=<API_KEY>
330
+ body:
331
+ encoding: US-ASCII
332
+ string: ''
333
+ headers: {}
334
+ response:
335
+ status:
336
+ code: 200
337
+ message: OK
338
+ headers:
339
+ access-control-allow-methods:
340
+ - POST,GET,PUT,DELETE
341
+ access-control-allow-origin:
342
+ - "*"
343
+ content-type:
344
+ - application/json
345
+ date:
346
+ - Wed, 25 Jun 2014 15:02:56 GMT
347
+ server:
348
+ - nginx/1.0.12
349
+ vary:
350
+ - Accept-Encoding
351
+ content-length:
352
+ - '1478'
353
+ connection:
354
+ - Close
355
+ body:
356
+ encoding: UTF-8
357
+ string: '{"category": 0, "code": 200, "content_type": "application/octet-stream",
358
+ "created": "2014-06-25T15:02:54.931000", "credits": 0.0, "description": "",
359
+ "dev": true, "fields": {"000000": {"column_number": 0, "name": "sepal length",
360
+ "optype": "numeric", "order": 0}, "000001": {"column_number": 1, "name": "sepal
361
+ width", "optype": "numeric", "order": 1}, "000002": {"column_number": 2, "name":
362
+ "petal length", "optype": "numeric", "order": 2}, "000003": {"column_number":
363
+ 3, "name": "petal width", "optype": "numeric", "order": 3}, "000004": {"column_number":
364
+ 4, "name": "species", "optype": "categorical", "order": 4, "term_analysis":
365
+ {"enabled": true}}}, "fields_meta": {"count": 5, "limit": 1000, "offset":
366
+ 0, "query_total": 5, "total": 5}, "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae",
367
+ "name": "iris.csv", "number_of_datasets": 0, "number_of_ensembles": 0, "number_of_models":
368
+ 0, "number_of_predictions": 0, "private": true, "resource": "source/53aae49effa0440857000a30",
369
+ "shared": false, "size": 4608, "source_parser": {"header": true, "locale":
370
+ "en_US", "missing_tokens": ["", "NaN", "NULL", "N/A", "null", "-", "#REF!",
371
+ "#VALUE!", "?", "#NULL!", "#NUM!", "#DIV/0", "n/a", "#NAME?", "NIL", "nil",
372
+ "na", "#N/A", "NA"], "quote": "\"", "separator": ","}, "status": {"code":
373
+ 5, "elapsed": 377, "message": "The source has been created"}, "subscription":
374
+ false, "tags": [], "term_analysis": {"enabled": true}, "type": 0, "updated":
375
+ "2014-06-25T15:02:55.491000"}'
376
+ http_version: '1.1'
377
+ recorded_at: Wed, 25 Jun 2014 15:02:56 GMT
378
+ - request:
379
+ method: post
380
+ uri: https://bigml.io/dev/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
381
+ body:
382
+ encoding: UTF-8
383
+ string: '{"source":"source/53aae49effa0440857000a30"}'
384
+ headers:
385
+ content-type:
386
+ - application/json
387
+ response:
388
+ status:
389
+ code: 201
390
+ message: CREATED
391
+ headers:
392
+ access-control-allow-methods:
393
+ - POST,GET,PUT,DELETE
394
+ access-control-allow-origin:
395
+ - "*"
396
+ content-type:
397
+ - application/json
398
+ date:
399
+ - Wed, 25 Jun 2014 15:02:56 GMT
400
+ location:
401
+ - http://bigml.io/andromeda/dataset/53aae4a0ffa044085d000924
402
+ server:
403
+ - nginx/1.0.12
404
+ transfer-encoding:
405
+ - chunked
406
+ connection:
407
+ - Close
408
+ body:
409
+ encoding: UTF-8
410
+ string: '{"all_fields": true, "category": 0, "cluster": null, "cluster_status":
411
+ true, "code": 201, "columns": 0, "created": "2014-06-25T15:02:56.546652",
412
+ "credits": 0.00439453125, "description": "", "dev": true, "download": {"code":
413
+ 0, "excluded_input_fields": [], "header": true, "input_fields": [], "message":
414
+ "", "preview": [], "separator": ","}, "excluded_fields": [], "field_types":
415
+ {"categorical": 0, "datetime": 0, "numeric": 0, "preferred": 0, "text": 0,
416
+ "total": 0}, "fields_meta": {"count": 0, "limit": 1000, "offset": 0, "total":
417
+ 0}, "locale": "en-US", "missing_numeric_rows": 0, "missing_tokens": [], "name":
418
+ "iris'' dataset", "number_of_batchcentroids": 0, "number_of_batchpredictions":
419
+ 0, "number_of_clusters": 0, "number_of_ensembles": 0, "number_of_evaluations":
420
+ 0, "number_of_models": 0, "number_of_predictions": 0, "price": 0.0, "private":
421
+ true, "ranges": null, "replacements": null, "resource": "dataset/53aae4a0ffa044085d000924",
422
+ "rows": 0, "sample_rates": null, "seeds": null, "shared": false, "size": 4608,
423
+ "source": "source/53aae49effa0440857000a30", "source_status": true, "status":
424
+ {"code": 1, "message": "The dataset is being processed and will be created
425
+ soon"}, "subscription": false, "tags": [], "term_limit": 32, "updated": "2014-06-25T15:02:56.546689",
426
+ "user_metadata": {}}'
427
+ http_version: '1.1'
428
+ recorded_at: Wed, 25 Jun 2014 15:02:56 GMT
429
+ - request:
430
+ method: get
431
+ uri: https://bigml.io/dev/andromeda/dataset/53aae4a0ffa044085d000924?username=<USERNAME>&api_key=<API_KEY>
432
+ body:
433
+ encoding: US-ASCII
434
+ string: ''
435
+ headers: {}
436
+ response:
437
+ status:
438
+ code: 200
439
+ message: OK
440
+ headers:
441
+ access-control-allow-methods:
442
+ - POST,GET,PUT,DELETE
443
+ access-control-allow-origin:
444
+ - "*"
445
+ content-type:
446
+ - application/json
447
+ date:
448
+ - Wed, 25 Jun 2014 15:02:56 GMT
449
+ server:
450
+ - nginx/1.0.12
451
+ vary:
452
+ - Accept-Encoding
453
+ transfer-encoding:
454
+ - chunked
455
+ connection:
456
+ - Close
457
+ body:
458
+ encoding: UTF-8
459
+ string: '{"all_fields": true, "category": 0, "cluster": null, "cluster_status":
460
+ true, "code": 200, "columns": 5, "created": "2014-06-25T15:02:56.546000",
461
+ "credits": 0.00439453125, "description": "", "dev": true, "download": {"code":
462
+ 0, "excluded_input_fields": [], "header": true, "input_fields": [], "message":
463
+ "", "preview": [], "separator": ","}, "excluded_fields": [], "field_types":
464
+ {"categorical": 0, "datetime": 0, "numeric": 0, "preferred": 0, "text": 0,
465
+ "total": 5}, "fields": {"000000": {"column_number": 0, "name": "sepal length",
466
+ "optype": "numeric", "order": 0}, "000001": {"column_number": 1, "name": "sepal
467
+ width", "optype": "numeric", "order": 1}, "000002": {"column_number": 2, "name":
468
+ "petal length", "optype": "numeric", "order": 2}, "000003": {"column_number":
469
+ 3, "name": "petal width", "optype": "numeric", "order": 3}, "000004": {"column_number":
470
+ 4, "name": "species", "optype": "categorical", "order": 4, "term_analysis":
471
+ {"enabled": true}}}, "fields_meta": {"count": 5, "limit": 1000, "offset":
472
+ 0, "query_total": 5, "total": 5}, "locale": "en_US", "missing_numeric_rows":
473
+ 0, "missing_tokens": ["", "NaN", "NULL", "N/A", "null", "-", "#REF!", "#VALUE!",
474
+ "?", "#NULL!", "#NUM!", "#DIV/0", "n/a", "#NAME?", "NIL", "nil", "na", "#N/A",
475
+ "NA"], "name": "iris'' dataset", "number_of_batchcentroids": 0, "number_of_batchpredictions":
476
+ 0, "number_of_clusters": 0, "number_of_ensembles": 0, "number_of_evaluations":
477
+ 0, "number_of_models": 0, "number_of_predictions": 0, "price": 0.0, "private":
478
+ true, "ranges": null, "replacements": null, "resource": "dataset/53aae4a0ffa044085d000924",
479
+ "rows": 0, "sample_rates": null, "seeds": null, "shared": false, "size": 4608,
480
+ "source": "source/53aae49effa0440857000a30", "source_status": true, "status":
481
+ {"bytes": 0, "code": 2, "elapsed": 0, "field_errors": [], "message": "The
482
+ dataset creation has been started. No partial summary yet", "row_format_errors":
483
+ [], "serialized_rows": 0}, "subscription": false, "tags": [], "term_limit":
484
+ 32, "updated": "2014-06-25T15:02:56.748000", "user_metadata": {}}'
485
+ http_version: '1.1'
486
+ recorded_at: Wed, 25 Jun 2014 15:02:57 GMT
487
+ - request:
488
+ method: get
489
+ uri: https://bigml.io/dev/andromeda/dataset/53aae4a0ffa044085d000924?username=<USERNAME>&api_key=<API_KEY>
490
+ body:
491
+ encoding: US-ASCII
492
+ string: ''
493
+ headers: {}
494
+ response:
495
+ status:
496
+ code: 200
497
+ message: OK
498
+ headers:
499
+ access-control-allow-methods:
500
+ - POST,GET,PUT,DELETE
501
+ access-control-allow-origin:
502
+ - "*"
503
+ content-type:
504
+ - application/json
505
+ date:
506
+ - Wed, 25 Jun 2014 15:02:58 GMT
507
+ server:
508
+ - nginx/1.0.12
509
+ vary:
510
+ - Accept-Encoding
511
+ transfer-encoding:
512
+ - chunked
513
+ connection:
514
+ - Close
515
+ body:
516
+ encoding: UTF-8
517
+ string: '{"all_fields": true, "category": 0, "cluster": null, "cluster_status":
518
+ true, "code": 200, "columns": 5, "created": "2014-06-25T15:02:56.546000",
519
+ "credits": 0.00439453125, "description": "", "dev": true, "download": {"code":
520
+ 0, "excluded_input_fields": [], "header": true, "input_fields": [], "message":
521
+ "", "preview": [], "separator": ","}, "excluded_fields": [], "field_types":
522
+ {"categorical": 1, "datetime": 0, "numeric": 4, "preferred": 5, "text": 0,
523
+ "total": 5}, "fields": {"000000": {"column_number": 0, "datatype": "double",
524
+ "name": "sepal length", "optype": "numeric", "order": 0, "preferred": true,
525
+ "summary": {"bins": [[4.3, 1], [4.425, 4], [4.6, 4], [4.77143, 7], [4.9625,
526
+ 16], [5.1, 9], [5.2, 4], [5.3, 1], [5.4, 6], [5.5, 7], [5.6, 6], [5.7, 8],
527
+ [5.8, 7], [5.9, 3], [6, 6], [6.1, 6], [6.2, 4], [6.3, 9], [6.4, 7], [6.5,
528
+ 5], [6.6, 2], [6.7, 8], [6.8, 3], [6.9, 4], [7, 1], [7.1, 1], [7.2, 3], [7.3,
529
+ 1], [7.4, 1], [7.6, 1], [7.7, 4], [7.9, 1]], "maximum": 7.9, "mean": 5.84333,
530
+ "median": 5.77889, "minimum": 4.3, "missing_count": 0, "population": 150,
531
+ "splits": [4.51526, 4.67252, 4.81113, 4.89582, 4.96139, 5.01131, 5.05992,
532
+ 5.11148, 5.18177, 5.35681, 5.44129, 5.5108, 5.58255, 5.65532, 5.71658, 5.77889,
533
+ 5.85381, 5.97078, 6.05104, 6.13074, 6.23023, 6.29578, 6.35078, 6.41459, 6.49383,
534
+ 6.63013, 6.70719, 6.79218, 6.92597, 7.20423, 7.64746], "standard_deviation":
535
+ 0.82807, "sum": 876.5, "sum_squares": 5223.85, "variance": 0.68569}}, "000001":
536
+ {"column_number": 1, "datatype": "double", "name": "sepal width", "optype":
537
+ "numeric", "order": 1, "preferred": true, "summary": {"counts": [[2, 1], [2.2,
538
+ 3], [2.3, 4], [2.4, 3], [2.5, 8], [2.6, 5], [2.7, 9], [2.8, 14], [2.9, 10],
539
+ [3, 26], [3.1, 11], [3.2, 13], [3.3, 6], [3.4, 12], [3.5, 6], [3.6, 4], [3.7,
540
+ 3], [3.8, 6], [3.9, 2], [4, 1], [4.1, 1], [4.2, 1], [4.4, 1]], "maximum":
541
+ 4.4, "mean": 3.05733, "median": 3.02044, "minimum": 2, "missing_count": 0,
542
+ "population": 150, "standard_deviation": 0.43587, "sum": 458.6, "sum_squares":
543
+ 1430.4, "variance": 0.18998}}, "000002": {"column_number": 2, "datatype":
544
+ "double", "name": "petal length", "optype": "numeric", "order": 2, "preferred":
545
+ true, "summary": {"bins": [[1, 1], [1.16667, 3], [1.3, 7], [1.4, 13], [1.5,
546
+ 13], [1.6, 7], [1.7, 4], [1.9, 2], [3, 1], [3.3, 2], [3.5, 2], [3.6, 1], [3.75,
547
+ 2], [3.9, 3], [4.0375, 8], [4.23333, 6], [4.46667, 12], [4.6, 3], [4.74444,
548
+ 9], [4.94444, 9], [5.1, 8], [5.25, 4], [5.46, 5], [5.6, 6], [5.75, 6], [5.95,
549
+ 4], [6.1, 3], [6.3, 1], [6.4, 1], [6.6, 1], [6.7, 2], [6.9, 1]], "maximum":
550
+ 6.9, "mean": 3.758, "median": 4.34142, "minimum": 1, "missing_count": 0, "population":
551
+ 150, "splits": [1.25138, 1.32426, 1.37171, 1.40962, 1.44567, 1.48173, 1.51859,
552
+ 1.56301, 1.6255, 1.74645, 3.23033, 3.675, 3.94203, 4.0469, 4.18243, 4.34142,
553
+ 4.45309, 4.51823, 4.61771, 4.72566, 4.83445, 4.93363, 5.03807, 5.1064, 5.20938,
554
+ 5.43979, 5.5744, 5.6646, 5.81496, 6.02913, 6.38125], "standard_deviation":
555
+ 1.7653, "sum": 563.7, "sum_squares": 2582.71, "variance": 3.11628}}, "000003":
556
+ {"column_number": 3, "datatype": "double", "name": "petal width", "optype":
557
+ "numeric", "order": 3, "preferred": true, "summary": {"counts": [[0.1, 5],
558
+ [0.2, 29], [0.3, 7], [0.4, 7], [0.5, 1], [0.6, 1], [1, 7], [1.1, 3], [1.2,
559
+ 5], [1.3, 13], [1.4, 8], [1.5, 12], [1.6, 4], [1.7, 2], [1.8, 12], [1.9, 5],
560
+ [2, 6], [2.1, 6], [2.2, 3], [2.3, 8], [2.4, 3], [2.5, 3]], "maximum": 2.5,
561
+ "mean": 1.19933, "median": 1.32848, "minimum": 0.1, "missing_count": 0, "population":
562
+ 150, "standard_deviation": 0.76224, "sum": 179.9, "sum_squares": 302.33, "variance":
563
+ 0.58101}}, "000004": {"column_number": 4, "datatype": "string", "name": "species",
564
+ "optype": "categorical", "order": 4, "preferred": true, "summary": {"categories":
565
+ [["Iris-setosa", 50], ["Iris-versicolor", 50], ["Iris-virginica", 50]], "missing_count":
566
+ 0}, "term_analysis": {"enabled": true}}}, "fields_meta": {"count": 5, "limit":
567
+ 1000, "offset": 0, "query_total": 5, "total": 5}, "locale": "en_US", "missing_numeric_rows":
568
+ 0, "missing_tokens": ["", "NaN", "NULL", "N/A", "null", "-", "#REF!", "#VALUE!",
569
+ "?", "#NULL!", "#NUM!", "#DIV/0", "n/a", "#NAME?", "NIL", "nil", "na", "#N/A",
570
+ "NA"], "name": "iris'' dataset", "number_of_batchcentroids": 0, "number_of_batchpredictions":
571
+ 0, "number_of_clusters": 0, "number_of_ensembles": 0, "number_of_evaluations":
572
+ 0, "number_of_models": 0, "number_of_predictions": 0, "objective_field": {"column_number":
573
+ 4, "datatype": "string", "id": "000004", "name": "species", "optype": "categorical",
574
+ "order": 4, "term_analysis": {"enabled": true}}, "price": 0.0, "private":
575
+ true, "ranges": null, "replacements": null, "resource": "dataset/53aae4a0ffa044085d000924",
576
+ "rows": 150, "sample_rates": null, "seeds": null, "shared": false, "size":
577
+ 4608, "source": "source/53aae49effa0440857000a30", "source_status": true,
578
+ "status": {"bytes": 4608, "code": 5, "elapsed": 389, "field_errors": [], "message":
579
+ "The dataset has been created", "row_format_errors": [], "serialized_rows":
580
+ 150}, "subscription": false, "tags": [], "term_limit": 32, "updated": "2014-06-25T15:02:57.148000",
581
+ "user_metadata": {}}'
582
+ http_version: '1.1'
583
+ recorded_at: Wed, 25 Jun 2014 15:02:58 GMT
584
+ - request:
585
+ method: post
586
+ uri: https://bigml.io/dev/andromeda/ensemble?username=<USERNAME>&api_key=<API_KEY>
587
+ body:
588
+ encoding: UTF-8
589
+ string: '{"dataset":"dataset/53aae4a0ffa044085d000924","number_of_models":2}'
590
+ headers:
591
+ content-type:
592
+ - application/json
593
+ response:
594
+ status:
595
+ code: 201
596
+ message: CREATED
597
+ headers:
598
+ access-control-allow-methods:
599
+ - POST,GET,PUT,DELETE
600
+ access-control-allow-origin:
601
+ - "*"
602
+ content-type:
603
+ - application/json
604
+ date:
605
+ - Wed, 25 Jun 2014 15:02:58 GMT
606
+ location:
607
+ - http://bigml.io/andromeda/ensemble/53aae4a20af5e81535001130
608
+ server:
609
+ - nginx/1.0.12
610
+ transfer-encoding:
611
+ - chunked
612
+ connection:
613
+ - Close
614
+ body:
615
+ encoding: UTF-8
616
+ string: '{"balance_objective": false, "category": 0, "code": 201, "columns":
617
+ 5, "created": "2014-06-25T15:02:58.233299", "credits": 0.03515625, "credits_per_prediction":
618
+ 0.0, "dataset": "dataset/53aae4a0ffa044085d000924", "dataset_field_types":
619
+ {"categorical": 1, "datetime": 0, "numeric": 4, "preferred": 5, "text": 0,
620
+ "total": 5}, "dataset_status": true, "datasets": [], "description": "", "dev":
621
+ true, "distributions": [{"importance": [], "predictions": {}, "training":
622
+ {}}, {"importance": [], "predictions": {}, "training": {}}], "error_models":
623
+ 0, "fields_maps": null, "finished_models": 0, "locale": "en-US", "max_columns":
624
+ 5, "max_rows": 150, "models": ["model/53aae4a20af5e81535001133"], "name":
625
+ "iris'' dataset ensemble", "node_threshold": 512, "number_of_batchpredictions":
626
+ 0, "number_of_evaluations": 0, "number_of_models": 2, "number_of_predictions":
627
+ 0, "number_of_public_predictions": 0, "objective_field": "000004", "ordering":
628
+ 0, "out_of_bag": false, "price": 0.0, "private": true, "randomize": false,
629
+ "range": [1, 150], "replacement": true, "resource": "ensemble/53aae4a20af5e81535001130",
630
+ "rows": 150, "sample_rate": 1.0, "shared": false, "size": 9216, "source":
631
+ "source/53aae49effa0440857000a30", "source_status": true, "stat_pruning":
632
+ false, "status": {"code": 3, "elapsed": 0.041999999999999996, "message": "The
633
+ ensemble creation has been started", "progress": 0.0}, "subscription": false,
634
+ "tags": ["species"], "tlp": 1, "updated": "2014-06-25T15:02:58.233341"}'
635
+ http_version: '1.1'
636
+ recorded_at: Wed, 25 Jun 2014 15:02:58 GMT
637
+ - request:
638
+ method: get
639
+ uri: https://bigml.io/dev/andromeda/ensemble/53aae4a20af5e81535001130?username=<USERNAME>&api_key=<API_KEY>
640
+ body:
641
+ encoding: US-ASCII
642
+ string: ''
643
+ headers: {}
644
+ response:
645
+ status:
646
+ code: 200
647
+ message: OK
648
+ headers:
649
+ access-control-allow-methods:
650
+ - POST,GET,PUT,DELETE
651
+ access-control-allow-origin:
652
+ - "*"
653
+ content-type:
654
+ - application/json
655
+ date:
656
+ - Wed, 25 Jun 2014 15:02:58 GMT
657
+ server:
658
+ - nginx/1.0.12
659
+ vary:
660
+ - Accept-Encoding
661
+ transfer-encoding:
662
+ - chunked
663
+ connection:
664
+ - Close
665
+ body:
666
+ encoding: UTF-8
667
+ string: '{"balance_objective": false, "category": 0, "code": 200, "columns":
668
+ 5, "created": "2014-06-25T15:02:58.233000", "credits": 0.03515625, "credits_per_prediction":
669
+ 0.0, "dataset": "dataset/53aae4a0ffa044085d000924", "dataset_field_types":
670
+ {"categorical": 1, "datetime": 0, "numeric": 4, "preferred": 5, "text": 0,
671
+ "total": 5}, "dataset_status": true, "datasets": [], "description": "", "dev":
672
+ true, "distributions": [{"importance": [], "predictions": {}, "training":
673
+ {}}, {"importance": [], "predictions": {}, "training": {}}], "error_models":
674
+ 0, "fields_maps": null, "finished_models": 0, "locale": "en-US", "max_columns":
675
+ 5, "max_rows": 150, "models": ["model/53aae4a20af5e81535001133"], "name":
676
+ "iris'' dataset ensemble", "node_threshold": 512, "number_of_batchpredictions":
677
+ 0, "number_of_evaluations": 0, "number_of_models": 2, "number_of_predictions":
678
+ 0, "number_of_public_predictions": 0, "objective_field": "000004", "ordering":
679
+ 0, "out_of_bag": false, "price": 0.0, "private": true, "randomize": false,
680
+ "range": [1, 150], "replacement": true, "resource": "ensemble/53aae4a20af5e81535001130",
681
+ "rows": 150, "sample_rate": 1.0, "shared": false, "size": 9216, "source":
682
+ "source/53aae49effa0440857000a30", "source_status": true, "stat_pruning":
683
+ false, "status": {"code": 3, "elapsed": 29.0, "message": "The ensemble creation
684
+ has been started", "progress": 0.0}, "subscription": false, "tags": ["species"],
685
+ "tlp": 1, "updated": "2014-06-25T15:02:58.262000"}'
686
+ http_version: '1.1'
687
+ recorded_at: Wed, 25 Jun 2014 15:02:58 GMT
688
+ - request:
689
+ method: get
690
+ uri: https://bigml.io/dev/andromeda/ensemble/53aae4a20af5e81535001130?username=<USERNAME>&api_key=<API_KEY>
691
+ body:
692
+ encoding: US-ASCII
693
+ string: ''
694
+ headers: {}
695
+ response:
696
+ status:
697
+ code: 200
698
+ message: OK
699
+ headers:
700
+ access-control-allow-methods:
701
+ - POST,GET,PUT,DELETE
702
+ access-control-allow-origin:
703
+ - "*"
704
+ content-type:
705
+ - application/json
706
+ date:
707
+ - Wed, 25 Jun 2014 15:02:59 GMT
708
+ server:
709
+ - nginx/1.0.12
710
+ vary:
711
+ - Accept-Encoding
712
+ transfer-encoding:
713
+ - chunked
714
+ connection:
715
+ - Close
716
+ body:
717
+ encoding: UTF-8
718
+ string: '{"balance_objective": false, "category": 0, "code": 200, "columns":
719
+ 5, "created": "2014-06-25T15:02:58.233000", "credits": 0.03515625, "credits_per_prediction":
720
+ 0.0, "dataset": "dataset/53aae4a0ffa044085d000924", "dataset_field_types":
721
+ {"categorical": 1, "datetime": 0, "numeric": 4, "preferred": 5, "text": 0,
722
+ "total": 5}, "dataset_status": true, "datasets": [], "description": "", "dev":
723
+ true, "distributions": [{"importance": [], "predictions": {}, "training":
724
+ {}}, {"importance": [], "predictions": {}, "training": {}}], "error_models":
725
+ 0, "fields_maps": null, "finished_models": 0, "locale": "en-US", "max_columns":
726
+ 5, "max_rows": 150, "models": ["model/53aae4a20af5e81535001133"], "name":
727
+ "iris'' dataset ensemble", "node_threshold": 512, "number_of_batchpredictions":
728
+ 0, "number_of_evaluations": 0, "number_of_models": 2, "number_of_predictions":
729
+ 0, "number_of_public_predictions": 0, "objective_field": "000004", "ordering":
730
+ 0, "out_of_bag": false, "price": 0.0, "private": true, "randomize": false,
731
+ "range": [1, 150], "replacement": true, "resource": "ensemble/53aae4a20af5e81535001130",
732
+ "rows": 150, "sample_rate": 1.0, "shared": false, "size": 9216, "source":
733
+ "source/53aae49effa0440857000a30", "source_status": true, "stat_pruning":
734
+ false, "status": {"code": 3, "elapsed": 29.0, "message": "The ensemble creation
735
+ has been started", "progress": 0.0}, "subscription": false, "tags": ["species"],
736
+ "tlp": 1, "updated": "2014-06-25T15:02:58.262000"}'
737
+ http_version: '1.1'
738
+ recorded_at: Wed, 25 Jun 2014 15:02:59 GMT
739
+ - request:
740
+ method: get
741
+ uri: https://bigml.io/dev/andromeda/ensemble/53aae4a20af5e81535001130?username=<USERNAME>&api_key=<API_KEY>
742
+ body:
743
+ encoding: US-ASCII
744
+ string: ''
745
+ headers: {}
746
+ response:
747
+ status:
748
+ code: 200
749
+ message: OK
750
+ headers:
751
+ access-control-allow-methods:
752
+ - POST,GET,PUT,DELETE
753
+ access-control-allow-origin:
754
+ - "*"
755
+ content-type:
756
+ - application/json
757
+ date:
758
+ - Wed, 25 Jun 2014 15:03:00 GMT
759
+ server:
760
+ - nginx/1.0.12
761
+ vary:
762
+ - Accept-Encoding
763
+ transfer-encoding:
764
+ - chunked
765
+ connection:
766
+ - Close
767
+ body:
768
+ encoding: UTF-8
769
+ string: '{"balance_objective": false, "category": 0, "code": 200, "columns":
770
+ 5, "created": "2014-06-25T15:02:58.233000", "credits": 0.03515625, "credits_per_prediction":
771
+ 0.0, "dataset": "dataset/53aae4a0ffa044085d000924", "dataset_field_types":
772
+ {"categorical": 1, "datetime": 0, "numeric": 4, "preferred": 5, "text": 0,
773
+ "total": 5}, "dataset_status": true, "datasets": [], "description": "", "dev":
774
+ true, "distributions": [{"importance": [], "predictions": {}, "training":
775
+ {}}, {"importance": [], "predictions": {}, "training": {}}], "error_models":
776
+ 0, "fields_maps": null, "finished_models": 0, "locale": "en-US", "max_columns":
777
+ 5, "max_rows": 150, "models": ["model/53aae4a20af5e81535001133"], "name":
778
+ "iris'' dataset ensemble", "node_threshold": 512, "number_of_batchpredictions":
779
+ 0, "number_of_evaluations": 0, "number_of_models": 2, "number_of_predictions":
780
+ 0, "number_of_public_predictions": 0, "objective_field": "000004", "ordering":
781
+ 0, "out_of_bag": false, "price": 0.0, "private": true, "randomize": false,
782
+ "range": [1, 150], "replacement": true, "resource": "ensemble/53aae4a20af5e81535001130",
783
+ "rows": 150, "sample_rate": 1.0, "shared": false, "size": 9216, "source":
784
+ "source/53aae49effa0440857000a30", "source_status": true, "stat_pruning":
785
+ false, "status": {"code": 3, "elapsed": 29.0, "message": "The ensemble creation
786
+ has been started", "progress": 0.0}, "subscription": false, "tags": ["species"],
787
+ "tlp": 1, "updated": "2014-06-25T15:02:58.262000"}'
788
+ http_version: '1.1'
789
+ recorded_at: Wed, 25 Jun 2014 15:03:01 GMT
790
+ - request:
791
+ method: get
792
+ uri: https://bigml.io/dev/andromeda/ensemble/53aae4a20af5e81535001130?username=<USERNAME>&api_key=<API_KEY>
793
+ body:
794
+ encoding: US-ASCII
795
+ string: ''
796
+ headers: {}
797
+ response:
798
+ status:
799
+ code: 200
800
+ message: OK
801
+ headers:
802
+ access-control-allow-methods:
803
+ - POST,GET,PUT,DELETE
804
+ access-control-allow-origin:
805
+ - "*"
806
+ content-type:
807
+ - application/json
808
+ date:
809
+ - Wed, 25 Jun 2014 15:03:02 GMT
810
+ server:
811
+ - nginx/1.0.12
812
+ vary:
813
+ - Accept-Encoding
814
+ transfer-encoding:
815
+ - chunked
816
+ connection:
817
+ - Close
818
+ body:
819
+ encoding: UTF-8
820
+ string: '{"balance_objective": false, "category": 0, "code": 200, "columns":
821
+ 5, "created": "2014-06-25T15:02:58.233000", "credits": 0.03515625, "credits_per_prediction":
822
+ 0.0, "dataset": "dataset/53aae4a0ffa044085d000924", "dataset_field_types":
823
+ {"categorical": 1, "datetime": 0, "numeric": 4, "preferred": 5, "text": 0,
824
+ "total": 5}, "dataset_status": true, "datasets": [], "description": "", "dev":
825
+ true, "distributions": [{"importance": [], "predictions": {}, "training":
826
+ {}}, {"importance": [], "predictions": {}, "training": {}}], "error_models":
827
+ 0, "fields_maps": null, "finished_models": 0, "locale": "en-US", "max_columns":
828
+ 5, "max_rows": 150, "models": ["model/53aae4a20af5e81535001133"], "name":
829
+ "iris'' dataset ensemble", "node_threshold": 512, "number_of_batchpredictions":
830
+ 0, "number_of_evaluations": 0, "number_of_models": 2, "number_of_predictions":
831
+ 0, "number_of_public_predictions": 0, "objective_field": "000004", "ordering":
832
+ 0, "out_of_bag": false, "price": 0.0, "private": true, "randomize": false,
833
+ "range": [1, 150], "replacement": true, "resource": "ensemble/53aae4a20af5e81535001130",
834
+ "rows": 150, "sample_rate": 1.0, "shared": false, "size": 9216, "source":
835
+ "source/53aae49effa0440857000a30", "source_status": true, "stat_pruning":
836
+ false, "status": {"code": 3, "elapsed": 29.0, "message": "The ensemble creation
837
+ has been started", "progress": 0.0}, "subscription": false, "tags": ["species"],
838
+ "tlp": 1, "updated": "2014-06-25T15:02:58.262000"}'
839
+ http_version: '1.1'
840
+ recorded_at: Wed, 25 Jun 2014 15:03:02 GMT
841
+ - request:
842
+ method: get
843
+ uri: https://bigml.io/dev/andromeda/ensemble/53aae4a20af5e81535001130?username=<USERNAME>&api_key=<API_KEY>
844
+ body:
845
+ encoding: US-ASCII
846
+ string: ''
847
+ headers: {}
848
+ response:
849
+ status:
850
+ code: 200
851
+ message: OK
852
+ headers:
853
+ access-control-allow-methods:
854
+ - POST,GET,PUT,DELETE
855
+ access-control-allow-origin:
856
+ - "*"
857
+ content-type:
858
+ - application/json
859
+ date:
860
+ - Wed, 25 Jun 2014 15:03:03 GMT
861
+ server:
862
+ - nginx/1.0.12
863
+ vary:
864
+ - Accept-Encoding
865
+ transfer-encoding:
866
+ - chunked
867
+ connection:
868
+ - Close
869
+ body:
870
+ encoding: UTF-8
871
+ string: '{"balance_objective": false, "category": 0, "code": 200, "columns":
872
+ 5, "created": "2014-06-25T15:02:58.233000", "credits": 0.03515625, "credits_per_prediction":
873
+ 0.0, "dataset": "dataset/53aae4a0ffa044085d000924", "dataset_field_types":
874
+ {"categorical": 1, "datetime": 0, "numeric": 4, "preferred": 5, "text": 0,
875
+ "total": 5}, "dataset_status": true, "datasets": [], "description": "", "dev":
876
+ true, "distributions": [{"importance": [["000002", 0.70875], ["000003", 0.28381],
877
+ ["000001", 0.00744]], "predictions": {"categories": [["Iris-setosa", 56],
878
+ ["Iris-versicolor", 55], ["Iris-virginica", 39]]}, "training": {"categories":
879
+ [["Iris-setosa", 56], ["Iris-versicolor", 55], ["Iris-virginica", 39]]}},
880
+ {"importance": [], "predictions": {}, "training": {}}], "error_models": 0,
881
+ "fields_maps": null, "finished_models": 1, "locale": "en-US", "max_columns":
882
+ 5, "max_rows": 150, "models": ["model/53aae4a20af5e81535001133", "model/53aae4a648d9b65d040001d3"],
883
+ "name": "iris'' dataset ensemble", "node_threshold": 512, "number_of_batchpredictions":
884
+ 0, "number_of_evaluations": 0, "number_of_models": 2, "number_of_predictions":
885
+ 0, "number_of_public_predictions": 0, "objective_field": "000004", "objective_field_details":
886
+ {"column_number": 4, "datatype": "string", "name": "species", "optype": "categorical",
887
+ "preferred": true, "term_analysis": {"enabled": true}}, "ordering": 0, "out_of_bag":
888
+ false, "price": 0.0, "private": true, "randomize": false, "range": [1, 150],
889
+ "replacement": true, "resource": "ensemble/53aae4a20af5e81535001130", "rows":
890
+ 150, "sample_rate": 1.0, "shared": false, "size": 9216, "source": "source/53aae49effa0440857000a30",
891
+ "source_status": true, "stat_pruning": false, "status": {"code": 3, "elapsed":
892
+ 4073.0000000000005, "message": "The ensemble creation has been started", "progress":
893
+ 0.5}, "subscription": false, "tags": ["species"], "tlp": 1, "updated": "2014-06-25T15:03:02.306000"}'
894
+ http_version: '1.1'
895
+ recorded_at: Wed, 25 Jun 2014 15:03:03 GMT
896
+ - request:
897
+ method: get
898
+ uri: https://bigml.io/dev/andromeda/ensemble/53aae4a20af5e81535001130?username=<USERNAME>&api_key=<API_KEY>
899
+ body:
900
+ encoding: US-ASCII
901
+ string: ''
902
+ headers: {}
903
+ response:
904
+ status:
905
+ code: 200
906
+ message: OK
907
+ headers:
908
+ access-control-allow-methods:
909
+ - POST,GET,PUT,DELETE
910
+ access-control-allow-origin:
911
+ - "*"
912
+ content-type:
913
+ - application/json
914
+ date:
915
+ - Wed, 25 Jun 2014 15:03:04 GMT
916
+ server:
917
+ - nginx/1.0.12
918
+ vary:
919
+ - Accept-Encoding
920
+ transfer-encoding:
921
+ - chunked
922
+ connection:
923
+ - Close
924
+ body:
925
+ encoding: UTF-8
926
+ string: '{"balance_objective": false, "category": 0, "code": 200, "columns":
927
+ 5, "created": "2014-06-25T15:02:58.233000", "credits": 0.03515625, "credits_per_prediction":
928
+ 0.0, "dataset": "dataset/53aae4a0ffa044085d000924", "dataset_field_types":
929
+ {"categorical": 1, "datetime": 0, "numeric": 4, "preferred": 5, "text": 0,
930
+ "total": 5}, "dataset_status": true, "datasets": [], "description": "", "dev":
931
+ true, "distributions": [{"importance": [["000002", 0.70875], ["000003", 0.28381],
932
+ ["000001", 0.00744]], "predictions": {"categories": [["Iris-setosa", 56],
933
+ ["Iris-versicolor", 55], ["Iris-virginica", 39]]}, "training": {"categories":
934
+ [["Iris-setosa", 56], ["Iris-versicolor", 55], ["Iris-virginica", 39]]}},
935
+ {"importance": [], "predictions": {}, "training": {}}], "error_models": 0,
936
+ "fields_maps": null, "finished_models": 1, "locale": "en-US", "max_columns":
937
+ 5, "max_rows": 150, "models": ["model/53aae4a20af5e81535001133", "model/53aae4a648d9b65d040001d3"],
938
+ "name": "iris'' dataset ensemble", "node_threshold": 512, "number_of_batchpredictions":
939
+ 0, "number_of_evaluations": 0, "number_of_models": 2, "number_of_predictions":
940
+ 0, "number_of_public_predictions": 0, "objective_field": "000004", "objective_field_details":
941
+ {"column_number": 4, "datatype": "string", "name": "species", "optype": "categorical",
942
+ "preferred": true, "term_analysis": {"enabled": true}}, "ordering": 0, "out_of_bag":
943
+ false, "price": 0.0, "private": true, "randomize": false, "range": [1, 150],
944
+ "replacement": true, "resource": "ensemble/53aae4a20af5e81535001130", "rows":
945
+ 150, "sample_rate": 1.0, "shared": false, "size": 9216, "source": "source/53aae49effa0440857000a30",
946
+ "source_status": true, "stat_pruning": false, "status": {"code": 3, "elapsed":
947
+ 4073.0000000000005, "message": "The ensemble creation has been started", "progress":
948
+ 0.5}, "subscription": false, "tags": ["species"], "tlp": 1, "updated": "2014-06-25T15:03:02.306000"}'
949
+ http_version: '1.1'
950
+ recorded_at: Wed, 25 Jun 2014 15:03:04 GMT
951
+ - request:
952
+ method: get
953
+ uri: https://bigml.io/dev/andromeda/ensemble/53aae4a20af5e81535001130?username=<USERNAME>&api_key=<API_KEY>
954
+ body:
955
+ encoding: US-ASCII
956
+ string: ''
957
+ headers: {}
958
+ response:
959
+ status:
960
+ code: 200
961
+ message: OK
962
+ headers:
963
+ access-control-allow-methods:
964
+ - POST,GET,PUT,DELETE
965
+ access-control-allow-origin:
966
+ - "*"
967
+ content-type:
968
+ - application/json
969
+ date:
970
+ - Wed, 25 Jun 2014 15:03:05 GMT
971
+ server:
972
+ - nginx/1.0.12
973
+ vary:
974
+ - Accept-Encoding
975
+ transfer-encoding:
976
+ - chunked
977
+ connection:
978
+ - Close
979
+ body:
980
+ encoding: UTF-8
981
+ string: '{"balance_objective": false, "category": 0, "code": 200, "columns":
982
+ 5, "created": "2014-06-25T15:02:58.233000", "credits": 0.03515625, "credits_per_prediction":
983
+ 0.0, "dataset": "dataset/53aae4a0ffa044085d000924", "dataset_field_types":
984
+ {"categorical": 1, "datetime": 0, "numeric": 4, "preferred": 5, "text": 0,
985
+ "total": 5}, "dataset_status": true, "datasets": [], "description": "", "dev":
986
+ true, "distributions": [{"importance": [["000002", 0.70875], ["000003", 0.28381],
987
+ ["000001", 0.00744]], "predictions": {"categories": [["Iris-setosa", 56],
988
+ ["Iris-versicolor", 55], ["Iris-virginica", 39]]}, "training": {"categories":
989
+ [["Iris-setosa", 56], ["Iris-versicolor", 55], ["Iris-virginica", 39]]}},
990
+ {"importance": [], "predictions": {}, "training": {}}], "error_models": 0,
991
+ "fields_maps": null, "finished_models": 1, "locale": "en-US", "max_columns":
992
+ 5, "max_rows": 150, "models": ["model/53aae4a20af5e81535001133", "model/53aae4a648d9b65d040001d3"],
993
+ "name": "iris'' dataset ensemble", "node_threshold": 512, "number_of_batchpredictions":
994
+ 0, "number_of_evaluations": 0, "number_of_models": 2, "number_of_predictions":
995
+ 0, "number_of_public_predictions": 0, "objective_field": "000004", "objective_field_details":
996
+ {"column_number": 4, "datatype": "string", "name": "species", "optype": "categorical",
997
+ "preferred": true, "term_analysis": {"enabled": true}}, "ordering": 0, "out_of_bag":
998
+ false, "price": 0.0, "private": true, "randomize": false, "range": [1, 150],
999
+ "replacement": true, "resource": "ensemble/53aae4a20af5e81535001130", "rows":
1000
+ 150, "sample_rate": 1.0, "shared": false, "size": 9216, "source": "source/53aae49effa0440857000a30",
1001
+ "source_status": true, "stat_pruning": false, "status": {"code": 3, "elapsed":
1002
+ 4073.0000000000005, "message": "The ensemble creation has been started", "progress":
1003
+ 0.5}, "subscription": false, "tags": ["species"], "tlp": 1, "updated": "2014-06-25T15:03:02.306000"}'
1004
+ http_version: '1.1'
1005
+ recorded_at: Wed, 25 Jun 2014 15:03:06 GMT
1006
+ - request:
1007
+ method: get
1008
+ uri: https://bigml.io/dev/andromeda/ensemble/53aae4a20af5e81535001130?username=<USERNAME>&api_key=<API_KEY>
1009
+ body:
1010
+ encoding: US-ASCII
1011
+ string: ''
1012
+ headers: {}
1013
+ response:
1014
+ status:
1015
+ code: 200
1016
+ message: OK
1017
+ headers:
1018
+ access-control-allow-methods:
1019
+ - POST,GET,PUT,DELETE
1020
+ access-control-allow-origin:
1021
+ - "*"
1022
+ content-type:
1023
+ - application/json
1024
+ date:
1025
+ - Wed, 25 Jun 2014 15:03:07 GMT
1026
+ server:
1027
+ - nginx/1.0.12
1028
+ vary:
1029
+ - Accept-Encoding
1030
+ transfer-encoding:
1031
+ - chunked
1032
+ connection:
1033
+ - Close
1034
+ body:
1035
+ encoding: UTF-8
1036
+ string: '{"balance_objective": false, "category": 0, "code": 200, "columns":
1037
+ 5, "created": "2014-06-25T15:02:58.233000", "credits": 0.03515625, "credits_per_prediction":
1038
+ 0.0, "dataset": "dataset/53aae4a0ffa044085d000924", "dataset_field_types":
1039
+ {"categorical": 1, "datetime": 0, "numeric": 4, "preferred": 5, "text": 0,
1040
+ "total": 5}, "dataset_status": true, "datasets": [], "description": "", "dev":
1041
+ true, "distributions": [{"importance": [["000002", 0.70875], ["000003", 0.28381],
1042
+ ["000001", 0.00744]], "predictions": {"categories": [["Iris-setosa", 56],
1043
+ ["Iris-versicolor", 55], ["Iris-virginica", 39]]}, "training": {"categories":
1044
+ [["Iris-setosa", 56], ["Iris-versicolor", 55], ["Iris-virginica", 39]]}},
1045
+ {"importance": [], "predictions": {}, "training": {}}], "error_models": 0,
1046
+ "fields_maps": null, "finished_models": 1, "locale": "en-US", "max_columns":
1047
+ 5, "max_rows": 150, "models": ["model/53aae4a20af5e81535001133", "model/53aae4a648d9b65d040001d3"],
1048
+ "name": "iris'' dataset ensemble", "node_threshold": 512, "number_of_batchpredictions":
1049
+ 0, "number_of_evaluations": 0, "number_of_models": 2, "number_of_predictions":
1050
+ 0, "number_of_public_predictions": 0, "objective_field": "000004", "objective_field_details":
1051
+ {"column_number": 4, "datatype": "string", "name": "species", "optype": "categorical",
1052
+ "preferred": true, "term_analysis": {"enabled": true}}, "ordering": 0, "out_of_bag":
1053
+ false, "price": 0.0, "private": true, "randomize": false, "range": [1, 150],
1054
+ "replacement": true, "resource": "ensemble/53aae4a20af5e81535001130", "rows":
1055
+ 150, "sample_rate": 1.0, "shared": false, "size": 9216, "source": "source/53aae49effa0440857000a30",
1056
+ "source_status": true, "stat_pruning": false, "status": {"code": 3, "elapsed":
1057
+ 4073.0000000000005, "message": "The ensemble creation has been started", "progress":
1058
+ 0.5}, "subscription": false, "tags": ["species"], "tlp": 1, "updated": "2014-06-25T15:03:02.306000"}'
1059
+ http_version: '1.1'
1060
+ recorded_at: Wed, 25 Jun 2014 15:03:07 GMT
1061
+ - request:
1062
+ method: get
1063
+ uri: https://bigml.io/dev/andromeda/ensemble/53aae4a20af5e81535001130?username=<USERNAME>&api_key=<API_KEY>
1064
+ body:
1065
+ encoding: US-ASCII
1066
+ string: ''
1067
+ headers: {}
1068
+ response:
1069
+ status:
1070
+ code: 200
1071
+ message: OK
1072
+ headers:
1073
+ access-control-allow-methods:
1074
+ - POST,GET,PUT,DELETE
1075
+ access-control-allow-origin:
1076
+ - "*"
1077
+ content-type:
1078
+ - application/json
1079
+ date:
1080
+ - Wed, 25 Jun 2014 15:03:08 GMT
1081
+ server:
1082
+ - nginx/1.0.12
1083
+ vary:
1084
+ - Accept-Encoding
1085
+ transfer-encoding:
1086
+ - chunked
1087
+ connection:
1088
+ - Close
1089
+ body:
1090
+ encoding: UTF-8
1091
+ string: '{"balance_objective": false, "category": 0, "code": 200, "columns":
1092
+ 5, "created": "2014-06-25T15:02:58.233000", "credits": 0.03515625, "credits_per_prediction":
1093
+ 0.0, "dataset": "dataset/53aae4a0ffa044085d000924", "dataset_field_types":
1094
+ {"categorical": 1, "datetime": 0, "numeric": 4, "preferred": 5, "text": 0,
1095
+ "total": 5}, "dataset_status": true, "datasets": [], "description": "", "dev":
1096
+ true, "distributions": [{"importance": [["000002", 0.70875], ["000003", 0.28381],
1097
+ ["000001", 0.00744]], "predictions": {"categories": [["Iris-setosa", 56],
1098
+ ["Iris-versicolor", 55], ["Iris-virginica", 39]]}, "training": {"categories":
1099
+ [["Iris-setosa", 56], ["Iris-versicolor", 55], ["Iris-virginica", 39]]}},
1100
+ {"importance": [["000002", 0.95745], ["000003", 0.03492], ["000001", 0.00763]],
1101
+ "predictions": {"categories": [["Iris-setosa", 46], ["Iris-versicolor", 47],
1102
+ ["Iris-virginica", 57]]}, "training": {"categories": [["Iris-setosa", 46],
1103
+ ["Iris-versicolor", 47], ["Iris-virginica", 57]]}}], "error_models": 0, "fields_maps":
1104
+ null, "finished_models": 2, "locale": "en-US", "max_columns": 5, "max_rows":
1105
+ 150, "models": ["model/53aae4a20af5e81535001133", "model/53aae4a648d9b65d040001d3"],
1106
+ "name": "iris'' dataset ensemble", "node_threshold": 512, "number_of_batchpredictions":
1107
+ 0, "number_of_evaluations": 0, "number_of_models": 2, "number_of_predictions":
1108
+ 0, "number_of_public_predictions": 0, "objective_field": "000004", "objective_field_details":
1109
+ {"column_number": 4, "datatype": "string", "name": "species", "optype": "categorical",
1110
+ "preferred": true, "term_analysis": {"enabled": true}}, "ordering": 0, "out_of_bag":
1111
+ false, "price": 0.0, "private": true, "randomize": false, "range": [1, 150],
1112
+ "replacement": true, "resource": "ensemble/53aae4a20af5e81535001130", "rows":
1113
+ 150, "sample_rate": 1.0, "shared": false, "size": 9216, "source": "source/53aae49effa0440857000a30",
1114
+ "source_status": true, "stat_pruning": false, "status": {"code": 5, "elapsed":
1115
+ 8973.0, "message": "The ensemble has been created", "progress": 1.0}, "subscription":
1116
+ false, "tags": ["species"], "tlp": 1, "updated": "2014-06-25T15:03:07.206000"}'
1117
+ http_version: '1.1'
1118
+ recorded_at: Wed, 25 Jun 2014 15:03:08 GMT
1119
+ - request:
1120
+ method: delete
1121
+ uri: https://bigml.io/dev/andromeda/ensemble/53aae4a20af5e81535001130?username=<USERNAME>&api_key=<API_KEY>
1122
+ body:
1123
+ encoding: US-ASCII
1124
+ string: ''
1125
+ headers: {}
1126
+ response:
1127
+ status:
1128
+ code: 204
1129
+ message: NO CONTENT
1130
+ headers:
1131
+ access-control-allow-methods:
1132
+ - POST,GET,PUT,DELETE
1133
+ access-control-allow-origin:
1134
+ - "*"
1135
+ content-length:
1136
+ - '0'
1137
+ content-type:
1138
+ - text/html; charset=utf-8
1139
+ date:
1140
+ - Wed, 25 Jun 2014 15:03:08 GMT
1141
+ server:
1142
+ - nginx/1.0.12
1143
+ connection:
1144
+ - Close
1145
+ body:
1146
+ encoding: US-ASCII
1147
+ string: ''
1148
+ http_version: '1.1'
1149
+ recorded_at: Wed, 25 Jun 2014 15:03:08 GMT
1150
+ - request:
1151
+ method: get
1152
+ uri: https://bigml.io/dev/andromeda/ensemble/53aae4a20af5e81535001130?username=<USERNAME>&api_key=<API_KEY>
1153
+ body:
1154
+ encoding: US-ASCII
1155
+ string: ''
1156
+ headers: {}
1157
+ response:
1158
+ status:
1159
+ code: 404
1160
+ message: NOT FOUND
1161
+ headers:
1162
+ access-control-allow-methods:
1163
+ - POST,GET,PUT,DELETE
1164
+ access-control-allow-origin:
1165
+ - "*"
1166
+ content-type:
1167
+ - application/json
1168
+ date:
1169
+ - Wed, 25 Jun 2014 15:03:08 GMT
1170
+ server:
1171
+ - nginx/1.0.12
1172
+ transfer-encoding:
1173
+ - chunked
1174
+ connection:
1175
+ - Close
1176
+ body:
1177
+ encoding: UTF-8
1178
+ string: '{"code": 404, "status": {"code": -1201, "extra": ["Couldn''t find an
1179
+ instance of ''Ensemble'' which matched ''pk=53aae4a20af5e81535001130''."],
1180
+ "message": "Id does not exist"}}'
1181
+ http_version: '1.1'
1182
+ recorded_at: Wed, 25 Jun 2014 15:03:08 GMT
1183
+ - request:
1184
+ method: get
1185
+ uri: https://bigml.io/dev/andromeda/ensemble?username=<USERNAME>&api_key=<API_KEY>
1186
+ body:
1187
+ encoding: US-ASCII
1188
+ string: ''
1189
+ headers: {}
1190
+ response:
1191
+ status:
1192
+ code: 200
1193
+ message: OK
1194
+ headers:
1195
+ access-control-allow-methods:
1196
+ - POST,GET,PUT,DELETE
1197
+ access-control-allow-origin:
1198
+ - "*"
1199
+ content-type:
1200
+ - application/json
1201
+ date:
1202
+ - Wed, 25 Jun 2014 15:03:08 GMT
1203
+ server:
1204
+ - nginx/1.0.12
1205
+ transfer-encoding:
1206
+ - chunked
1207
+ connection:
1208
+ - Close
1209
+ body:
1210
+ encoding: UTF-8
1211
+ string: '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
1212
+ "total_count": 0}, "objects": []}'
1213
+ http_version: '1.1'
1214
+ recorded_at: Wed, 25 Jun 2014 15:03:08 GMT
1215
+ recorded_with: VCR 2.9.2