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