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,853 @@
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:04:16 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:03:24.074000", "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": 1, "private": true, "resource": "source/53aae4bc0af5e8153700089c",
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": 375, "message": "The source has been created"}, "subscription":
44
+ false, "tags": [], "term_analysis": {"enabled": true}, "type": 0, "updated":
45
+ "2014-06-25T15:03:36.271000"}]}'
46
+ http_version: '1.1'
47
+ recorded_at: Wed, 25 Jun 2014 15:04:16 GMT
48
+ - request:
49
+ method: delete
50
+ uri: https://bigml.io/dev/andromeda/source/53aae4bc0af5e8153700089c?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:04:16 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:04:16 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:04:16 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:03:25.679000",
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
+ 1, "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/53aae4bdffa0440855001a74", "rows": 150, "sample_rates":
121
+ null, "seeds": null, "shared": false, "size": 4608, "source": "source/53aae4bc0af5e8153700089c",
122
+ "source_status": false, "status": {"bytes": 4608, "code": 5, "elapsed": 339,
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:36.279000"}]}'
126
+ http_version: '1.1'
127
+ recorded_at: Wed, 25 Jun 2014 15:04:16 GMT
128
+ - request:
129
+ method: delete
130
+ uri: https://bigml.io/dev/andromeda/dataset/53aae4bdffa0440855001a74?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:04:16 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:04:17 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:04:17 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:03:27.406000", "credits":
192
+ 0.03515625, "credits_per_prediction": 0.0, "dataset": "dataset/53aae4bdffa0440855001a74",
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": "iris'' dataset
197
+ ensemble", "node_threshold": 512, "number_of_batchpredictions": 0, "number_of_evaluations":
198
+ 0, "number_of_models": 2, "number_of_predictions": 1, "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/53aae4bfffa044085a000e05", "rows": 150, "sample_rate":
204
+ 1.0, "shared": false, "size": 9216, "source": "source/53aae4bc0af5e8153700089c",
205
+ "source_status": false, "stat_pruning": false, "status": {"code": 5, "elapsed":
206
+ 8884.0, "message": "The ensemble has been created", "progress": 1.0}, "subscription":
207
+ false, "tags": ["species"], "tlp": 1, "updated": "2014-06-25T15:03:36.290000"}]}'
208
+ http_version: '1.1'
209
+ recorded_at: Wed, 25 Jun 2014 15:04:17 GMT
210
+ - request:
211
+ method: delete
212
+ uri: https://bigml.io/dev/andromeda/ensemble/53aae4bfffa044085a000e05?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:04:17 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:04:17 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:04:17 GMT
265
+ location:
266
+ - http://bigml.io/andromeda/source/53aae4f1ffa0440857000a33
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:04:17.353620", "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/53aae4f1ffa0440857000a33",
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:04:17.353655"}'
284
+ http_version: '1.1'
285
+ recorded_at: Wed, 25 Jun 2014 15:04:17 GMT
286
+ - request:
287
+ method: get
288
+ uri: https://bigml.io/dev/andromeda/source/53aae4f1ffa0440857000a33?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:04:17 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:04:17.353000", "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/53aae4f1ffa0440857000a33",
322
+ "shared": false, "size": 4608, "source_parser": {"missing_tokens": []}, "status":
323
+ {"code": 3, "elapsed": 0, "message": "The source is being created"}, "subscription":
324
+ false, "tags": [], "term_analysis": {}, "type": 0, "updated": "2014-06-25T15:04:17.517000"}'
325
+ http_version: '1.1'
326
+ recorded_at: Wed, 25 Jun 2014 15:04:17 GMT
327
+ - request:
328
+ method: get
329
+ uri: https://bigml.io/dev/andromeda/source/53aae4f1ffa0440857000a33?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:04:18 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:04:17.353000", "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/53aae4f1ffa0440857000a33",
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": 314, "message": "The source has been created"}, "subscription":
374
+ false, "tags": [], "term_analysis": {"enabled": true}, "type": 0, "updated":
375
+ "2014-06-25T15:04:17.833000"}'
376
+ http_version: '1.1'
377
+ recorded_at: Wed, 25 Jun 2014 15:04:19 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/53aae4f1ffa0440857000a33"}'
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:04:19 GMT
400
+ location:
401
+ - http://bigml.io/andromeda/dataset/53aae4f30af5e8152f000bc9
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:04:19.049773",
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/53aae4f30af5e8152f000bc9",
422
+ "rows": 0, "sample_rates": null, "seeds": null, "shared": false, "size": 4608,
423
+ "source": "source/53aae4f1ffa0440857000a33", "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:04:19.049808",
426
+ "user_metadata": {}}'
427
+ http_version: '1.1'
428
+ recorded_at: Wed, 25 Jun 2014 15:04:19 GMT
429
+ - request:
430
+ method: get
431
+ uri: https://bigml.io/dev/andromeda/dataset/53aae4f30af5e8152f000bc9?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:04:19 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:04:19.049000",
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/53aae4f30af5e8152f000bc9",
479
+ "rows": 0, "sample_rates": null, "seeds": null, "shared": false, "size": 4608,
480
+ "source": "source/53aae4f1ffa0440857000a33", "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:04:19.261000", "user_metadata": {}}'
485
+ http_version: '1.1'
486
+ recorded_at: Wed, 25 Jun 2014 15:04:19 GMT
487
+ - request:
488
+ method: get
489
+ uri: https://bigml.io/dev/andromeda/dataset/53aae4f30af5e8152f000bc9?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:04:20 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:04:19.049000",
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/53aae4f30af5e8152f000bc9",
576
+ "rows": 150, "sample_rates": null, "seeds": null, "shared": false, "size":
577
+ 4608, "source": "source/53aae4f1ffa0440857000a33", "source_status": true,
578
+ "status": {"bytes": 4608, "code": 5, "elapsed": 388, "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:04:19.659000",
581
+ "user_metadata": {}}'
582
+ http_version: '1.1'
583
+ recorded_at: Wed, 25 Jun 2014 15:04:20 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/53aae4f30af5e8152f000bc9","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:04:20 GMT
606
+ location:
607
+ - http://bigml.io/andromeda/ensemble/53aae4f4ffa0440855001a7b
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:04:20.759255", "credits": 0.03515625, "credits_per_prediction":
618
+ 0.0, "dataset": "dataset/53aae4f30af5e8152f000bc9", "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/53aae4f4ffa0440855001a7e"], "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/53aae4f4ffa0440855001a7b",
630
+ "rows": 150, "sample_rate": 1.0, "shared": false, "size": 9216, "source":
631
+ "source/53aae4f1ffa0440857000a33", "source_status": true, "stat_pruning":
632
+ false, "status": {"code": 3, "elapsed": 0.036000000000000004, "message": "The
633
+ ensemble creation has been started", "progress": 0.0}, "subscription": false,
634
+ "tags": ["species"], "tlp": 1, "updated": "2014-06-25T15:04:20.759291"}'
635
+ http_version: '1.1'
636
+ recorded_at: Wed, 25 Jun 2014 15:04:21 GMT
637
+ - request:
638
+ method: get
639
+ uri: https://bigml.io/dev/andromeda/dataset/53aae4f30af5e8152f000bc9?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:04:21 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: '{"all_fields": true, "category": 0, "cluster": null, "cluster_status":
668
+ true, "code": 200, "columns": 5, "created": "2014-06-25T15:04:19.049000",
669
+ "credits": 0.00439453125, "description": "", "dev": true, "download": {"code":
670
+ 0, "excluded_input_fields": [], "header": true, "input_fields": [], "message":
671
+ "", "preview": [], "separator": ","}, "excluded_fields": [], "field_types":
672
+ {"categorical": 1, "datetime": 0, "numeric": 4, "preferred": 5, "text": 0,
673
+ "total": 5}, "fields": {"000000": {"column_number": 0, "datatype": "double",
674
+ "name": "sepal length", "optype": "numeric", "order": 0, "preferred": true,
675
+ "summary": {"bins": [[4.3, 1], [4.425, 4], [4.6, 4], [4.77143, 7], [4.9625,
676
+ 16], [5.1, 9], [5.2, 4], [5.3, 1], [5.4, 6], [5.5, 7], [5.6, 6], [5.7, 8],
677
+ [5.8, 7], [5.9, 3], [6, 6], [6.1, 6], [6.2, 4], [6.3, 9], [6.4, 7], [6.5,
678
+ 5], [6.6, 2], [6.7, 8], [6.8, 3], [6.9, 4], [7, 1], [7.1, 1], [7.2, 3], [7.3,
679
+ 1], [7.4, 1], [7.6, 1], [7.7, 4], [7.9, 1]], "maximum": 7.9, "mean": 5.84333,
680
+ "median": 5.77889, "minimum": 4.3, "missing_count": 0, "population": 150,
681
+ "splits": [4.51526, 4.67252, 4.81113, 4.89582, 4.96139, 5.01131, 5.05992,
682
+ 5.11148, 5.18177, 5.35681, 5.44129, 5.5108, 5.58255, 5.65532, 5.71658, 5.77889,
683
+ 5.85381, 5.97078, 6.05104, 6.13074, 6.23023, 6.29578, 6.35078, 6.41459, 6.49383,
684
+ 6.63013, 6.70719, 6.79218, 6.92597, 7.20423, 7.64746], "standard_deviation":
685
+ 0.82807, "sum": 876.5, "sum_squares": 5223.85, "variance": 0.68569}}, "000001":
686
+ {"column_number": 1, "datatype": "double", "name": "sepal width", "optype":
687
+ "numeric", "order": 1, "preferred": true, "summary": {"counts": [[2, 1], [2.2,
688
+ 3], [2.3, 4], [2.4, 3], [2.5, 8], [2.6, 5], [2.7, 9], [2.8, 14], [2.9, 10],
689
+ [3, 26], [3.1, 11], [3.2, 13], [3.3, 6], [3.4, 12], [3.5, 6], [3.6, 4], [3.7,
690
+ 3], [3.8, 6], [3.9, 2], [4, 1], [4.1, 1], [4.2, 1], [4.4, 1]], "maximum":
691
+ 4.4, "mean": 3.05733, "median": 3.02044, "minimum": 2, "missing_count": 0,
692
+ "population": 150, "standard_deviation": 0.43587, "sum": 458.6, "sum_squares":
693
+ 1430.4, "variance": 0.18998}}, "000002": {"column_number": 2, "datatype":
694
+ "double", "name": "petal length", "optype": "numeric", "order": 2, "preferred":
695
+ true, "summary": {"bins": [[1, 1], [1.16667, 3], [1.3, 7], [1.4, 13], [1.5,
696
+ 13], [1.6, 7], [1.7, 4], [1.9, 2], [3, 1], [3.3, 2], [3.5, 2], [3.6, 1], [3.75,
697
+ 2], [3.9, 3], [4.0375, 8], [4.23333, 6], [4.46667, 12], [4.6, 3], [4.74444,
698
+ 9], [4.94444, 9], [5.1, 8], [5.25, 4], [5.46, 5], [5.6, 6], [5.75, 6], [5.95,
699
+ 4], [6.1, 3], [6.3, 1], [6.4, 1], [6.6, 1], [6.7, 2], [6.9, 1]], "maximum":
700
+ 6.9, "mean": 3.758, "median": 4.34142, "minimum": 1, "missing_count": 0, "population":
701
+ 150, "splits": [1.25138, 1.32426, 1.37171, 1.40962, 1.44567, 1.48173, 1.51859,
702
+ 1.56301, 1.6255, 1.74645, 3.23033, 3.675, 3.94203, 4.0469, 4.18243, 4.34142,
703
+ 4.45309, 4.51823, 4.61771, 4.72566, 4.83445, 4.93363, 5.03807, 5.1064, 5.20938,
704
+ 5.43979, 5.5744, 5.6646, 5.81496, 6.02913, 6.38125], "standard_deviation":
705
+ 1.7653, "sum": 563.7, "sum_squares": 2582.71, "variance": 3.11628}}, "000003":
706
+ {"column_number": 3, "datatype": "double", "name": "petal width", "optype":
707
+ "numeric", "order": 3, "preferred": true, "summary": {"counts": [[0.1, 5],
708
+ [0.2, 29], [0.3, 7], [0.4, 7], [0.5, 1], [0.6, 1], [1, 7], [1.1, 3], [1.2,
709
+ 5], [1.3, 13], [1.4, 8], [1.5, 12], [1.6, 4], [1.7, 2], [1.8, 12], [1.9, 5],
710
+ [2, 6], [2.1, 6], [2.2, 3], [2.3, 8], [2.4, 3], [2.5, 3]], "maximum": 2.5,
711
+ "mean": 1.19933, "median": 1.32848, "minimum": 0.1, "missing_count": 0, "population":
712
+ 150, "standard_deviation": 0.76224, "sum": 179.9, "sum_squares": 302.33, "variance":
713
+ 0.58101}}, "000004": {"column_number": 4, "datatype": "string", "name": "species",
714
+ "optype": "categorical", "order": 4, "preferred": true, "summary": {"categories":
715
+ [["Iris-setosa", 50], ["Iris-versicolor", 50], ["Iris-virginica", 50]], "missing_count":
716
+ 0}, "term_analysis": {"enabled": true}}}, "fields_meta": {"count": 5, "limit":
717
+ 1000, "offset": 0, "query_total": 5, "total": 5}, "locale": "en_US", "missing_numeric_rows":
718
+ 0, "missing_tokens": ["", "NaN", "NULL", "N/A", "null", "-", "#REF!", "#VALUE!",
719
+ "?", "#NULL!", "#NUM!", "#DIV/0", "n/a", "#NAME?", "NIL", "nil", "na", "#N/A",
720
+ "NA"], "name": "iris'' dataset", "number_of_batchcentroids": 0, "number_of_batchpredictions":
721
+ 0, "number_of_clusters": 0, "number_of_ensembles": 1, "number_of_evaluations":
722
+ 0, "number_of_models": 0, "number_of_predictions": 0, "objective_field": {"column_number":
723
+ 4, "datatype": "string", "id": "000004", "name": "species", "optype": "categorical",
724
+ "order": 4, "term_analysis": {"enabled": true}}, "price": 0.0, "private":
725
+ true, "ranges": null, "replacements": null, "resource": "dataset/53aae4f30af5e8152f000bc9",
726
+ "rows": 150, "sample_rates": null, "seeds": null, "shared": false, "size":
727
+ 4608, "source": "source/53aae4f1ffa0440857000a33", "source_status": true,
728
+ "status": {"bytes": 4608, "code": 5, "elapsed": 388, "field_errors": [], "message":
729
+ "The dataset has been created", "row_format_errors": [], "serialized_rows":
730
+ 150}, "subscription": false, "tags": [], "term_limit": 32, "updated": "2014-06-25T15:04:20.778000",
731
+ "user_metadata": {}}'
732
+ http_version: '1.1'
733
+ recorded_at: Wed, 25 Jun 2014 15:04:21 GMT
734
+ - request:
735
+ method: post
736
+ uri: https://bigml.io/dev/andromeda/ensemble?username=<USERNAME>&api_key=<API_KEY>
737
+ body:
738
+ encoding: UTF-8
739
+ string: '{"dataset":"dataset/53aae4f30af5e8152f000bc9","number_of_models":3}'
740
+ headers:
741
+ content-type:
742
+ - application/json
743
+ response:
744
+ status:
745
+ code: 201
746
+ message: CREATED
747
+ headers:
748
+ access-control-allow-methods:
749
+ - POST,GET,PUT,DELETE
750
+ access-control-allow-origin:
751
+ - "*"
752
+ content-type:
753
+ - application/json
754
+ date:
755
+ - Wed, 25 Jun 2014 15:04:21 GMT
756
+ location:
757
+ - http://bigml.io/andromeda/ensemble/53aae4f5ffa044085d00092f
758
+ server:
759
+ - nginx/1.0.12
760
+ transfer-encoding:
761
+ - chunked
762
+ connection:
763
+ - Close
764
+ body:
765
+ encoding: UTF-8
766
+ string: '{"balance_objective": false, "category": 0, "code": 201, "columns":
767
+ 5, "created": "2014-06-25T15:04:21.455070", "credits": 0.052734375, "credits_per_prediction":
768
+ 0.0, "dataset": "dataset/53aae4f30af5e8152f000bc9", "dataset_field_types":
769
+ {"categorical": 1, "datetime": 0, "numeric": 4, "preferred": 5, "text": 0,
770
+ "total": 5}, "dataset_status": true, "datasets": [], "description": "", "dev":
771
+ true, "distributions": [{"importance": [], "predictions": {}, "training":
772
+ {}}, {"importance": [], "predictions": {}, "training": {}}, {"importance":
773
+ [], "predictions": {}, "training": {}}], "error_models": 0, "fields_maps":
774
+ null, "finished_models": 0, "locale": "en-US", "max_columns": 5, "max_rows":
775
+ 150, "models": ["model/53aae4f5ffa044085d000932"], "name": "iris'' dataset
776
+ ensemble", "node_threshold": 512, "number_of_batchpredictions": 0, "number_of_evaluations":
777
+ 0, "number_of_models": 3, "number_of_predictions": 0, "number_of_public_predictions":
778
+ 0, "objective_field": "000004", "ordering": 0, "out_of_bag": false, "price":
779
+ 0.0, "private": true, "randomize": false, "range": [1, 150], "replacement":
780
+ true, "resource": "ensemble/53aae4f5ffa044085d00092f", "rows": 150, "sample_rate":
781
+ 1.0, "shared": false, "size": 13824, "source": "source/53aae4f1ffa0440857000a33",
782
+ "source_status": true, "stat_pruning": false, "status": {"code": 3, "elapsed":
783
+ 0.034999999999999996, "message": "The ensemble creation has been started",
784
+ "progress": 0.0}, "subscription": false, "tags": ["species"], "tlp": 1, "updated":
785
+ "2014-06-25T15:04:21.455105"}'
786
+ http_version: '1.1'
787
+ recorded_at: Wed, 25 Jun 2014 15:04:21 GMT
788
+ - request:
789
+ method: get
790
+ uri: https://bigml.io/dev/andromeda/ensemble?username=<USERNAME>&api_key=<API_KEY>
791
+ body:
792
+ encoding: US-ASCII
793
+ string: ''
794
+ headers: {}
795
+ response:
796
+ status:
797
+ code: 200
798
+ message: OK
799
+ headers:
800
+ access-control-allow-methods:
801
+ - POST,GET,PUT,DELETE
802
+ access-control-allow-origin:
803
+ - "*"
804
+ content-type:
805
+ - application/json
806
+ date:
807
+ - Wed, 25 Jun 2014 15:04:21 GMT
808
+ server:
809
+ - nginx/1.0.12
810
+ vary:
811
+ - Accept-Encoding
812
+ transfer-encoding:
813
+ - chunked
814
+ connection:
815
+ - Close
816
+ body:
817
+ encoding: UTF-8
818
+ string: '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
819
+ "total_count": 2}, "objects": [{"balance_objective": false, "category": 0,
820
+ "code": 200, "columns": 5, "created": "2014-06-25T15:04:21.455000", "credits":
821
+ 0.052734375, "credits_per_prediction": 0.0, "dataset": "dataset/53aae4f30af5e8152f000bc9",
822
+ "dataset_field_types": {"categorical": 1, "datetime": 0, "numeric": 4, "preferred":
823
+ 5, "text": 0, "total": 5}, "dataset_status": true, "datasets": [], "description":
824
+ "", "dev": true, "error_models": 0, "fields_maps": null, "finished_models":
825
+ 0, "locale": "en-US", "max_columns": 5, "max_rows": 150, "name": "iris'' dataset
826
+ ensemble", "node_threshold": 512, "number_of_batchpredictions": 0, "number_of_evaluations":
827
+ 0, "number_of_models": 3, "number_of_predictions": 0, "number_of_public_predictions":
828
+ 0, "objective_field": "000004", "ordering": 0, "out_of_bag": false, "price":
829
+ 0.0, "private": true, "randomize": false, "range": [1, 150], "replacement":
830
+ true, "resource": "ensemble/53aae4f5ffa044085d00092f", "rows": 150, "sample_rate":
831
+ 1.0, "shared": false, "size": 13824, "source": "source/53aae4f1ffa0440857000a33",
832
+ "source_status": true, "stat_pruning": false, "status": {"code": 3, "elapsed":
833
+ 31.0, "message": "The ensemble creation has been started", "progress": 0.0},
834
+ "subscription": false, "tags": ["species"], "tlp": 1, "updated": "2014-06-25T15:04:21.486000"},
835
+ {"balance_objective": false, "category": 0, "code": 200, "columns": 5, "created":
836
+ "2014-06-25T15:04:20.759000", "credits": 0.03515625, "credits_per_prediction":
837
+ 0.0, "dataset": "dataset/53aae4f30af5e8152f000bc9", "dataset_field_types":
838
+ {"categorical": 1, "datetime": 0, "numeric": 4, "preferred": 5, "text": 0,
839
+ "total": 5}, "dataset_status": true, "datasets": [], "description": "", "dev":
840
+ true, "error_models": 0, "fields_maps": null, "finished_models": 0, "locale":
841
+ "en-US", "max_columns": 5, "max_rows": 150, "name": "iris'' dataset ensemble",
842
+ "node_threshold": 512, "number_of_batchpredictions": 0, "number_of_evaluations":
843
+ 0, "number_of_models": 2, "number_of_predictions": 0, "number_of_public_predictions":
844
+ 0, "objective_field": "000004", "ordering": 0, "out_of_bag": false, "price":
845
+ 0.0, "private": true, "randomize": false, "range": [1, 150], "replacement":
846
+ true, "resource": "ensemble/53aae4f4ffa0440855001a7b", "rows": 150, "sample_rate":
847
+ 1.0, "shared": false, "size": 9216, "source": "source/53aae4f1ffa0440857000a33",
848
+ "source_status": true, "stat_pruning": false, "status": {"code": 3, "elapsed":
849
+ 31.0, "message": "The ensemble creation has been started", "progress": 0.0},
850
+ "subscription": false, "tags": ["species"], "tlp": 1, "updated": "2014-06-25T15:04:20.790000"}]}'
851
+ http_version: '1.1'
852
+ recorded_at: Wed, 25 Jun 2014 15:04:22 GMT
853
+ recorded_with: VCR 2.9.2