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,1082 @@
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:03:08 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:54.931000", "credits":
36
+ 0.0, "description": "", "dev": true, "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae",
37
+ "name": "iris.csv", "number_of_datasets": 1, "number_of_ensembles": 0, "number_of_models":
38
+ 0, "number_of_predictions": 0, "private": true, "resource": "source/53aae49effa0440857000a30",
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": 377, "message": "The source has been created"}, "subscription":
44
+ false, "tags": [], "term_analysis": {"enabled": true}, "type": 0, "updated":
45
+ "2014-06-25T15:03:08.418000"}]}'
46
+ http_version: '1.1'
47
+ recorded_at: Wed, 25 Jun 2014 15:03:09 GMT
48
+ - request:
49
+ method: delete
50
+ uri: https://bigml.io/dev/andromeda/source/53aae49effa0440857000a30?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:03:09 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:03:09 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:03:09 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:56.546000",
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
+ 0, "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/53aae4a0ffa044085d000924", "rows": 150, "sample_rates":
121
+ null, "seeds": null, "shared": false, "size": 4608, "source": "source/53aae49effa0440857000a30",
122
+ "source_status": false, "status": {"bytes": 4608, "code": 5, "elapsed": 389,
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:03:08.428000"}]}'
126
+ http_version: '1.1'
127
+ recorded_at: Wed, 25 Jun 2014 15:03:09 GMT
128
+ - request:
129
+ method: delete
130
+ uri: https://bigml.io/dev/andromeda/dataset/53aae4a0ffa044085d000924?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:03:09 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:03:09 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:03:09 GMT
179
+ server:
180
+ - nginx/1.0.12
181
+ transfer-encoding:
182
+ - chunked
183
+ connection:
184
+ - Close
185
+ body:
186
+ encoding: UTF-8
187
+ string: '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
188
+ "total_count": 0}, "objects": []}'
189
+ http_version: '1.1'
190
+ recorded_at: Wed, 25 Jun 2014 15:03:09 GMT
191
+ - request:
192
+ method: post
193
+ uri: https://bigml.io/dev/andromeda/source
194
+ body:
195
+ encoding: US-ASCII
196
+ string: ''
197
+ headers:
198
+ content-type:
199
+ - multipart/form-data; boundary=-----------RubyMultipartPost
200
+ content-length:
201
+ - '5150'
202
+ response:
203
+ status:
204
+ code: 201
205
+ message: CREATED
206
+ headers:
207
+ access-control-allow-methods:
208
+ - POST,GET,PUT,DELETE
209
+ access-control-allow-origin:
210
+ - "*"
211
+ content-type:
212
+ - application/json
213
+ date:
214
+ - Wed, 25 Jun 2014 15:03:10 GMT
215
+ location:
216
+ - http://bigml.io/andromeda/source/53aae4adffa0440855001a71
217
+ server:
218
+ - nginx/1.0.12
219
+ transfer-encoding:
220
+ - chunked
221
+ connection:
222
+ - Close
223
+ body:
224
+ encoding: UTF-8
225
+ string: '{"category": 0, "code": 201, "content_type": "application/octet-stream",
226
+ "created": "2014-06-25T15:03:09.967911", "credits": 0.0, "description": "",
227
+ "dev": true, "fields_meta": {"count": 0, "limit": 1000, "offset": 0, "total":
228
+ 0}, "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae", "name":
229
+ "iris.csv", "number_of_datasets": 0, "number_of_ensembles": 0, "number_of_models":
230
+ 0, "number_of_predictions": 0, "private": true, "resource": "source/53aae4adffa0440855001a71",
231
+ "shared": false, "size": 4608, "source_parser": {}, "status": {"code": 1,
232
+ "message": "The request has been queued and will be processed soon"}, "subscription":
233
+ false, "tags": [], "term_analysis": {}, "type": 0, "updated": "2014-06-25T15:03:09.967946"}'
234
+ http_version: '1.1'
235
+ recorded_at: Wed, 25 Jun 2014 15:03:10 GMT
236
+ - request:
237
+ method: get
238
+ uri: https://bigml.io/dev/andromeda/source/53aae4adffa0440855001a71?username=<USERNAME>&api_key=<API_KEY>
239
+ body:
240
+ encoding: US-ASCII
241
+ string: ''
242
+ headers: {}
243
+ response:
244
+ status:
245
+ code: 200
246
+ message: OK
247
+ headers:
248
+ access-control-allow-methods:
249
+ - POST,GET,PUT,DELETE
250
+ access-control-allow-origin:
251
+ - "*"
252
+ content-type:
253
+ - application/json
254
+ date:
255
+ - Wed, 25 Jun 2014 15:03:10 GMT
256
+ server:
257
+ - nginx/1.0.12
258
+ vary:
259
+ - Accept-Encoding
260
+ content-length:
261
+ - '761'
262
+ connection:
263
+ - Close
264
+ body:
265
+ encoding: UTF-8
266
+ string: '{"category": 0, "code": 200, "content_type": "application/octet-stream",
267
+ "created": "2014-06-25T15:03:09.967000", "credits": 0.0, "description": "",
268
+ "dev": true, "fields_meta": {"count": 0, "limit": 1000, "offset": 0, "query_total":
269
+ 0, "total": 0}, "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae",
270
+ "name": "iris.csv", "number_of_datasets": 0, "number_of_ensembles": 0, "number_of_models":
271
+ 0, "number_of_predictions": 0, "private": true, "resource": "source/53aae4adffa0440855001a71",
272
+ "shared": false, "size": 4608, "source_parser": {"missing_tokens": []}, "status":
273
+ {"code": 3, "elapsed": 0, "message": "The source is being created"}, "subscription":
274
+ false, "tags": [], "term_analysis": {}, "type": 0, "updated": "2014-06-25T15:03:10.204000"}'
275
+ http_version: '1.1'
276
+ recorded_at: Wed, 25 Jun 2014 15:03:10 GMT
277
+ - request:
278
+ method: get
279
+ uri: https://bigml.io/dev/andromeda/source/53aae4adffa0440855001a71?username=<USERNAME>&api_key=<API_KEY>
280
+ body:
281
+ encoding: US-ASCII
282
+ string: ''
283
+ headers: {}
284
+ response:
285
+ status:
286
+ code: 200
287
+ message: OK
288
+ headers:
289
+ access-control-allow-methods:
290
+ - POST,GET,PUT,DELETE
291
+ access-control-allow-origin:
292
+ - "*"
293
+ content-type:
294
+ - application/json
295
+ date:
296
+ - Wed, 25 Jun 2014 15:03:11 GMT
297
+ server:
298
+ - nginx/1.0.12
299
+ vary:
300
+ - Accept-Encoding
301
+ content-length:
302
+ - '1478'
303
+ connection:
304
+ - Close
305
+ body:
306
+ encoding: UTF-8
307
+ string: '{"category": 0, "code": 200, "content_type": "application/octet-stream",
308
+ "created": "2014-06-25T15:03:09.967000", "credits": 0.0, "description": "",
309
+ "dev": true, "fields": {"000000": {"column_number": 0, "name": "sepal length",
310
+ "optype": "numeric", "order": 0}, "000001": {"column_number": 1, "name": "sepal
311
+ width", "optype": "numeric", "order": 1}, "000002": {"column_number": 2, "name":
312
+ "petal length", "optype": "numeric", "order": 2}, "000003": {"column_number":
313
+ 3, "name": "petal width", "optype": "numeric", "order": 3}, "000004": {"column_number":
314
+ 4, "name": "species", "optype": "categorical", "order": 4, "term_analysis":
315
+ {"enabled": true}}}, "fields_meta": {"count": 5, "limit": 1000, "offset":
316
+ 0, "query_total": 5, "total": 5}, "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae",
317
+ "name": "iris.csv", "number_of_datasets": 0, "number_of_ensembles": 0, "number_of_models":
318
+ 0, "number_of_predictions": 0, "private": true, "resource": "source/53aae4adffa0440855001a71",
319
+ "shared": false, "size": 4608, "source_parser": {"header": true, "locale":
320
+ "en_US", "missing_tokens": ["", "NaN", "NULL", "N/A", "null", "-", "#REF!",
321
+ "#VALUE!", "?", "#NULL!", "#NUM!", "#DIV/0", "n/a", "#NAME?", "NIL", "nil",
322
+ "na", "#N/A", "NA"], "quote": "\"", "separator": ","}, "status": {"code":
323
+ 5, "elapsed": 335, "message": "The source has been created"}, "subscription":
324
+ false, "tags": [], "term_analysis": {"enabled": true}, "type": 0, "updated":
325
+ "2014-06-25T15:03:10.540000"}'
326
+ http_version: '1.1'
327
+ recorded_at: Wed, 25 Jun 2014 15:03:11 GMT
328
+ - request:
329
+ method: post
330
+ uri: https://bigml.io/dev/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
331
+ body:
332
+ encoding: UTF-8
333
+ string: '{"source":"source/53aae4adffa0440855001a71"}'
334
+ headers:
335
+ content-type:
336
+ - application/json
337
+ response:
338
+ status:
339
+ code: 201
340
+ message: CREATED
341
+ headers:
342
+ access-control-allow-methods:
343
+ - POST,GET,PUT,DELETE
344
+ access-control-allow-origin:
345
+ - "*"
346
+ content-type:
347
+ - application/json
348
+ date:
349
+ - Wed, 25 Jun 2014 15:03:11 GMT
350
+ location:
351
+ - http://bigml.io/andromeda/dataset/53aae4afffa044085d000927
352
+ server:
353
+ - nginx/1.0.12
354
+ transfer-encoding:
355
+ - chunked
356
+ connection:
357
+ - Close
358
+ body:
359
+ encoding: UTF-8
360
+ string: '{"all_fields": true, "category": 0, "cluster": null, "cluster_status":
361
+ true, "code": 201, "columns": 0, "created": "2014-06-25T15:03:11.624587",
362
+ "credits": 0.00439453125, "description": "", "dev": true, "download": {"code":
363
+ 0, "excluded_input_fields": [], "header": true, "input_fields": [], "message":
364
+ "", "preview": [], "separator": ","}, "excluded_fields": [], "field_types":
365
+ {"categorical": 0, "datetime": 0, "numeric": 0, "preferred": 0, "text": 0,
366
+ "total": 0}, "fields_meta": {"count": 0, "limit": 1000, "offset": 0, "total":
367
+ 0}, "locale": "en-US", "missing_numeric_rows": 0, "missing_tokens": [], "name":
368
+ "iris'' dataset", "number_of_batchcentroids": 0, "number_of_batchpredictions":
369
+ 0, "number_of_clusters": 0, "number_of_ensembles": 0, "number_of_evaluations":
370
+ 0, "number_of_models": 0, "number_of_predictions": 0, "price": 0.0, "private":
371
+ true, "ranges": null, "replacements": null, "resource": "dataset/53aae4afffa044085d000927",
372
+ "rows": 0, "sample_rates": null, "seeds": null, "shared": false, "size": 4608,
373
+ "source": "source/53aae4adffa0440855001a71", "source_status": true, "status":
374
+ {"code": 1, "message": "The dataset is being processed and will be created
375
+ soon"}, "subscription": false, "tags": [], "term_limit": 32, "updated": "2014-06-25T15:03:11.624624",
376
+ "user_metadata": {}}'
377
+ http_version: '1.1'
378
+ recorded_at: Wed, 25 Jun 2014 15:03:11 GMT
379
+ - request:
380
+ method: get
381
+ uri: https://bigml.io/dev/andromeda/dataset/53aae4afffa044085d000927?username=<USERNAME>&api_key=<API_KEY>
382
+ body:
383
+ encoding: US-ASCII
384
+ string: ''
385
+ headers: {}
386
+ response:
387
+ status:
388
+ code: 200
389
+ message: OK
390
+ headers:
391
+ access-control-allow-methods:
392
+ - POST,GET,PUT,DELETE
393
+ access-control-allow-origin:
394
+ - "*"
395
+ content-type:
396
+ - application/json
397
+ date:
398
+ - Wed, 25 Jun 2014 15:03:11 GMT
399
+ server:
400
+ - nginx/1.0.12
401
+ vary:
402
+ - Accept-Encoding
403
+ transfer-encoding:
404
+ - chunked
405
+ connection:
406
+ - Close
407
+ body:
408
+ encoding: UTF-8
409
+ string: '{"all_fields": true, "category": 0, "cluster": null, "cluster_status":
410
+ true, "code": 200, "columns": 5, "created": "2014-06-25T15:03:11.624000",
411
+ "credits": 0.00439453125, "description": "", "dev": true, "download": {"code":
412
+ 0, "excluded_input_fields": [], "header": true, "input_fields": [], "message":
413
+ "", "preview": [], "separator": ","}, "excluded_fields": [], "field_types":
414
+ {"categorical": 0, "datetime": 0, "numeric": 0, "preferred": 0, "text": 0,
415
+ "total": 5}, "fields": {"000000": {"column_number": 0, "name": "sepal length",
416
+ "optype": "numeric", "order": 0}, "000001": {"column_number": 1, "name": "sepal
417
+ width", "optype": "numeric", "order": 1}, "000002": {"column_number": 2, "name":
418
+ "petal length", "optype": "numeric", "order": 2}, "000003": {"column_number":
419
+ 3, "name": "petal width", "optype": "numeric", "order": 3}, "000004": {"column_number":
420
+ 4, "name": "species", "optype": "categorical", "order": 4, "term_analysis":
421
+ {"enabled": true}}}, "fields_meta": {"count": 5, "limit": 1000, "offset":
422
+ 0, "query_total": 5, "total": 5}, "locale": "en_US", "missing_numeric_rows":
423
+ 0, "missing_tokens": ["", "NaN", "NULL", "N/A", "null", "-", "#REF!", "#VALUE!",
424
+ "?", "#NULL!", "#NUM!", "#DIV/0", "n/a", "#NAME?", "NIL", "nil", "na", "#N/A",
425
+ "NA"], "name": "iris'' dataset", "number_of_batchcentroids": 0, "number_of_batchpredictions":
426
+ 0, "number_of_clusters": 0, "number_of_ensembles": 0, "number_of_evaluations":
427
+ 0, "number_of_models": 0, "number_of_predictions": 0, "price": 0.0, "private":
428
+ true, "ranges": null, "replacements": null, "resource": "dataset/53aae4afffa044085d000927",
429
+ "rows": 0, "sample_rates": null, "seeds": null, "shared": false, "size": 4608,
430
+ "source": "source/53aae4adffa0440855001a71", "source_status": true, "status":
431
+ {"bytes": 0, "code": 2, "elapsed": 0, "field_errors": [], "message": "The
432
+ dataset creation has been started. No partial summary yet", "row_format_errors":
433
+ [], "serialized_rows": 0}, "subscription": false, "tags": [], "term_limit":
434
+ 32, "updated": "2014-06-25T15:03:11.835000", "user_metadata": {}}'
435
+ http_version: '1.1'
436
+ recorded_at: Wed, 25 Jun 2014 15:03:12 GMT
437
+ - request:
438
+ method: get
439
+ uri: https://bigml.io/dev/andromeda/dataset/53aae4afffa044085d000927?username=<USERNAME>&api_key=<API_KEY>
440
+ body:
441
+ encoding: US-ASCII
442
+ string: ''
443
+ headers: {}
444
+ response:
445
+ status:
446
+ code: 200
447
+ message: OK
448
+ headers:
449
+ access-control-allow-methods:
450
+ - POST,GET,PUT,DELETE
451
+ access-control-allow-origin:
452
+ - "*"
453
+ content-type:
454
+ - application/json
455
+ date:
456
+ - Wed, 25 Jun 2014 15:03:13 GMT
457
+ server:
458
+ - nginx/1.0.12
459
+ vary:
460
+ - Accept-Encoding
461
+ content-length:
462
+ - '5086'
463
+ connection:
464
+ - Close
465
+ body:
466
+ encoding: UTF-8
467
+ string: '{"all_fields": true, "category": 0, "cluster": null, "cluster_status":
468
+ true, "code": 200, "columns": 5, "created": "2014-06-25T15:03:11.624000",
469
+ "credits": 0.00439453125, "description": "", "dev": true, "download": {"code":
470
+ 0, "excluded_input_fields": [], "header": true, "input_fields": [], "message":
471
+ "", "preview": [], "separator": ","}, "excluded_fields": [], "field_types":
472
+ {"categorical": 1, "datetime": 0, "numeric": 4, "preferred": 5, "text": 0,
473
+ "total": 5}, "fields": {"000000": {"column_number": 0, "datatype": "double",
474
+ "name": "sepal length", "optype": "numeric", "order": 0, "preferred": true,
475
+ "summary": {"bins": [[4.3, 1], [4.425, 4], [4.6, 4], [4.77143, 7], [4.9625,
476
+ 16], [5.1, 9], [5.2, 4], [5.3, 1], [5.4, 6], [5.5, 7], [5.6, 6], [5.7, 8],
477
+ [5.8, 7], [5.9, 3], [6, 6], [6.1, 6], [6.2, 4], [6.3, 9], [6.4, 7], [6.5,
478
+ 5], [6.6, 2], [6.7, 8], [6.8, 3], [6.9, 4], [7, 1], [7.1, 1], [7.2, 3], [7.3,
479
+ 1], [7.4, 1], [7.6, 1], [7.7, 4], [7.9, 1]], "maximum": 7.9, "mean": 5.84333,
480
+ "median": 5.77889, "minimum": 4.3, "missing_count": 0, "population": 150,
481
+ "splits": [4.51526, 4.67252, 4.81113, 4.89582, 4.96139, 5.01131, 5.05992,
482
+ 5.11148, 5.18177, 5.35681, 5.44129, 5.5108, 5.58255, 5.65532, 5.71658, 5.77889,
483
+ 5.85381, 5.97078, 6.05104, 6.13074, 6.23023, 6.29578, 6.35078, 6.41459, 6.49383,
484
+ 6.63013, 6.70719, 6.79218, 6.92597, 7.20423, 7.64746], "standard_deviation":
485
+ 0.82807, "sum": 876.5, "sum_squares": 5223.85, "variance": 0.68569}}, "000001":
486
+ {"column_number": 1, "datatype": "double", "name": "sepal width", "optype":
487
+ "numeric", "order": 1, "preferred": true, "summary": {"counts": [[2, 1], [2.2,
488
+ 3], [2.3, 4], [2.4, 3], [2.5, 8], [2.6, 5], [2.7, 9], [2.8, 14], [2.9, 10],
489
+ [3, 26], [3.1, 11], [3.2, 13], [3.3, 6], [3.4, 12], [3.5, 6], [3.6, 4], [3.7,
490
+ 3], [3.8, 6], [3.9, 2], [4, 1], [4.1, 1], [4.2, 1], [4.4, 1]], "maximum":
491
+ 4.4, "mean": 3.05733, "median": 3.02044, "minimum": 2, "missing_count": 0,
492
+ "population": 150, "standard_deviation": 0.43587, "sum": 458.6, "sum_squares":
493
+ 1430.4, "variance": 0.18998}}, "000002": {"column_number": 2, "datatype":
494
+ "double", "name": "petal length", "optype": "numeric", "order": 2, "preferred":
495
+ true, "summary": {"bins": [[1, 1], [1.16667, 3], [1.3, 7], [1.4, 13], [1.5,
496
+ 13], [1.6, 7], [1.7, 4], [1.9, 2], [3, 1], [3.3, 2], [3.5, 2], [3.6, 1], [3.75,
497
+ 2], [3.9, 3], [4.0375, 8], [4.23333, 6], [4.46667, 12], [4.6, 3], [4.74444,
498
+ 9], [4.94444, 9], [5.1, 8], [5.25, 4], [5.46, 5], [5.6, 6], [5.75, 6], [5.95,
499
+ 4], [6.1, 3], [6.3, 1], [6.4, 1], [6.6, 1], [6.7, 2], [6.9, 1]], "maximum":
500
+ 6.9, "mean": 3.758, "median": 4.34142, "minimum": 1, "missing_count": 0, "population":
501
+ 150, "splits": [1.25138, 1.32426, 1.37171, 1.40962, 1.44567, 1.48173, 1.51859,
502
+ 1.56301, 1.6255, 1.74645, 3.23033, 3.675, 3.94203, 4.0469, 4.18243, 4.34142,
503
+ 4.45309, 4.51823, 4.61771, 4.72566, 4.83445, 4.93363, 5.03807, 5.1064, 5.20938,
504
+ 5.43979, 5.5744, 5.6646, 5.81496, 6.02913, 6.38125], "standard_deviation":
505
+ 1.7653, "sum": 563.7, "sum_squares": 2582.71, "variance": 3.11628}}, "000003":
506
+ {"column_number": 3, "datatype": "double", "name": "petal width", "optype":
507
+ "numeric", "order": 3, "preferred": true, "summary": {"counts": [[0.1, 5],
508
+ [0.2, 29], [0.3, 7], [0.4, 7], [0.5, 1], [0.6, 1], [1, 7], [1.1, 3], [1.2,
509
+ 5], [1.3, 13], [1.4, 8], [1.5, 12], [1.6, 4], [1.7, 2], [1.8, 12], [1.9, 5],
510
+ [2, 6], [2.1, 6], [2.2, 3], [2.3, 8], [2.4, 3], [2.5, 3]], "maximum": 2.5,
511
+ "mean": 1.19933, "median": 1.32848, "minimum": 0.1, "missing_count": 0, "population":
512
+ 150, "standard_deviation": 0.76224, "sum": 179.9, "sum_squares": 302.33, "variance":
513
+ 0.58101}}, "000004": {"column_number": 4, "datatype": "string", "name": "species",
514
+ "optype": "categorical", "order": 4, "preferred": true, "summary": {"categories":
515
+ [["Iris-setosa", 50], ["Iris-versicolor", 50], ["Iris-virginica", 50]], "missing_count":
516
+ 0}, "term_analysis": {"enabled": true}}}, "fields_meta": {"count": 5, "limit":
517
+ 1000, "offset": 0, "query_total": 5, "total": 5}, "locale": "en_US", "missing_numeric_rows":
518
+ 0, "missing_tokens": ["", "NaN", "NULL", "N/A", "null", "-", "#REF!", "#VALUE!",
519
+ "?", "#NULL!", "#NUM!", "#DIV/0", "n/a", "#NAME?", "NIL", "nil", "na", "#N/A",
520
+ "NA"], "name": "iris'' dataset", "number_of_batchcentroids": 0, "number_of_batchpredictions":
521
+ 0, "number_of_clusters": 0, "number_of_ensembles": 0, "number_of_evaluations":
522
+ 0, "number_of_models": 0, "number_of_predictions": 0, "objective_field": {"column_number":
523
+ 4, "datatype": "string", "id": "000004", "name": "species", "optype": "categorical",
524
+ "order": 4, "term_analysis": {"enabled": true}}, "price": 0.0, "private":
525
+ true, "ranges": null, "replacements": null, "resource": "dataset/53aae4afffa044085d000927",
526
+ "rows": 150, "sample_rates": null, "seeds": null, "shared": false, "size":
527
+ 4608, "source": "source/53aae4adffa0440855001a71", "source_status": true,
528
+ "status": {"bytes": 4608, "code": 5, "elapsed": 361, "field_errors": [], "message":
529
+ "The dataset has been created", "row_format_errors": [], "serialized_rows":
530
+ 150}, "subscription": false, "tags": [], "term_limit": 32, "updated": "2014-06-25T15:03:12.204000",
531
+ "user_metadata": {}}'
532
+ http_version: '1.1'
533
+ recorded_at: Wed, 25 Jun 2014 15:03:13 GMT
534
+ - request:
535
+ method: post
536
+ uri: https://bigml.io/dev/andromeda/ensemble?username=<USERNAME>&api_key=<API_KEY>
537
+ body:
538
+ encoding: UTF-8
539
+ string: '{"dataset":"dataset/53aae4afffa044085d000927","number_of_models":2}'
540
+ headers:
541
+ content-type:
542
+ - application/json
543
+ response:
544
+ status:
545
+ code: 201
546
+ message: CREATED
547
+ headers:
548
+ access-control-allow-methods:
549
+ - POST,GET,PUT,DELETE
550
+ access-control-allow-origin:
551
+ - "*"
552
+ content-type:
553
+ - application/json
554
+ date:
555
+ - Wed, 25 Jun 2014 15:03:13 GMT
556
+ location:
557
+ - http://bigml.io/andromeda/ensemble/53aae4b10af5e81535001137
558
+ server:
559
+ - nginx/1.0.12
560
+ transfer-encoding:
561
+ - chunked
562
+ connection:
563
+ - Close
564
+ body:
565
+ encoding: UTF-8
566
+ string: '{"balance_objective": false, "category": 0, "code": 201, "columns":
567
+ 5, "created": "2014-06-25T15:03:13.313670", "credits": 0.03515625, "credits_per_prediction":
568
+ 0.0, "dataset": "dataset/53aae4afffa044085d000927", "dataset_field_types":
569
+ {"categorical": 1, "datetime": 0, "numeric": 4, "preferred": 5, "text": 0,
570
+ "total": 5}, "dataset_status": true, "datasets": [], "description": "", "dev":
571
+ true, "distributions": [{"importance": [], "predictions": {}, "training":
572
+ {}}, {"importance": [], "predictions": {}, "training": {}}], "error_models":
573
+ 0, "fields_maps": null, "finished_models": 0, "locale": "en-US", "max_columns":
574
+ 5, "max_rows": 150, "models": ["model/53aae4b10af5e8153500113a"], "name":
575
+ "iris'' dataset ensemble", "node_threshold": 512, "number_of_batchpredictions":
576
+ 0, "number_of_evaluations": 0, "number_of_models": 2, "number_of_predictions":
577
+ 0, "number_of_public_predictions": 0, "objective_field": "000004", "ordering":
578
+ 0, "out_of_bag": false, "price": 0.0, "private": true, "randomize": false,
579
+ "range": [1, 150], "replacement": true, "resource": "ensemble/53aae4b10af5e81535001137",
580
+ "rows": 150, "sample_rate": 1.0, "shared": false, "size": 9216, "source":
581
+ "source/53aae4adffa0440855001a71", "source_status": true, "stat_pruning":
582
+ false, "status": {"code": 3, "elapsed": 0.034999999999999996, "message": "The
583
+ ensemble creation has been started", "progress": 0.0}, "subscription": false,
584
+ "tags": ["species"], "tlp": 1, "updated": "2014-06-25T15:03:13.313705"}'
585
+ http_version: '1.1'
586
+ recorded_at: Wed, 25 Jun 2014 15:03:13 GMT
587
+ - request:
588
+ method: get
589
+ uri: https://bigml.io/dev/andromeda/ensemble/53aae4b10af5e81535001137?username=<USERNAME>&api_key=<API_KEY>
590
+ body:
591
+ encoding: US-ASCII
592
+ string: ''
593
+ headers: {}
594
+ response:
595
+ status:
596
+ code: 200
597
+ message: OK
598
+ headers:
599
+ access-control-allow-methods:
600
+ - POST,GET,PUT,DELETE
601
+ access-control-allow-origin:
602
+ - "*"
603
+ content-type:
604
+ - application/json
605
+ date:
606
+ - Wed, 25 Jun 2014 15:03:14 GMT
607
+ server:
608
+ - nginx/1.0.12
609
+ vary:
610
+ - Accept-Encoding
611
+ transfer-encoding:
612
+ - chunked
613
+ connection:
614
+ - Close
615
+ body:
616
+ encoding: UTF-8
617
+ string: '{"balance_objective": false, "category": 0, "code": 200, "columns":
618
+ 5, "created": "2014-06-25T15:03:13.313000", "credits": 0.03515625, "credits_per_prediction":
619
+ 0.0, "dataset": "dataset/53aae4afffa044085d000927", "dataset_field_types":
620
+ {"categorical": 1, "datetime": 0, "numeric": 4, "preferred": 5, "text": 0,
621
+ "total": 5}, "dataset_status": true, "datasets": [], "description": "", "dev":
622
+ true, "distributions": [{"importance": [], "predictions": {}, "training":
623
+ {}}, {"importance": [], "predictions": {}, "training": {}}], "error_models":
624
+ 0, "fields_maps": null, "finished_models": 0, "locale": "en-US", "max_columns":
625
+ 5, "max_rows": 150, "models": ["model/53aae4b10af5e8153500113a"], "name":
626
+ "iris'' dataset ensemble", "node_threshold": 512, "number_of_batchpredictions":
627
+ 0, "number_of_evaluations": 0, "number_of_models": 2, "number_of_predictions":
628
+ 0, "number_of_public_predictions": 0, "objective_field": "000004", "ordering":
629
+ 0, "out_of_bag": false, "price": 0.0, "private": true, "randomize": false,
630
+ "range": [1, 150], "replacement": true, "resource": "ensemble/53aae4b10af5e81535001137",
631
+ "rows": 150, "sample_rate": 1.0, "shared": false, "size": 9216, "source":
632
+ "source/53aae4adffa0440855001a71", "source_status": true, "stat_pruning":
633
+ false, "status": {"code": 3, "elapsed": 31.0, "message": "The ensemble creation
634
+ has been started", "progress": 0.0}, "subscription": false, "tags": ["species"],
635
+ "tlp": 1, "updated": "2014-06-25T15:03:13.344000"}'
636
+ http_version: '1.1'
637
+ recorded_at: Wed, 25 Jun 2014 15:03:14 GMT
638
+ - request:
639
+ method: get
640
+ uri: https://bigml.io/dev/andromeda/ensemble/53aae4b10af5e81535001137?username=<USERNAME>&api_key=<API_KEY>
641
+ body:
642
+ encoding: US-ASCII
643
+ string: ''
644
+ headers: {}
645
+ response:
646
+ status:
647
+ code: 200
648
+ message: OK
649
+ headers:
650
+ access-control-allow-methods:
651
+ - POST,GET,PUT,DELETE
652
+ access-control-allow-origin:
653
+ - "*"
654
+ content-type:
655
+ - application/json
656
+ date:
657
+ - Wed, 25 Jun 2014 15:03:15 GMT
658
+ server:
659
+ - nginx/1.0.12
660
+ vary:
661
+ - Accept-Encoding
662
+ transfer-encoding:
663
+ - chunked
664
+ connection:
665
+ - Close
666
+ body:
667
+ encoding: UTF-8
668
+ string: '{"balance_objective": false, "category": 0, "code": 200, "columns":
669
+ 5, "created": "2014-06-25T15:03:13.313000", "credits": 0.03515625, "credits_per_prediction":
670
+ 0.0, "dataset": "dataset/53aae4afffa044085d000927", "dataset_field_types":
671
+ {"categorical": 1, "datetime": 0, "numeric": 4, "preferred": 5, "text": 0,
672
+ "total": 5}, "dataset_status": true, "datasets": [], "description": "", "dev":
673
+ true, "distributions": [{"importance": [], "predictions": {}, "training":
674
+ {}}, {"importance": [], "predictions": {}, "training": {}}], "error_models":
675
+ 0, "fields_maps": null, "finished_models": 0, "locale": "en-US", "max_columns":
676
+ 5, "max_rows": 150, "models": ["model/53aae4b10af5e8153500113a"], "name":
677
+ "iris'' dataset ensemble", "node_threshold": 512, "number_of_batchpredictions":
678
+ 0, "number_of_evaluations": 0, "number_of_models": 2, "number_of_predictions":
679
+ 0, "number_of_public_predictions": 0, "objective_field": "000004", "ordering":
680
+ 0, "out_of_bag": false, "price": 0.0, "private": true, "randomize": false,
681
+ "range": [1, 150], "replacement": true, "resource": "ensemble/53aae4b10af5e81535001137",
682
+ "rows": 150, "sample_rate": 1.0, "shared": false, "size": 9216, "source":
683
+ "source/53aae4adffa0440855001a71", "source_status": true, "stat_pruning":
684
+ false, "status": {"code": 3, "elapsed": 31.0, "message": "The ensemble creation
685
+ has been started", "progress": 0.0}, "subscription": false, "tags": ["species"],
686
+ "tlp": 1, "updated": "2014-06-25T15:03:13.344000"}'
687
+ http_version: '1.1'
688
+ recorded_at: Wed, 25 Jun 2014 15:03:15 GMT
689
+ - request:
690
+ method: get
691
+ uri: https://bigml.io/dev/andromeda/ensemble/53aae4b10af5e81535001137?username=<USERNAME>&api_key=<API_KEY>
692
+ body:
693
+ encoding: US-ASCII
694
+ string: ''
695
+ headers: {}
696
+ response:
697
+ status:
698
+ code: 200
699
+ message: OK
700
+ headers:
701
+ access-control-allow-methods:
702
+ - POST,GET,PUT,DELETE
703
+ access-control-allow-origin:
704
+ - "*"
705
+ content-type:
706
+ - application/json
707
+ date:
708
+ - Wed, 25 Jun 2014 15:03:16 GMT
709
+ server:
710
+ - nginx/1.0.12
711
+ vary:
712
+ - Accept-Encoding
713
+ content-length:
714
+ - '1455'
715
+ connection:
716
+ - Close
717
+ body:
718
+ encoding: UTF-8
719
+ string: '{"balance_objective": false, "category": 0, "code": 200, "columns":
720
+ 5, "created": "2014-06-25T15:03:13.313000", "credits": 0.03515625, "credits_per_prediction":
721
+ 0.0, "dataset": "dataset/53aae4afffa044085d000927", "dataset_field_types":
722
+ {"categorical": 1, "datetime": 0, "numeric": 4, "preferred": 5, "text": 0,
723
+ "total": 5}, "dataset_status": true, "datasets": [], "description": "", "dev":
724
+ true, "distributions": [{"importance": [], "predictions": {}, "training":
725
+ {}}, {"importance": [], "predictions": {}, "training": {}}], "error_models":
726
+ 0, "fields_maps": null, "finished_models": 0, "locale": "en-US", "max_columns":
727
+ 5, "max_rows": 150, "models": ["model/53aae4b10af5e8153500113a"], "name":
728
+ "iris'' dataset ensemble", "node_threshold": 512, "number_of_batchpredictions":
729
+ 0, "number_of_evaluations": 0, "number_of_models": 2, "number_of_predictions":
730
+ 0, "number_of_public_predictions": 0, "objective_field": "000004", "ordering":
731
+ 0, "out_of_bag": false, "price": 0.0, "private": true, "randomize": false,
732
+ "range": [1, 150], "replacement": true, "resource": "ensemble/53aae4b10af5e81535001137",
733
+ "rows": 150, "sample_rate": 1.0, "shared": false, "size": 9216, "source":
734
+ "source/53aae4adffa0440855001a71", "source_status": true, "stat_pruning":
735
+ false, "status": {"code": 3, "elapsed": 31.0, "message": "The ensemble creation
736
+ has been started", "progress": 0.0}, "subscription": false, "tags": ["species"],
737
+ "tlp": 1, "updated": "2014-06-25T15:03:13.344000"}'
738
+ http_version: '1.1'
739
+ recorded_at: Wed, 25 Jun 2014 15:03:16 GMT
740
+ - request:
741
+ method: get
742
+ uri: https://bigml.io/dev/andromeda/ensemble/53aae4b10af5e81535001137?username=<USERNAME>&api_key=<API_KEY>
743
+ body:
744
+ encoding: US-ASCII
745
+ string: ''
746
+ headers: {}
747
+ response:
748
+ status:
749
+ code: 200
750
+ message: OK
751
+ headers:
752
+ access-control-allow-methods:
753
+ - POST,GET,PUT,DELETE
754
+ access-control-allow-origin:
755
+ - "*"
756
+ content-type:
757
+ - application/json
758
+ date:
759
+ - Wed, 25 Jun 2014 15:03:17 GMT
760
+ server:
761
+ - nginx/1.0.12
762
+ vary:
763
+ - Accept-Encoding
764
+ transfer-encoding:
765
+ - chunked
766
+ connection:
767
+ - Close
768
+ body:
769
+ encoding: UTF-8
770
+ string: '{"balance_objective": false, "category": 0, "code": 200, "columns":
771
+ 5, "created": "2014-06-25T15:03:13.313000", "credits": 0.03515625, "credits_per_prediction":
772
+ 0.0, "dataset": "dataset/53aae4afffa044085d000927", "dataset_field_types":
773
+ {"categorical": 1, "datetime": 0, "numeric": 4, "preferred": 5, "text": 0,
774
+ "total": 5}, "dataset_status": true, "datasets": [], "description": "", "dev":
775
+ true, "distributions": [{"importance": [["000002", 0.89305], ["000003", 0.09282],
776
+ ["000001", 0.01413]], "predictions": {"categories": [["Iris-setosa", 52],
777
+ ["Iris-versicolor", 46], ["Iris-virginica", 52]]}, "training": {"categories":
778
+ [["Iris-setosa", 52], ["Iris-versicolor", 46], ["Iris-virginica", 52]]}},
779
+ {"importance": [], "predictions": {}, "training": {}}], "error_models": 0,
780
+ "fields_maps": null, "finished_models": 1, "locale": "en-US", "max_columns":
781
+ 5, "max_rows": 150, "models": ["model/53aae4b10af5e8153500113a"], "name":
782
+ "iris'' dataset ensemble", "node_threshold": 512, "number_of_batchpredictions":
783
+ 0, "number_of_evaluations": 0, "number_of_models": 2, "number_of_predictions":
784
+ 0, "number_of_public_predictions": 0, "objective_field": "000004", "objective_field_details":
785
+ {"column_number": 4, "datatype": "string", "name": "species", "optype": "categorical",
786
+ "preferred": true, "term_analysis": {"enabled": true}}, "ordering": 0, "out_of_bag":
787
+ false, "price": 0.0, "private": true, "randomize": false, "range": [1, 150],
788
+ "replacement": true, "resource": "ensemble/53aae4b10af5e81535001137", "rows":
789
+ 150, "sample_rate": 1.0, "shared": false, "size": 9216, "source": "source/53aae4adffa0440855001a71",
790
+ "source_status": true, "stat_pruning": false, "status": {"code": 3, "elapsed":
791
+ 4082.0, "message": "The ensemble creation has been started", "progress": 0.5},
792
+ "subscription": false, "tags": ["species"], "tlp": 1, "updated": "2014-06-25T15:03:17.395000"}'
793
+ http_version: '1.1'
794
+ recorded_at: Wed, 25 Jun 2014 15:03:17 GMT
795
+ - request:
796
+ method: get
797
+ uri: https://bigml.io/dev/andromeda/ensemble/53aae4b10af5e81535001137?username=<USERNAME>&api_key=<API_KEY>
798
+ body:
799
+ encoding: US-ASCII
800
+ string: ''
801
+ headers: {}
802
+ response:
803
+ status:
804
+ code: 200
805
+ message: OK
806
+ headers:
807
+ access-control-allow-methods:
808
+ - POST,GET,PUT,DELETE
809
+ access-control-allow-origin:
810
+ - "*"
811
+ content-type:
812
+ - application/json
813
+ date:
814
+ - Wed, 25 Jun 2014 15:03:18 GMT
815
+ server:
816
+ - nginx/1.0.12
817
+ vary:
818
+ - Accept-Encoding
819
+ transfer-encoding:
820
+ - chunked
821
+ connection:
822
+ - Close
823
+ body:
824
+ encoding: UTF-8
825
+ string: '{"balance_objective": false, "category": 0, "code": 200, "columns":
826
+ 5, "created": "2014-06-25T15:03:13.313000", "credits": 0.03515625, "credits_per_prediction":
827
+ 0.0, "dataset": "dataset/53aae4afffa044085d000927", "dataset_field_types":
828
+ {"categorical": 1, "datetime": 0, "numeric": 4, "preferred": 5, "text": 0,
829
+ "total": 5}, "dataset_status": true, "datasets": [], "description": "", "dev":
830
+ true, "distributions": [{"importance": [["000002", 0.89305], ["000003", 0.09282],
831
+ ["000001", 0.01413]], "predictions": {"categories": [["Iris-setosa", 52],
832
+ ["Iris-versicolor", 46], ["Iris-virginica", 52]]}, "training": {"categories":
833
+ [["Iris-setosa", 52], ["Iris-versicolor", 46], ["Iris-virginica", 52]]}},
834
+ {"importance": [], "predictions": {}, "training": {}}], "error_models": 0,
835
+ "fields_maps": null, "finished_models": 1, "locale": "en-US", "max_columns":
836
+ 5, "max_rows": 150, "models": ["model/53aae4b10af5e8153500113a", "model/53aae4b5c8db635c39000370"],
837
+ "name": "iris'' dataset ensemble", "node_threshold": 512, "number_of_batchpredictions":
838
+ 0, "number_of_evaluations": 0, "number_of_models": 2, "number_of_predictions":
839
+ 0, "number_of_public_predictions": 0, "objective_field": "000004", "objective_field_details":
840
+ {"column_number": 4, "datatype": "string", "name": "species", "optype": "categorical",
841
+ "preferred": true, "term_analysis": {"enabled": true}}, "ordering": 0, "out_of_bag":
842
+ false, "price": 0.0, "private": true, "randomize": false, "range": [1, 150],
843
+ "replacement": true, "resource": "ensemble/53aae4b10af5e81535001137", "rows":
844
+ 150, "sample_rate": 1.0, "shared": false, "size": 9216, "source": "source/53aae4adffa0440855001a71",
845
+ "source_status": true, "stat_pruning": false, "status": {"code": 3, "elapsed":
846
+ 4082.0, "message": "The ensemble creation has been started", "progress": 0.5},
847
+ "subscription": false, "tags": ["species"], "tlp": 1, "updated": "2014-06-25T15:03:17.395000"}'
848
+ http_version: '1.1'
849
+ recorded_at: Wed, 25 Jun 2014 15:03:19 GMT
850
+ - request:
851
+ method: get
852
+ uri: https://bigml.io/dev/andromeda/ensemble/53aae4b10af5e81535001137?username=<USERNAME>&api_key=<API_KEY>
853
+ body:
854
+ encoding: US-ASCII
855
+ string: ''
856
+ headers: {}
857
+ response:
858
+ status:
859
+ code: 200
860
+ message: OK
861
+ headers:
862
+ access-control-allow-methods:
863
+ - POST,GET,PUT,DELETE
864
+ access-control-allow-origin:
865
+ - "*"
866
+ content-type:
867
+ - application/json
868
+ date:
869
+ - Wed, 25 Jun 2014 15:03:20 GMT
870
+ server:
871
+ - nginx/1.0.12
872
+ vary:
873
+ - Accept-Encoding
874
+ transfer-encoding:
875
+ - chunked
876
+ connection:
877
+ - Close
878
+ body:
879
+ encoding: UTF-8
880
+ string: '{"balance_objective": false, "category": 0, "code": 200, "columns":
881
+ 5, "created": "2014-06-25T15:03:13.313000", "credits": 0.03515625, "credits_per_prediction":
882
+ 0.0, "dataset": "dataset/53aae4afffa044085d000927", "dataset_field_types":
883
+ {"categorical": 1, "datetime": 0, "numeric": 4, "preferred": 5, "text": 0,
884
+ "total": 5}, "dataset_status": true, "datasets": [], "description": "", "dev":
885
+ true, "distributions": [{"importance": [["000002", 0.89305], ["000003", 0.09282],
886
+ ["000001", 0.01413]], "predictions": {"categories": [["Iris-setosa", 52],
887
+ ["Iris-versicolor", 46], ["Iris-virginica", 52]]}, "training": {"categories":
888
+ [["Iris-setosa", 52], ["Iris-versicolor", 46], ["Iris-virginica", 52]]}},
889
+ {"importance": [], "predictions": {}, "training": {}}], "error_models": 0,
890
+ "fields_maps": null, "finished_models": 1, "locale": "en-US", "max_columns":
891
+ 5, "max_rows": 150, "models": ["model/53aae4b10af5e8153500113a", "model/53aae4b5c8db635c39000370"],
892
+ "name": "iris'' dataset ensemble", "node_threshold": 512, "number_of_batchpredictions":
893
+ 0, "number_of_evaluations": 0, "number_of_models": 2, "number_of_predictions":
894
+ 0, "number_of_public_predictions": 0, "objective_field": "000004", "objective_field_details":
895
+ {"column_number": 4, "datatype": "string", "name": "species", "optype": "categorical",
896
+ "preferred": true, "term_analysis": {"enabled": true}}, "ordering": 0, "out_of_bag":
897
+ false, "price": 0.0, "private": true, "randomize": false, "range": [1, 150],
898
+ "replacement": true, "resource": "ensemble/53aae4b10af5e81535001137", "rows":
899
+ 150, "sample_rate": 1.0, "shared": false, "size": 9216, "source": "source/53aae4adffa0440855001a71",
900
+ "source_status": true, "stat_pruning": false, "status": {"code": 3, "elapsed":
901
+ 4082.0, "message": "The ensemble creation has been started", "progress": 0.5},
902
+ "subscription": false, "tags": ["species"], "tlp": 1, "updated": "2014-06-25T15:03:17.395000"}'
903
+ http_version: '1.1'
904
+ recorded_at: Wed, 25 Jun 2014 15:03:20 GMT
905
+ - request:
906
+ method: get
907
+ uri: https://bigml.io/dev/andromeda/ensemble/53aae4b10af5e81535001137?username=<USERNAME>&api_key=<API_KEY>
908
+ body:
909
+ encoding: US-ASCII
910
+ string: ''
911
+ headers: {}
912
+ response:
913
+ status:
914
+ code: 200
915
+ message: OK
916
+ headers:
917
+ access-control-allow-methods:
918
+ - POST,GET,PUT,DELETE
919
+ access-control-allow-origin:
920
+ - "*"
921
+ content-type:
922
+ - application/json
923
+ date:
924
+ - Wed, 25 Jun 2014 15:03:21 GMT
925
+ server:
926
+ - nginx/1.0.12
927
+ vary:
928
+ - Accept-Encoding
929
+ transfer-encoding:
930
+ - chunked
931
+ connection:
932
+ - Close
933
+ body:
934
+ encoding: UTF-8
935
+ string: '{"balance_objective": false, "category": 0, "code": 200, "columns":
936
+ 5, "created": "2014-06-25T15:03:13.313000", "credits": 0.03515625, "credits_per_prediction":
937
+ 0.0, "dataset": "dataset/53aae4afffa044085d000927", "dataset_field_types":
938
+ {"categorical": 1, "datetime": 0, "numeric": 4, "preferred": 5, "text": 0,
939
+ "total": 5}, "dataset_status": true, "datasets": [], "description": "", "dev":
940
+ true, "distributions": [{"importance": [["000002", 0.89305], ["000003", 0.09282],
941
+ ["000001", 0.01413]], "predictions": {"categories": [["Iris-setosa", 52],
942
+ ["Iris-versicolor", 46], ["Iris-virginica", 52]]}, "training": {"categories":
943
+ [["Iris-setosa", 52], ["Iris-versicolor", 46], ["Iris-virginica", 52]]}},
944
+ {"importance": [], "predictions": {}, "training": {}}], "error_models": 0,
945
+ "fields_maps": null, "finished_models": 1, "locale": "en-US", "max_columns":
946
+ 5, "max_rows": 150, "models": ["model/53aae4b10af5e8153500113a", "model/53aae4b5c8db635c39000370"],
947
+ "name": "iris'' dataset ensemble", "node_threshold": 512, "number_of_batchpredictions":
948
+ 0, "number_of_evaluations": 0, "number_of_models": 2, "number_of_predictions":
949
+ 0, "number_of_public_predictions": 0, "objective_field": "000004", "objective_field_details":
950
+ {"column_number": 4, "datatype": "string", "name": "species", "optype": "categorical",
951
+ "preferred": true, "term_analysis": {"enabled": true}}, "ordering": 0, "out_of_bag":
952
+ false, "price": 0.0, "private": true, "randomize": false, "range": [1, 150],
953
+ "replacement": true, "resource": "ensemble/53aae4b10af5e81535001137", "rows":
954
+ 150, "sample_rate": 1.0, "shared": false, "size": 9216, "source": "source/53aae4adffa0440855001a71",
955
+ "source_status": true, "stat_pruning": false, "status": {"code": 3, "elapsed":
956
+ 4082.0, "message": "The ensemble creation has been started", "progress": 0.5},
957
+ "subscription": false, "tags": ["species"], "tlp": 1, "updated": "2014-06-25T15:03:17.395000"}'
958
+ http_version: '1.1'
959
+ recorded_at: Wed, 25 Jun 2014 15:03:21 GMT
960
+ - request:
961
+ method: get
962
+ uri: https://bigml.io/dev/andromeda/ensemble/53aae4b10af5e81535001137?username=<USERNAME>&api_key=<API_KEY>
963
+ body:
964
+ encoding: US-ASCII
965
+ string: ''
966
+ headers: {}
967
+ response:
968
+ status:
969
+ code: 200
970
+ message: OK
971
+ headers:
972
+ access-control-allow-methods:
973
+ - POST,GET,PUT,DELETE
974
+ access-control-allow-origin:
975
+ - "*"
976
+ content-type:
977
+ - application/json
978
+ date:
979
+ - Wed, 25 Jun 2014 15:03:22 GMT
980
+ server:
981
+ - nginx/1.0.12
982
+ vary:
983
+ - Accept-Encoding
984
+ transfer-encoding:
985
+ - chunked
986
+ connection:
987
+ - Close
988
+ body:
989
+ encoding: UTF-8
990
+ string: '{"balance_objective": false, "category": 0, "code": 200, "columns":
991
+ 5, "created": "2014-06-25T15:03:13.313000", "credits": 0.03515625, "credits_per_prediction":
992
+ 0.0, "dataset": "dataset/53aae4afffa044085d000927", "dataset_field_types":
993
+ {"categorical": 1, "datetime": 0, "numeric": 4, "preferred": 5, "text": 0,
994
+ "total": 5}, "dataset_status": true, "datasets": [], "description": "", "dev":
995
+ true, "distributions": [{"importance": [["000002", 0.89305], ["000003", 0.09282],
996
+ ["000001", 0.01413]], "predictions": {"categories": [["Iris-setosa", 52],
997
+ ["Iris-versicolor", 46], ["Iris-virginica", 52]]}, "training": {"categories":
998
+ [["Iris-setosa", 52], ["Iris-versicolor", 46], ["Iris-virginica", 52]]}},
999
+ {"importance": [["000002", 0.94706], ["000003", 0.03326], ["000000", 0.01967]],
1000
+ "predictions": {"categories": [["Iris-setosa", 49], ["Iris-versicolor", 53],
1001
+ ["Iris-virginica", 48]]}, "training": {"categories": [["Iris-setosa", 49],
1002
+ ["Iris-versicolor", 53], ["Iris-virginica", 48]]}}], "error_models": 0, "fields_maps":
1003
+ null, "finished_models": 2, "locale": "en-US", "max_columns": 5, "max_rows":
1004
+ 150, "models": ["model/53aae4b10af5e8153500113a", "model/53aae4b5c8db635c39000370"],
1005
+ "name": "iris'' dataset ensemble", "node_threshold": 512, "number_of_batchpredictions":
1006
+ 0, "number_of_evaluations": 0, "number_of_models": 2, "number_of_predictions":
1007
+ 0, "number_of_public_predictions": 0, "objective_field": "000004", "objective_field_details":
1008
+ {"column_number": 4, "datatype": "string", "name": "species", "optype": "categorical",
1009
+ "preferred": true, "term_analysis": {"enabled": true}}, "ordering": 0, "out_of_bag":
1010
+ false, "price": 0.0, "private": true, "randomize": false, "range": [1, 150],
1011
+ "replacement": true, "resource": "ensemble/53aae4b10af5e81535001137", "rows":
1012
+ 150, "sample_rate": 1.0, "shared": false, "size": 9216, "source": "source/53aae4adffa0440855001a71",
1013
+ "source_status": true, "stat_pruning": false, "status": {"code": 5, "elapsed":
1014
+ 8331.0, "message": "The ensemble has been created", "progress": 1.0}, "subscription":
1015
+ false, "tags": ["species"], "tlp": 1, "updated": "2014-06-25T15:03:21.644000"}'
1016
+ http_version: '1.1'
1017
+ recorded_at: Wed, 25 Jun 2014 15:03:22 GMT
1018
+ - request:
1019
+ method: delete
1020
+ uri: https://bigml.io/dev/andromeda/ensemble/53aae4b10af5e81535001137?username=<USERNAME>&api_key=<API_KEY>
1021
+ body:
1022
+ encoding: US-ASCII
1023
+ string: ''
1024
+ headers: {}
1025
+ response:
1026
+ status:
1027
+ code: 204
1028
+ message: NO CONTENT
1029
+ headers:
1030
+ access-control-allow-methods:
1031
+ - POST,GET,PUT,DELETE
1032
+ access-control-allow-origin:
1033
+ - "*"
1034
+ content-length:
1035
+ - '0'
1036
+ content-type:
1037
+ - text/html; charset=utf-8
1038
+ date:
1039
+ - Wed, 25 Jun 2014 15:03:22 GMT
1040
+ server:
1041
+ - nginx/1.0.12
1042
+ connection:
1043
+ - Close
1044
+ body:
1045
+ encoding: US-ASCII
1046
+ string: ''
1047
+ http_version: '1.1'
1048
+ recorded_at: Wed, 25 Jun 2014 15:03:22 GMT
1049
+ - request:
1050
+ method: get
1051
+ uri: https://bigml.io/dev/andromeda/ensemble/53aae4b10af5e81535001137?username=<USERNAME>&api_key=<API_KEY>
1052
+ body:
1053
+ encoding: US-ASCII
1054
+ string: ''
1055
+ headers: {}
1056
+ response:
1057
+ status:
1058
+ code: 404
1059
+ message: NOT FOUND
1060
+ headers:
1061
+ access-control-allow-methods:
1062
+ - POST,GET,PUT,DELETE
1063
+ access-control-allow-origin:
1064
+ - "*"
1065
+ content-type:
1066
+ - application/json
1067
+ date:
1068
+ - Wed, 25 Jun 2014 15:03:22 GMT
1069
+ server:
1070
+ - nginx/1.0.12
1071
+ transfer-encoding:
1072
+ - chunked
1073
+ connection:
1074
+ - Close
1075
+ body:
1076
+ encoding: UTF-8
1077
+ string: '{"code": 404, "status": {"code": -1201, "extra": ["Couldn''t find an
1078
+ instance of ''Ensemble'' which matched ''pk=53aae4b10af5e81535001137''."],
1079
+ "message": "Id does not exist"}}'
1080
+ http_version: '1.1'
1081
+ recorded_at: Wed, 25 Jun 2014 15:03:22 GMT
1082
+ recorded_with: VCR 2.9.2