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,1373 @@
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:22:21 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:22:13.621000", "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/53aadb150af5e81535000f5a",
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": 475, "message": "The source has been created"}, "subscription":
44
+ false, "tags": [], "term_analysis": {"enabled": true}, "type": 0, "updated":
45
+ "2014-06-25T14:22:17.117000"}]}'
46
+ http_version: '1.1'
47
+ recorded_at: Wed, 25 Jun 2014 14:22:21 GMT
48
+ - request:
49
+ method: delete
50
+ uri: https://bigml.io/dev/andromeda/source/53aadb150af5e81535000f5a?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:22:21 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:22:21 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:22:21 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:22:15.282000",
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/53aadb170af5e8152c001564", "rows": 150, "sample_rates":
121
+ null, "seeds": null, "shared": false, "size": 4608, "source": "source/53aadb150af5e81535000f5a",
122
+ "source_status": false, "status": {"bytes": 4608, "code": 5, "elapsed": 352,
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:22:19.142000"}]}'
126
+ http_version: '1.1'
127
+ recorded_at: Wed, 25 Jun 2014 14:22:21 GMT
128
+ - request:
129
+ method: delete
130
+ uri: https://bigml.io/dev/andromeda/dataset/53aadb170af5e8152c001564?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:22:22 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:22:22 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:22:22 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:22:17.106000", "credits":
192
+ 0.017578125, "credits_per_prediction": 0.0, "dataset": "dataset/53aadb170af5e8152c001564",
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/53aadb190af5e81535000f5d", "rows": 150, "sample_rate":
202
+ 1.0, "selective_pruning": true, "shared": false, "size": 4608, "source": "source/53aadb150af5e81535000f5a",
203
+ "source_status": false, "stat_pruning": true, "status": {"code": 5, "elapsed":
204
+ 597, "message": "The model has been created", "progress": 1.0}, "subscription":
205
+ false, "tags": ["species"], "updated": "2014-06-25T14:22:19.154000", "white_box":
206
+ false}]}'
207
+ http_version: '1.1'
208
+ recorded_at: Wed, 25 Jun 2014 14:22:22 GMT
209
+ - request:
210
+ method: delete
211
+ uri: https://bigml.io/dev/andromeda/model/53aadb190af5e81535000f5d?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:22:22 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:22:22 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:22:22 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:22:19.132000", "credits": 1.5, "dataset": "dataset/53aadb170af5e8152c001564",
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/53aadb190af5e81535000f5d", "model_status": false, "model_type":
276
+ 0, "name": "foo name", "number_of_models": 1, "ordering": 0, "out_of_bag":
277
+ false, "private": true, "range": [1, 150], "replacement": false, "resource":
278
+ "evaluation/53aadb1b0af5e81535000f60", "rows": 150, "sample_rate": 1.0, "sampled_rows":
279
+ 150, "shared": false, "size": 4608, "status": {"code": 5, "elapsed": 352,
280
+ "message": "The evaluation has been performed", "progress": 1.0}, "subscription":
281
+ false, "tags": [], "type": 0, "updated": "2014-06-25T14:22:20.783000"}]}'
282
+ http_version: '1.1'
283
+ recorded_at: Wed, 25 Jun 2014 14:22:22 GMT
284
+ - request:
285
+ method: delete
286
+ uri: https://bigml.io/dev/andromeda/evaluation/53aadb1b0af5e81535000f60?username=<USERNAME>&api_key=<API_KEY>
287
+ body:
288
+ encoding: US-ASCII
289
+ string: ''
290
+ headers: {}
291
+ response:
292
+ status:
293
+ code: 204
294
+ message: NO CONTENT
295
+ headers:
296
+ access-control-allow-methods:
297
+ - POST,GET,PUT,DELETE
298
+ access-control-allow-origin:
299
+ - "*"
300
+ content-length:
301
+ - '0'
302
+ content-type:
303
+ - text/html; charset=utf-8
304
+ date:
305
+ - Wed, 25 Jun 2014 14:22:22 GMT
306
+ server:
307
+ - nginx/1.0.12
308
+ connection:
309
+ - Close
310
+ body:
311
+ encoding: US-ASCII
312
+ string: ''
313
+ http_version: '1.1'
314
+ recorded_at: Wed, 25 Jun 2014 14:22:23 GMT
315
+ - request:
316
+ method: post
317
+ uri: https://bigml.io/dev/andromeda/source
318
+ body:
319
+ encoding: US-ASCII
320
+ string: ''
321
+ headers:
322
+ content-type:
323
+ - multipart/form-data; boundary=-----------RubyMultipartPost
324
+ content-length:
325
+ - '5150'
326
+ response:
327
+ status:
328
+ code: 201
329
+ message: CREATED
330
+ headers:
331
+ access-control-allow-methods:
332
+ - POST,GET,PUT,DELETE
333
+ access-control-allow-origin:
334
+ - "*"
335
+ content-type:
336
+ - application/json
337
+ date:
338
+ - Wed, 25 Jun 2014 14:22:23 GMT
339
+ location:
340
+ - http://bigml.io/andromeda/source/53aadb1fffa044085d000843
341
+ server:
342
+ - nginx/1.0.12
343
+ transfer-encoding:
344
+ - chunked
345
+ connection:
346
+ - Close
347
+ body:
348
+ encoding: UTF-8
349
+ string: '{"category": 0, "code": 201, "content_type": "application/octet-stream",
350
+ "created": "2014-06-25T14:22:23.127084", "credits": 0.0, "description": "",
351
+ "dev": true, "fields_meta": {"count": 0, "limit": 1000, "offset": 0, "total":
352
+ 0}, "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae", "name":
353
+ "iris.csv", "number_of_datasets": 0, "number_of_ensembles": 0, "number_of_models":
354
+ 0, "number_of_predictions": 0, "private": true, "resource": "source/53aadb1fffa044085d000843",
355
+ "shared": false, "size": 4608, "source_parser": {}, "status": {"code": 1,
356
+ "message": "The request has been queued and will be processed soon"}, "subscription":
357
+ false, "tags": [], "term_analysis": {}, "type": 0, "updated": "2014-06-25T14:22:23.127122"}'
358
+ http_version: '1.1'
359
+ recorded_at: Wed, 25 Jun 2014 14:22:23 GMT
360
+ - request:
361
+ method: get
362
+ uri: https://bigml.io/dev/andromeda/source/53aadb1fffa044085d000843?username=<USERNAME>&api_key=<API_KEY>
363
+ body:
364
+ encoding: US-ASCII
365
+ string: ''
366
+ headers: {}
367
+ response:
368
+ status:
369
+ code: 200
370
+ message: OK
371
+ headers:
372
+ access-control-allow-methods:
373
+ - POST,GET,PUT,DELETE
374
+ access-control-allow-origin:
375
+ - "*"
376
+ content-type:
377
+ - application/json
378
+ date:
379
+ - Wed, 25 Jun 2014 14:22:23 GMT
380
+ server:
381
+ - nginx/1.0.12
382
+ vary:
383
+ - Accept-Encoding
384
+ content-length:
385
+ - '761'
386
+ connection:
387
+ - Close
388
+ body:
389
+ encoding: UTF-8
390
+ string: '{"category": 0, "code": 200, "content_type": "application/octet-stream",
391
+ "created": "2014-06-25T14:22:23.127000", "credits": 0.0, "description": "",
392
+ "dev": true, "fields_meta": {"count": 0, "limit": 1000, "offset": 0, "query_total":
393
+ 0, "total": 0}, "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae",
394
+ "name": "iris.csv", "number_of_datasets": 0, "number_of_ensembles": 0, "number_of_models":
395
+ 0, "number_of_predictions": 0, "private": true, "resource": "source/53aadb1fffa044085d000843",
396
+ "shared": false, "size": 4608, "source_parser": {"missing_tokens": []}, "status":
397
+ {"code": 3, "elapsed": 1, "message": "The source is being created"}, "subscription":
398
+ false, "tags": [], "term_analysis": {}, "type": 0, "updated": "2014-06-25T14:22:23.319000"}'
399
+ http_version: '1.1'
400
+ recorded_at: Wed, 25 Jun 2014 14:22:23 GMT
401
+ - request:
402
+ method: get
403
+ uri: https://bigml.io/dev/andromeda/source/53aadb1fffa044085d000843?username=<USERNAME>&api_key=<API_KEY>
404
+ body:
405
+ encoding: US-ASCII
406
+ string: ''
407
+ headers: {}
408
+ response:
409
+ status:
410
+ code: 200
411
+ message: OK
412
+ headers:
413
+ access-control-allow-methods:
414
+ - POST,GET,PUT,DELETE
415
+ access-control-allow-origin:
416
+ - "*"
417
+ content-type:
418
+ - application/json
419
+ date:
420
+ - Wed, 25 Jun 2014 14:22:24 GMT
421
+ server:
422
+ - nginx/1.0.12
423
+ vary:
424
+ - Accept-Encoding
425
+ content-length:
426
+ - '1478'
427
+ connection:
428
+ - Close
429
+ body:
430
+ encoding: UTF-8
431
+ string: '{"category": 0, "code": 200, "content_type": "application/octet-stream",
432
+ "created": "2014-06-25T14:22:23.127000", "credits": 0.0, "description": "",
433
+ "dev": true, "fields": {"000000": {"column_number": 0, "name": "sepal length",
434
+ "optype": "numeric", "order": 0}, "000001": {"column_number": 1, "name": "sepal
435
+ width", "optype": "numeric", "order": 1}, "000002": {"column_number": 2, "name":
436
+ "petal length", "optype": "numeric", "order": 2}, "000003": {"column_number":
437
+ 3, "name": "petal width", "optype": "numeric", "order": 3}, "000004": {"column_number":
438
+ 4, "name": "species", "optype": "categorical", "order": 4, "term_analysis":
439
+ {"enabled": true}}}, "fields_meta": {"count": 5, "limit": 1000, "offset":
440
+ 0, "query_total": 5, "total": 5}, "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae",
441
+ "name": "iris.csv", "number_of_datasets": 0, "number_of_ensembles": 0, "number_of_models":
442
+ 0, "number_of_predictions": 0, "private": true, "resource": "source/53aadb1fffa044085d000843",
443
+ "shared": false, "size": 4608, "source_parser": {"header": true, "locale":
444
+ "en_US", "missing_tokens": ["", "NaN", "NULL", "N/A", "null", "-", "#REF!",
445
+ "#VALUE!", "?", "#NULL!", "#NUM!", "#DIV/0", "n/a", "#NAME?", "NIL", "nil",
446
+ "na", "#N/A", "NA"], "quote": "\"", "separator": ","}, "status": {"code":
447
+ 5, "elapsed": 321, "message": "The source has been created"}, "subscription":
448
+ false, "tags": [], "term_analysis": {"enabled": true}, "type": 0, "updated":
449
+ "2014-06-25T14:22:23.654000"}'
450
+ http_version: '1.1'
451
+ recorded_at: Wed, 25 Jun 2014 14:22:24 GMT
452
+ - request:
453
+ method: post
454
+ uri: https://bigml.io/dev/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
455
+ body:
456
+ encoding: UTF-8
457
+ string: '{"source":"source/53aadb1fffa044085d000843"}'
458
+ headers:
459
+ content-type:
460
+ - application/json
461
+ response:
462
+ status:
463
+ code: 201
464
+ message: CREATED
465
+ headers:
466
+ access-control-allow-methods:
467
+ - POST,GET,PUT,DELETE
468
+ access-control-allow-origin:
469
+ - "*"
470
+ content-type:
471
+ - application/json
472
+ date:
473
+ - Wed, 25 Jun 2014 14:22:24 GMT
474
+ location:
475
+ - http://bigml.io/andromeda/dataset/53aadb200af5e8153100071e
476
+ server:
477
+ - nginx/1.0.12
478
+ transfer-encoding:
479
+ - chunked
480
+ connection:
481
+ - Close
482
+ body:
483
+ encoding: UTF-8
484
+ string: '{"all_fields": true, "category": 0, "cluster": null, "cluster_status":
485
+ true, "code": 201, "columns": 0, "created": "2014-06-25T14:22:24.750867",
486
+ "credits": 0.00439453125, "description": "", "dev": true, "download": {"code":
487
+ 0, "excluded_input_fields": [], "header": true, "input_fields": [], "message":
488
+ "", "preview": [], "separator": ","}, "excluded_fields": [], "field_types":
489
+ {"categorical": 0, "datetime": 0, "numeric": 0, "preferred": 0, "text": 0,
490
+ "total": 0}, "fields_meta": {"count": 0, "limit": 1000, "offset": 0, "total":
491
+ 0}, "locale": "en-US", "missing_numeric_rows": 0, "missing_tokens": [], "name":
492
+ "iris'' dataset", "number_of_batchcentroids": 0, "number_of_batchpredictions":
493
+ 0, "number_of_clusters": 0, "number_of_ensembles": 0, "number_of_evaluations":
494
+ 0, "number_of_models": 0, "number_of_predictions": 0, "price": 0.0, "private":
495
+ true, "ranges": null, "replacements": null, "resource": "dataset/53aadb200af5e8153100071e",
496
+ "rows": 0, "sample_rates": null, "seeds": null, "shared": false, "size": 4608,
497
+ "source": "source/53aadb1fffa044085d000843", "source_status": true, "status":
498
+ {"code": 1, "message": "The dataset is being processed and will be created
499
+ soon"}, "subscription": false, "tags": [], "term_limit": 32, "updated": "2014-06-25T14:22:24.750907",
500
+ "user_metadata": {}}'
501
+ http_version: '1.1'
502
+ recorded_at: Wed, 25 Jun 2014 14:22:24 GMT
503
+ - request:
504
+ method: get
505
+ uri: https://bigml.io/dev/andromeda/dataset/53aadb200af5e8153100071e?username=<USERNAME>&api_key=<API_KEY>
506
+ body:
507
+ encoding: US-ASCII
508
+ string: ''
509
+ headers: {}
510
+ response:
511
+ status:
512
+ code: 200
513
+ message: OK
514
+ headers:
515
+ access-control-allow-methods:
516
+ - POST,GET,PUT,DELETE
517
+ access-control-allow-origin:
518
+ - "*"
519
+ content-type:
520
+ - application/json
521
+ date:
522
+ - Wed, 25 Jun 2014 14:22:25 GMT
523
+ server:
524
+ - nginx/1.0.12
525
+ vary:
526
+ - Accept-Encoding
527
+ transfer-encoding:
528
+ - chunked
529
+ connection:
530
+ - Close
531
+ body:
532
+ encoding: UTF-8
533
+ string: '{"all_fields": true, "category": 0, "cluster": null, "cluster_status":
534
+ true, "code": 200, "columns": 5, "created": "2014-06-25T14:22:24.750000",
535
+ "credits": 0.00439453125, "description": "", "dev": true, "download": {"code":
536
+ 0, "excluded_input_fields": [], "header": true, "input_fields": [], "message":
537
+ "", "preview": [], "separator": ","}, "excluded_fields": [], "field_types":
538
+ {"categorical": 0, "datetime": 0, "numeric": 0, "preferred": 0, "text": 0,
539
+ "total": 5}, "fields": {"000000": {"column_number": 0, "name": "sepal length",
540
+ "optype": "numeric", "order": 0}, "000001": {"column_number": 1, "name": "sepal
541
+ width", "optype": "numeric", "order": 1}, "000002": {"column_number": 2, "name":
542
+ "petal length", "optype": "numeric", "order": 2}, "000003": {"column_number":
543
+ 3, "name": "petal width", "optype": "numeric", "order": 3}, "000004": {"column_number":
544
+ 4, "name": "species", "optype": "categorical", "order": 4, "term_analysis":
545
+ {"enabled": true}}}, "fields_meta": {"count": 5, "limit": 1000, "offset":
546
+ 0, "query_total": 5, "total": 5}, "locale": "en_US", "missing_numeric_rows":
547
+ 0, "missing_tokens": ["", "NaN", "NULL", "N/A", "null", "-", "#REF!", "#VALUE!",
548
+ "?", "#NULL!", "#NUM!", "#DIV/0", "n/a", "#NAME?", "NIL", "nil", "na", "#N/A",
549
+ "NA"], "name": "iris'' dataset", "number_of_batchcentroids": 0, "number_of_batchpredictions":
550
+ 0, "number_of_clusters": 0, "number_of_ensembles": 0, "number_of_evaluations":
551
+ 0, "number_of_models": 0, "number_of_predictions": 0, "price": 0.0, "private":
552
+ true, "ranges": null, "replacements": null, "resource": "dataset/53aadb200af5e8153100071e",
553
+ "rows": 0, "sample_rates": null, "seeds": null, "shared": false, "size": 4608,
554
+ "source": "source/53aadb1fffa044085d000843", "source_status": true, "status":
555
+ {"bytes": 0, "code": 2, "elapsed": 0, "field_errors": [], "message": "The
556
+ dataset creation has been started. No partial summary yet", "row_format_errors":
557
+ [], "serialized_rows": 0}, "subscription": false, "tags": [], "term_limit":
558
+ 32, "updated": "2014-06-25T14:22:24.968000", "user_metadata": {}}'
559
+ http_version: '1.1'
560
+ recorded_at: Wed, 25 Jun 2014 14:22:25 GMT
561
+ - request:
562
+ method: get
563
+ uri: https://bigml.io/dev/andromeda/dataset/53aadb200af5e8153100071e?username=<USERNAME>&api_key=<API_KEY>
564
+ body:
565
+ encoding: US-ASCII
566
+ string: ''
567
+ headers: {}
568
+ response:
569
+ status:
570
+ code: 200
571
+ message: OK
572
+ headers:
573
+ access-control-allow-methods:
574
+ - POST,GET,PUT,DELETE
575
+ access-control-allow-origin:
576
+ - "*"
577
+ content-type:
578
+ - application/json
579
+ date:
580
+ - Wed, 25 Jun 2014 14:22:26 GMT
581
+ server:
582
+ - nginx/1.0.12
583
+ vary:
584
+ - Accept-Encoding
585
+ transfer-encoding:
586
+ - chunked
587
+ connection:
588
+ - Close
589
+ body:
590
+ encoding: UTF-8
591
+ string: '{"all_fields": true, "category": 0, "cluster": null, "cluster_status":
592
+ true, "code": 200, "columns": 5, "created": "2014-06-25T14:22:24.750000",
593
+ "credits": 0.00439453125, "description": "", "dev": true, "download": {"code":
594
+ 0, "excluded_input_fields": [], "header": true, "input_fields": [], "message":
595
+ "", "preview": [], "separator": ","}, "excluded_fields": [], "field_types":
596
+ {"categorical": 1, "datetime": 0, "numeric": 4, "preferred": 5, "text": 0,
597
+ "total": 5}, "fields": {"000000": {"column_number": 0, "datatype": "double",
598
+ "name": "sepal length", "optype": "numeric", "order": 0, "preferred": true,
599
+ "summary": {"bins": [[4.3, 1], [4.425, 4], [4.6, 4], [4.77143, 7], [4.9625,
600
+ 16], [5.1, 9], [5.2, 4], [5.3, 1], [5.4, 6], [5.5, 7], [5.6, 6], [5.7, 8],
601
+ [5.8, 7], [5.9, 3], [6, 6], [6.1, 6], [6.2, 4], [6.3, 9], [6.4, 7], [6.5,
602
+ 5], [6.6, 2], [6.7, 8], [6.8, 3], [6.9, 4], [7, 1], [7.1, 1], [7.2, 3], [7.3,
603
+ 1], [7.4, 1], [7.6, 1], [7.7, 4], [7.9, 1]], "maximum": 7.9, "mean": 5.84333,
604
+ "median": 5.77889, "minimum": 4.3, "missing_count": 0, "population": 150,
605
+ "splits": [4.51526, 4.67252, 4.81113, 4.89582, 4.96139, 5.01131, 5.05992,
606
+ 5.11148, 5.18177, 5.35681, 5.44129, 5.5108, 5.58255, 5.65532, 5.71658, 5.77889,
607
+ 5.85381, 5.97078, 6.05104, 6.13074, 6.23023, 6.29578, 6.35078, 6.41459, 6.49383,
608
+ 6.63013, 6.70719, 6.79218, 6.92597, 7.20423, 7.64746], "standard_deviation":
609
+ 0.82807, "sum": 876.5, "sum_squares": 5223.85, "variance": 0.68569}}, "000001":
610
+ {"column_number": 1, "datatype": "double", "name": "sepal width", "optype":
611
+ "numeric", "order": 1, "preferred": true, "summary": {"counts": [[2, 1], [2.2,
612
+ 3], [2.3, 4], [2.4, 3], [2.5, 8], [2.6, 5], [2.7, 9], [2.8, 14], [2.9, 10],
613
+ [3, 26], [3.1, 11], [3.2, 13], [3.3, 6], [3.4, 12], [3.5, 6], [3.6, 4], [3.7,
614
+ 3], [3.8, 6], [3.9, 2], [4, 1], [4.1, 1], [4.2, 1], [4.4, 1]], "maximum":
615
+ 4.4, "mean": 3.05733, "median": 3.02044, "minimum": 2, "missing_count": 0,
616
+ "population": 150, "standard_deviation": 0.43587, "sum": 458.6, "sum_squares":
617
+ 1430.4, "variance": 0.18998}}, "000002": {"column_number": 2, "datatype":
618
+ "double", "name": "petal length", "optype": "numeric", "order": 2, "preferred":
619
+ true, "summary": {"bins": [[1, 1], [1.16667, 3], [1.3, 7], [1.4, 13], [1.5,
620
+ 13], [1.6, 7], [1.7, 4], [1.9, 2], [3, 1], [3.3, 2], [3.5, 2], [3.6, 1], [3.75,
621
+ 2], [3.9, 3], [4.0375, 8], [4.23333, 6], [4.46667, 12], [4.6, 3], [4.74444,
622
+ 9], [4.94444, 9], [5.1, 8], [5.25, 4], [5.46, 5], [5.6, 6], [5.75, 6], [5.95,
623
+ 4], [6.1, 3], [6.3, 1], [6.4, 1], [6.6, 1], [6.7, 2], [6.9, 1]], "maximum":
624
+ 6.9, "mean": 3.758, "median": 4.34142, "minimum": 1, "missing_count": 0, "population":
625
+ 150, "splits": [1.25138, 1.32426, 1.37171, 1.40962, 1.44567, 1.48173, 1.51859,
626
+ 1.56301, 1.6255, 1.74645, 3.23033, 3.675, 3.94203, 4.0469, 4.18243, 4.34142,
627
+ 4.45309, 4.51823, 4.61771, 4.72566, 4.83445, 4.93363, 5.03807, 5.1064, 5.20938,
628
+ 5.43979, 5.5744, 5.6646, 5.81496, 6.02913, 6.38125], "standard_deviation":
629
+ 1.7653, "sum": 563.7, "sum_squares": 2582.71, "variance": 3.11628}}, "000003":
630
+ {"column_number": 3, "datatype": "double", "name": "petal width", "optype":
631
+ "numeric", "order": 3, "preferred": true, "summary": {"counts": [[0.1, 5],
632
+ [0.2, 29], [0.3, 7], [0.4, 7], [0.5, 1], [0.6, 1], [1, 7], [1.1, 3], [1.2,
633
+ 5], [1.3, 13], [1.4, 8], [1.5, 12], [1.6, 4], [1.7, 2], [1.8, 12], [1.9, 5],
634
+ [2, 6], [2.1, 6], [2.2, 3], [2.3, 8], [2.4, 3], [2.5, 3]], "maximum": 2.5,
635
+ "mean": 1.19933, "median": 1.32848, "minimum": 0.1, "missing_count": 0, "population":
636
+ 150, "standard_deviation": 0.76224, "sum": 179.9, "sum_squares": 302.33, "variance":
637
+ 0.58101}}, "000004": {"column_number": 4, "datatype": "string", "name": "species",
638
+ "optype": "categorical", "order": 4, "preferred": true, "summary": {"categories":
639
+ [["Iris-setosa", 50], ["Iris-versicolor", 50], ["Iris-virginica", 50]], "missing_count":
640
+ 0}, "term_analysis": {"enabled": true}}}, "fields_meta": {"count": 5, "limit":
641
+ 1000, "offset": 0, "query_total": 5, "total": 5}, "locale": "en_US", "missing_numeric_rows":
642
+ 0, "missing_tokens": ["", "NaN", "NULL", "N/A", "null", "-", "#REF!", "#VALUE!",
643
+ "?", "#NULL!", "#NUM!", "#DIV/0", "n/a", "#NAME?", "NIL", "nil", "na", "#N/A",
644
+ "NA"], "name": "iris'' dataset", "number_of_batchcentroids": 0, "number_of_batchpredictions":
645
+ 0, "number_of_clusters": 0, "number_of_ensembles": 0, "number_of_evaluations":
646
+ 0, "number_of_models": 0, "number_of_predictions": 0, "objective_field": {"column_number":
647
+ 4, "datatype": "string", "id": "000004", "name": "species", "optype": "categorical",
648
+ "order": 4, "term_analysis": {"enabled": true}}, "price": 0.0, "private":
649
+ true, "ranges": null, "replacements": null, "resource": "dataset/53aadb200af5e8153100071e",
650
+ "rows": 150, "sample_rates": null, "seeds": null, "shared": false, "size":
651
+ 4608, "source": "source/53aadb1fffa044085d000843", "source_status": true,
652
+ "status": {"bytes": 4608, "code": 5, "elapsed": 351, "field_errors": [], "message":
653
+ "The dataset has been created", "row_format_errors": [], "serialized_rows":
654
+ 150}, "subscription": false, "tags": [], "term_limit": 32, "updated": "2014-06-25T14:22:25.328000",
655
+ "user_metadata": {}}'
656
+ http_version: '1.1'
657
+ recorded_at: Wed, 25 Jun 2014 14:22:26 GMT
658
+ - request:
659
+ method: post
660
+ uri: https://bigml.io/dev/andromeda/model?username=<USERNAME>&api_key=<API_KEY>
661
+ body:
662
+ encoding: UTF-8
663
+ string: '{"dataset":"dataset/53aadb200af5e8153100071e"}'
664
+ headers:
665
+ content-type:
666
+ - application/json
667
+ response:
668
+ status:
669
+ code: 201
670
+ message: CREATED
671
+ headers:
672
+ access-control-allow-methods:
673
+ - POST,GET,PUT,DELETE
674
+ access-control-allow-origin:
675
+ - "*"
676
+ content-type:
677
+ - application/json
678
+ date:
679
+ - Wed, 25 Jun 2014 14:22:26 GMT
680
+ location:
681
+ - http://bigml.io/andromeda/model/53aadb220af5e8152c001567
682
+ server:
683
+ - nginx/1.0.12
684
+ content-length:
685
+ - '1365'
686
+ connection:
687
+ - Close
688
+ body:
689
+ encoding: UTF-8
690
+ string: '{"balance_objective": false, "category": 0, "code": 201, "columns":
691
+ 1, "created": "2014-06-25T14:22:26.471219", "credits": 0.017578125, "credits_per_prediction":
692
+ 0.0, "dataset": "dataset/53aadb200af5e8153100071e", "dataset_field_types":
693
+ {"categorical": 1, "datetime": 0, "numeric": 4, "preferred": 5, "text": 0,
694
+ "total": 5}, "dataset_status": true, "dataset_type": 0, "description": "",
695
+ "dev": true, "ensemble": false, "ensemble_id": "", "ensemble_index": 0, "excluded_fields":
696
+ [], "fields_meta": {"count": 0, "limit": 1000, "offset": 0, "total": 0}, "input_fields":
697
+ [], "locale": "en-US", "max_columns": 5, "max_rows": 150, "name": "iris''
698
+ dataset model", "node_threshold": 512, "number_of_batchpredictions": 0, "number_of_evaluations":
699
+ 0, "number_of_predictions": 0, "number_of_public_predictions": 0, "objective_field":
700
+ "000004", "objective_fields": ["000004"], "ordering": 0, "out_of_bag": false,
701
+ "price": 0.0, "private": true, "randomize": false, "range": [1, 150], "replacement":
702
+ false, "resource": "model/53aadb220af5e8152c001567", "rows": 150, "sample_rate":
703
+ 1.0, "shared": false, "size": 4608, "source": "source/53aadb1fffa044085d000843",
704
+ "source_status": true, "status": {"code": 1, "message": "The model is being
705
+ processed and will be created soon"}, "subscription": false, "tags": ["species"],
706
+ "updated": "2014-06-25T14:22:26.471261", "white_box": false}'
707
+ http_version: '1.1'
708
+ recorded_at: Wed, 25 Jun 2014 14:22:26 GMT
709
+ - request:
710
+ method: get
711
+ uri: https://bigml.io/dev/andromeda/model/53aadb220af5e8152c001567?username=<USERNAME>&api_key=<API_KEY>
712
+ body:
713
+ encoding: US-ASCII
714
+ string: ''
715
+ headers: {}
716
+ response:
717
+ status:
718
+ code: 200
719
+ message: OK
720
+ headers:
721
+ access-control-allow-methods:
722
+ - POST,GET,PUT,DELETE
723
+ access-control-allow-origin:
724
+ - "*"
725
+ content-type:
726
+ - application/json
727
+ date:
728
+ - Wed, 25 Jun 2014 14:22:26 GMT
729
+ server:
730
+ - nginx/1.0.12
731
+ vary:
732
+ - Accept-Encoding
733
+ transfer-encoding:
734
+ - chunked
735
+ connection:
736
+ - Close
737
+ body:
738
+ encoding: UTF-8
739
+ string: '{"balance_objective": false, "category": 0, "code": 200, "columns":
740
+ 5, "created": "2014-06-25T14:22:26.471000", "credits": 0.017578125, "credits_per_prediction":
741
+ 0.0, "dataset": "dataset/53aadb200af5e8153100071e", "dataset_field_types":
742
+ {"categorical": 1, "datetime": 0, "numeric": 4, "preferred": 5, "text": 0,
743
+ "total": 5}, "dataset_status": true, "dataset_type": 0, "description": "",
744
+ "dev": true, "ensemble": false, "ensemble_id": "", "ensemble_index": 0, "excluded_fields":
745
+ [], "fields_meta": {"count": 5, "limit": 1000, "offset": 0, "query_total":
746
+ 5, "total": 5}, "input_fields": ["000000", "000001", "000002", "000003"],
747
+ "locale": "en_US", "max_columns": 5, "max_rows": 150, "model": {"fields":
748
+ {"000000": {"column_number": 0, "datatype": "double", "name": "sepal length",
749
+ "optype": "numeric", "order": 0, "preferred": true, "summary": {"bins": [[4.3,
750
+ 1], [4.425, 4], [4.6, 4], [4.77143, 7], [4.9625, 16], [5.1, 9], [5.2, 4],
751
+ [5.3, 1], [5.4, 6], [5.5, 7], [5.6, 6], [5.7, 8], [5.8, 7], [5.9, 3], [6,
752
+ 6], [6.1, 6], [6.2, 4], [6.3, 9], [6.4, 7], [6.5, 5], [6.6, 2], [6.7, 8],
753
+ [6.8, 3], [6.9, 4], [7, 1], [7.1, 1], [7.2, 3], [7.3, 1], [7.4, 1], [7.6,
754
+ 1], [7.7, 4], [7.9, 1]], "maximum": 7.9, "mean": 5.84333, "median": 5.77889,
755
+ "minimum": 4.3, "missing_count": 0, "population": 150, "splits": [4.51526,
756
+ 4.67252, 4.81113, 4.89582, 4.96139, 5.01131, 5.05992, 5.11148, 5.18177, 5.35681,
757
+ 5.44129, 5.5108, 5.58255, 5.65532, 5.71658, 5.77889, 5.85381, 5.97078, 6.05104,
758
+ 6.13074, 6.23023, 6.29578, 6.35078, 6.41459, 6.49383, 6.63013, 6.70719, 6.79218,
759
+ 6.92597, 7.20423, 7.64746], "standard_deviation": 0.82807, "sum": 876.5, "sum_squares":
760
+ 5223.85, "variance": 0.68569}}, "000001": {"column_number": 1, "datatype":
761
+ "double", "name": "sepal width", "optype": "numeric", "order": 1, "preferred":
762
+ true, "summary": {"counts": [[2, 1], [2.2, 3], [2.3, 4], [2.4, 3], [2.5, 8],
763
+ [2.6, 5], [2.7, 9], [2.8, 14], [2.9, 10], [3, 26], [3.1, 11], [3.2, 13], [3.3,
764
+ 6], [3.4, 12], [3.5, 6], [3.6, 4], [3.7, 3], [3.8, 6], [3.9, 2], [4, 1], [4.1,
765
+ 1], [4.2, 1], [4.4, 1]], "maximum": 4.4, "mean": 3.05733, "median": 3.02044,
766
+ "minimum": 2, "missing_count": 0, "population": 150, "standard_deviation":
767
+ 0.43587, "sum": 458.6, "sum_squares": 1430.4, "variance": 0.18998}}, "000002":
768
+ {"column_number": 2, "datatype": "double", "name": "petal length", "optype":
769
+ "numeric", "order": 2, "preferred": true, "summary": {"bins": [[1, 1], [1.16667,
770
+ 3], [1.3, 7], [1.4, 13], [1.5, 13], [1.6, 7], [1.7, 4], [1.9, 2], [3, 1],
771
+ [3.3, 2], [3.5, 2], [3.6, 1], [3.75, 2], [3.9, 3], [4.0375, 8], [4.23333,
772
+ 6], [4.46667, 12], [4.6, 3], [4.74444, 9], [4.94444, 9], [5.1, 8], [5.25,
773
+ 4], [5.46, 5], [5.6, 6], [5.75, 6], [5.95, 4], [6.1, 3], [6.3, 1], [6.4, 1],
774
+ [6.6, 1], [6.7, 2], [6.9, 1]], "maximum": 6.9, "mean": 3.758, "median": 4.34142,
775
+ "minimum": 1, "missing_count": 0, "population": 150, "splits": [1.25138, 1.32426,
776
+ 1.37171, 1.40962, 1.44567, 1.48173, 1.51859, 1.56301, 1.6255, 1.74645, 3.23033,
777
+ 3.675, 3.94203, 4.0469, 4.18243, 4.34142, 4.45309, 4.51823, 4.61771, 4.72566,
778
+ 4.83445, 4.93363, 5.03807, 5.1064, 5.20938, 5.43979, 5.5744, 5.6646, 5.81496,
779
+ 6.02913, 6.38125], "standard_deviation": 1.7653, "sum": 563.7, "sum_squares":
780
+ 2582.71, "variance": 3.11628}}, "000003": {"column_number": 3, "datatype":
781
+ "double", "name": "petal width", "optype": "numeric", "order": 3, "preferred":
782
+ true, "summary": {"counts": [[0.1, 5], [0.2, 29], [0.3, 7], [0.4, 7], [0.5,
783
+ 1], [0.6, 1], [1, 7], [1.1, 3], [1.2, 5], [1.3, 13], [1.4, 8], [1.5, 12],
784
+ [1.6, 4], [1.7, 2], [1.8, 12], [1.9, 5], [2, 6], [2.1, 6], [2.2, 3], [2.3,
785
+ 8], [2.4, 3], [2.5, 3]], "maximum": 2.5, "mean": 1.19933, "median": 1.32848,
786
+ "minimum": 0.1, "missing_count": 0, "population": 150, "standard_deviation":
787
+ 0.76224, "sum": 179.9, "sum_squares": 302.33, "variance": 0.58101}}, "000004":
788
+ {"column_number": 4, "datatype": "string", "name": "species", "optype": "categorical",
789
+ "order": 4, "preferred": true, "summary": {"categories": [["Iris-setosa",
790
+ 50], ["Iris-versicolor", 50], ["Iris-virginica", 50]], "missing_count": 0},
791
+ "term_analysis": {"enabled": true}}}, "kind": "mtree", "missing_tokens": ["",
792
+ "NaN", "NULL", "N/A", "null", "-", "#REF!", "#VALUE!", "?", "#NULL!", "#NUM!",
793
+ "#DIV/0", "n/a", "#NAME?", "NIL", "nil", "na", "#N/A", "NA"], "model_fields":
794
+ {"000004": {"column_number": 4, "datatype": "string", "name": "species", "optype":
795
+ "categorical", "preferred": true, "term_analysis": {"enabled": true}}}, "node_threshold":
796
+ 512}, "name": "iris'' dataset model", "node_threshold": 512, "number_of_batchpredictions":
797
+ 0, "number_of_evaluations": 0, "number_of_predictions": 0, "number_of_public_predictions":
798
+ 0, "objective_field": "000004", "objective_fields": ["000004"], "ordering":
799
+ 0, "out_of_bag": false, "price": 0.0, "private": true, "randomize": false,
800
+ "range": [1, 150], "replacement": false, "resource": "model/53aadb220af5e8152c001567",
801
+ "rows": 150, "sample_rate": 1.0, "shared": false, "size": 4608, "source":
802
+ "source/53aadb1fffa044085d000843", "source_status": true, "status": {"code":
803
+ 2, "elapsed": 0, "message": "The model creation has been started. No partial
804
+ model yet", "progress": 0}, "subscription": false, "tags": ["species"], "updated":
805
+ "2014-06-25T14:22:26.593000", "white_box": false}'
806
+ http_version: '1.1'
807
+ recorded_at: Wed, 25 Jun 2014 14:22:26 GMT
808
+ - request:
809
+ method: get
810
+ uri: https://bigml.io/dev/andromeda/model/53aadb220af5e8152c001567?username=<USERNAME>&api_key=<API_KEY>
811
+ body:
812
+ encoding: US-ASCII
813
+ string: ''
814
+ headers: {}
815
+ response:
816
+ status:
817
+ code: 200
818
+ message: OK
819
+ headers:
820
+ access-control-allow-methods:
821
+ - POST,GET,PUT,DELETE
822
+ access-control-allow-origin:
823
+ - "*"
824
+ content-type:
825
+ - application/json
826
+ date:
827
+ - Wed, 25 Jun 2014 14:22:28 GMT
828
+ server:
829
+ - nginx/1.0.12
830
+ vary:
831
+ - Accept-Encoding
832
+ transfer-encoding:
833
+ - chunked
834
+ connection:
835
+ - Close
836
+ body:
837
+ encoding: UTF-8
838
+ string: '{"balance_objective": false, "category": 0, "code": 200, "columns":
839
+ 5, "created": "2014-06-25T14:22:26.471000", "credits": 0.017578125, "credits_per_prediction":
840
+ 0.0, "dataset": "dataset/53aadb200af5e8153100071e", "dataset_field_types":
841
+ {"categorical": 1, "datetime": 0, "numeric": 4, "preferred": 5, "text": 0,
842
+ "total": 5}, "dataset_status": true, "dataset_type": 0, "description": "",
843
+ "dev": true, "ensemble": false, "ensemble_id": "", "ensemble_index": 0, "excluded_fields":
844
+ [], "fields_meta": {"count": 5, "limit": 1000, "offset": 0, "query_total":
845
+ 5, "total": 5}, "input_fields": ["000000", "000001", "000002", "000003"],
846
+ "locale": "en_US", "max_columns": 5, "max_rows": 150, "model": {"depth_threshold":
847
+ 512, "distribution": {"predictions": {"categories": [["Iris-setosa", 50],
848
+ ["Iris-versicolor", 50], ["Iris-virginica", 50]]}, "training": {"categories":
849
+ [["Iris-setosa", 50], ["Iris-versicolor", 50], ["Iris-virginica", 50]]}},
850
+ "fields": {"000000": {"column_number": 0, "datatype": "double", "name": "sepal
851
+ length", "optype": "numeric", "order": 0, "preferred": true, "summary": {"bins":
852
+ [[4.3, 1], [4.425, 4], [4.6, 4], [4.77143, 7], [4.9625, 16], [5.1, 9], [5.2,
853
+ 4], [5.3, 1], [5.4, 6], [5.5, 7], [5.6, 6], [5.7, 8], [5.8, 7], [5.9, 3],
854
+ [6, 6], [6.1, 6], [6.2, 4], [6.3, 9], [6.4, 7], [6.5, 5], [6.6, 2], [6.7,
855
+ 8], [6.8, 3], [6.9, 4], [7, 1], [7.1, 1], [7.2, 3], [7.3, 1], [7.4, 1], [7.6,
856
+ 1], [7.7, 4], [7.9, 1]], "maximum": 7.9, "mean": 5.84333, "median": 5.77889,
857
+ "minimum": 4.3, "missing_count": 0, "population": 150, "splits": [4.51526,
858
+ 4.67252, 4.81113, 4.89582, 4.96139, 5.01131, 5.05992, 5.11148, 5.18177, 5.35681,
859
+ 5.44129, 5.5108, 5.58255, 5.65532, 5.71658, 5.77889, 5.85381, 5.97078, 6.05104,
860
+ 6.13074, 6.23023, 6.29578, 6.35078, 6.41459, 6.49383, 6.63013, 6.70719, 6.79218,
861
+ 6.92597, 7.20423, 7.64746], "standard_deviation": 0.82807, "sum": 876.5, "sum_squares":
862
+ 5223.85, "variance": 0.68569}}, "000001": {"column_number": 1, "datatype":
863
+ "double", "name": "sepal width", "optype": "numeric", "order": 1, "preferred":
864
+ true, "summary": {"counts": [[2, 1], [2.2, 3], [2.3, 4], [2.4, 3], [2.5, 8],
865
+ [2.6, 5], [2.7, 9], [2.8, 14], [2.9, 10], [3, 26], [3.1, 11], [3.2, 13], [3.3,
866
+ 6], [3.4, 12], [3.5, 6], [3.6, 4], [3.7, 3], [3.8, 6], [3.9, 2], [4, 1], [4.1,
867
+ 1], [4.2, 1], [4.4, 1]], "maximum": 4.4, "mean": 3.05733, "median": 3.02044,
868
+ "minimum": 2, "missing_count": 0, "population": 150, "standard_deviation":
869
+ 0.43587, "sum": 458.6, "sum_squares": 1430.4, "variance": 0.18998}}, "000002":
870
+ {"column_number": 2, "datatype": "double", "name": "petal length", "optype":
871
+ "numeric", "order": 2, "preferred": true, "summary": {"bins": [[1, 1], [1.16667,
872
+ 3], [1.3, 7], [1.4, 13], [1.5, 13], [1.6, 7], [1.7, 4], [1.9, 2], [3, 1],
873
+ [3.3, 2], [3.5, 2], [3.6, 1], [3.75, 2], [3.9, 3], [4.0375, 8], [4.23333,
874
+ 6], [4.46667, 12], [4.6, 3], [4.74444, 9], [4.94444, 9], [5.1, 8], [5.25,
875
+ 4], [5.46, 5], [5.6, 6], [5.75, 6], [5.95, 4], [6.1, 3], [6.3, 1], [6.4, 1],
876
+ [6.6, 1], [6.7, 2], [6.9, 1]], "maximum": 6.9, "mean": 3.758, "median": 4.34142,
877
+ "minimum": 1, "missing_count": 0, "population": 150, "splits": [1.25138, 1.32426,
878
+ 1.37171, 1.40962, 1.44567, 1.48173, 1.51859, 1.56301, 1.6255, 1.74645, 3.23033,
879
+ 3.675, 3.94203, 4.0469, 4.18243, 4.34142, 4.45309, 4.51823, 4.61771, 4.72566,
880
+ 4.83445, 4.93363, 5.03807, 5.1064, 5.20938, 5.43979, 5.5744, 5.6646, 5.81496,
881
+ 6.02913, 6.38125], "standard_deviation": 1.7653, "sum": 563.7, "sum_squares":
882
+ 2582.71, "variance": 3.11628}}, "000003": {"column_number": 3, "datatype":
883
+ "double", "name": "petal width", "optype": "numeric", "order": 3, "preferred":
884
+ true, "summary": {"counts": [[0.1, 5], [0.2, 29], [0.3, 7], [0.4, 7], [0.5,
885
+ 1], [0.6, 1], [1, 7], [1.1, 3], [1.2, 5], [1.3, 13], [1.4, 8], [1.5, 12],
886
+ [1.6, 4], [1.7, 2], [1.8, 12], [1.9, 5], [2, 6], [2.1, 6], [2.2, 3], [2.3,
887
+ 8], [2.4, 3], [2.5, 3]], "maximum": 2.5, "mean": 1.19933, "median": 1.32848,
888
+ "minimum": 0.1, "missing_count": 0, "population": 150, "standard_deviation":
889
+ 0.76224, "sum": 179.9, "sum_squares": 302.33, "variance": 0.58101}}, "000004":
890
+ {"column_number": 4, "datatype": "string", "name": "species", "optype": "categorical",
891
+ "order": 4, "preferred": true, "summary": {"categories": [["Iris-setosa",
892
+ 50], ["Iris-versicolor", 50], ["Iris-virginica", 50]], "missing_count": 0},
893
+ "term_analysis": {"enabled": true}}}, "importance": [["000002", 0.70194],
894
+ ["000003", 0.29094], ["000001", 0.00712]], "kind": "mtree", "missing_tokens":
895
+ ["", "NaN", "NULL", "N/A", "null", "-", "#REF!", "#VALUE!", "?", "#NULL!",
896
+ "#NUM!", "#DIV/0", "n/a", "#NAME?", "NIL", "nil", "na", "#N/A", "NA"], "model_fields":
897
+ {"000001": {"column_number": 1, "datatype": "double", "name": "sepal width",
898
+ "optype": "numeric", "preferred": true}, "000002": {"column_number": 2, "datatype":
899
+ "double", "name": "petal length", "optype": "numeric", "preferred": true},
900
+ "000003": {"column_number": 3, "datatype": "double", "name": "petal width",
901
+ "optype": "numeric", "preferred": true}, "000004": {"column_number": 4, "datatype":
902
+ "string", "name": "species", "optype": "categorical", "preferred": true, "term_analysis":
903
+ {"enabled": true}}}, "node_threshold": 512, "root": {"children": [{"children":
904
+ [{"children": [{"confidence": 0.91799, "count": 43, "id": 3, "objective_summary":
905
+ {"categories": [["Iris-virginica", 43]]}, "output": "Iris-virginica", "predicate":
906
+ {"field": "000002", "operator": ">", "value": 4.85}}, {"children": [{"confidence":
907
+ 0.20654, "count": 1, "id": 5, "objective_summary": {"categories": [["Iris-versicolor",
908
+ 1]]}, "output": "Iris-versicolor", "predicate": {"field": "000001", "operator":
909
+ ">", "value": 3.1}}, {"confidence": 0.34237, "count": 2, "id": 6, "objective_summary":
910
+ {"categories": [["Iris-virginica", 2]]}, "output": "Iris-virginica", "predicate":
911
+ {"field": "000001", "operator": "<=", "value": 3.1}}], "confidence": 0.20765,
912
+ "count": 3, "id": 4, "objective_summary": {"categories": [["Iris-virginica",
913
+ 2], ["Iris-versicolor", 1]]}, "output": "Iris-virginica", "predicate": {"field":
914
+ "000002", "operator": "<=", "value": 4.85}}], "confidence": 0.88664, "count":
915
+ 46, "id": 2, "objective_summary": {"categories": [["Iris-virginica", 45],
916
+ ["Iris-versicolor", 1]]}, "output": "Iris-virginica", "predicate": {"field":
917
+ "000003", "operator": ">", "value": 1.75}}, {"children": [{"children": [{"children":
918
+ [{"confidence": 0.20654, "count": 1, "id": 10, "objective_summary": {"categories":
919
+ [["Iris-virginica", 1]]}, "output": "Iris-virginica", "predicate": {"field":
920
+ "000002", "operator": ">", "value": 5.45}}, {"confidence": 0.34237, "count":
921
+ 2, "id": 11, "objective_summary": {"categories": [["Iris-versicolor", 2]]},
922
+ "output": "Iris-versicolor", "predicate": {"field": "000002", "operator":
923
+ "<=", "value": 5.45}}], "confidence": 0.20765, "count": 3, "id": 9, "objective_summary":
924
+ {"categories": [["Iris-versicolor", 2], ["Iris-virginica", 1]]}, "output":
925
+ "Iris-versicolor", "predicate": {"field": "000003", "operator": ">", "value":
926
+ 1.55}}, {"confidence": 0.43849, "count": 3, "id": 12, "objective_summary":
927
+ {"categories": [["Iris-virginica", 3]]}, "output": "Iris-virginica", "predicate":
928
+ {"field": "000003", "operator": "<=", "value": 1.55}}], "confidence": 0.29999,
929
+ "count": 6, "id": 8, "objective_summary": {"categories": [["Iris-virginica",
930
+ 4], ["Iris-versicolor", 2]]}, "output": "Iris-virginica", "predicate": {"field":
931
+ "000002", "operator": ">", "value": 4.95}}, {"children": [{"confidence": 0.20654,
932
+ "count": 1, "id": 14, "objective_summary": {"categories": [["Iris-virginica",
933
+ 1]]}, "output": "Iris-virginica", "predicate": {"field": "000003", "operator":
934
+ ">", "value": 1.65}}, {"confidence": 0.92444, "count": 47, "id": 15, "objective_summary":
935
+ {"categories": [["Iris-versicolor", 47]]}, "output": "Iris-versicolor", "predicate":
936
+ {"field": "000003", "operator": "<=", "value": 1.65}}], "confidence": 0.89101,
937
+ "count": 48, "id": 13, "objective_summary": {"categories": [["Iris-versicolor",
938
+ 47], ["Iris-virginica", 1]]}, "output": "Iris-versicolor", "predicate": {"field":
939
+ "000002", "operator": "<=", "value": 4.95}}], "confidence": 0.8009, "count":
940
+ 54, "id": 7, "objective_summary": {"categories": [["Iris-versicolor", 49],
941
+ ["Iris-virginica", 5]]}, "output": "Iris-versicolor", "predicate": {"field":
942
+ "000003", "operator": "<=", "value": 1.75}}], "confidence": 0.40383, "count":
943
+ 100, "id": 1, "objective_summary": {"categories": [["Iris-versicolor", 50],
944
+ ["Iris-virginica", 50]]}, "output": "Iris-versicolor", "predicate": {"field":
945
+ "000002", "operator": ">", "value": 2.45}}, {"confidence": 0.92865, "count":
946
+ 50, "id": 16, "objective_summary": {"categories": [["Iris-setosa", 50]]},
947
+ "output": "Iris-setosa", "predicate": {"field": "000002", "operator": "<=",
948
+ "value": 2.45}}], "confidence": 0.26289, "count": 150, "id": 0, "objective_summary":
949
+ {"categories": [["Iris-setosa", 50], ["Iris-versicolor", 50], ["Iris-virginica",
950
+ 50]]}, "output": "Iris-setosa", "predicate": true}}, "name": "iris'' dataset
951
+ model", "node_threshold": 512, "number_of_batchpredictions": 0, "number_of_evaluations":
952
+ 0, "number_of_predictions": 0, "number_of_public_predictions": 0, "objective_field":
953
+ "000004", "objective_fields": ["000004"], "ordering": 0, "out_of_bag": false,
954
+ "price": 0.0, "private": true, "randomize": false, "range": [1, 150], "replacement":
955
+ false, "resource": "model/53aadb220af5e8152c001567", "rows": 150, "sample_rate":
956
+ 1.0, "selective_pruning": true, "shared": false, "size": 4608, "source": "source/53aadb1fffa044085d000843",
957
+ "source_status": true, "stat_pruning": true, "status": {"code": 5, "elapsed":
958
+ 357, "message": "The model has been created", "progress": 1.0}, "subscription":
959
+ false, "tags": ["species"], "updated": "2014-06-25T14:22:26.777000", "white_box":
960
+ false}'
961
+ http_version: '1.1'
962
+ recorded_at: Wed, 25 Jun 2014 14:22:28 GMT
963
+ - request:
964
+ method: get
965
+ uri: https://bigml.io/dev/andromeda/dataset/53aadb200af5e8153100071e?username=<USERNAME>&api_key=<API_KEY>
966
+ body:
967
+ encoding: US-ASCII
968
+ string: ''
969
+ headers: {}
970
+ response:
971
+ status:
972
+ code: 200
973
+ message: OK
974
+ headers:
975
+ access-control-allow-methods:
976
+ - POST,GET,PUT,DELETE
977
+ access-control-allow-origin:
978
+ - "*"
979
+ content-type:
980
+ - application/json
981
+ date:
982
+ - Wed, 25 Jun 2014 14:22:28 GMT
983
+ server:
984
+ - nginx/1.0.12
985
+ vary:
986
+ - Accept-Encoding
987
+ transfer-encoding:
988
+ - chunked
989
+ connection:
990
+ - Close
991
+ body:
992
+ encoding: UTF-8
993
+ string: '{"all_fields": true, "category": 0, "cluster": null, "cluster_status":
994
+ true, "code": 200, "columns": 5, "created": "2014-06-25T14:22:24.750000",
995
+ "credits": 0.00439453125, "description": "", "dev": true, "download": {"code":
996
+ 0, "excluded_input_fields": [], "header": true, "input_fields": [], "message":
997
+ "", "preview": [], "separator": ","}, "excluded_fields": [], "field_types":
998
+ {"categorical": 1, "datetime": 0, "numeric": 4, "preferred": 5, "text": 0,
999
+ "total": 5}, "fields": {"000000": {"column_number": 0, "datatype": "double",
1000
+ "name": "sepal length", "optype": "numeric", "order": 0, "preferred": true,
1001
+ "summary": {"bins": [[4.3, 1], [4.425, 4], [4.6, 4], [4.77143, 7], [4.9625,
1002
+ 16], [5.1, 9], [5.2, 4], [5.3, 1], [5.4, 6], [5.5, 7], [5.6, 6], [5.7, 8],
1003
+ [5.8, 7], [5.9, 3], [6, 6], [6.1, 6], [6.2, 4], [6.3, 9], [6.4, 7], [6.5,
1004
+ 5], [6.6, 2], [6.7, 8], [6.8, 3], [6.9, 4], [7, 1], [7.1, 1], [7.2, 3], [7.3,
1005
+ 1], [7.4, 1], [7.6, 1], [7.7, 4], [7.9, 1]], "maximum": 7.9, "mean": 5.84333,
1006
+ "median": 5.77889, "minimum": 4.3, "missing_count": 0, "population": 150,
1007
+ "splits": [4.51526, 4.67252, 4.81113, 4.89582, 4.96139, 5.01131, 5.05992,
1008
+ 5.11148, 5.18177, 5.35681, 5.44129, 5.5108, 5.58255, 5.65532, 5.71658, 5.77889,
1009
+ 5.85381, 5.97078, 6.05104, 6.13074, 6.23023, 6.29578, 6.35078, 6.41459, 6.49383,
1010
+ 6.63013, 6.70719, 6.79218, 6.92597, 7.20423, 7.64746], "standard_deviation":
1011
+ 0.82807, "sum": 876.5, "sum_squares": 5223.85, "variance": 0.68569}}, "000001":
1012
+ {"column_number": 1, "datatype": "double", "name": "sepal width", "optype":
1013
+ "numeric", "order": 1, "preferred": true, "summary": {"counts": [[2, 1], [2.2,
1014
+ 3], [2.3, 4], [2.4, 3], [2.5, 8], [2.6, 5], [2.7, 9], [2.8, 14], [2.9, 10],
1015
+ [3, 26], [3.1, 11], [3.2, 13], [3.3, 6], [3.4, 12], [3.5, 6], [3.6, 4], [3.7,
1016
+ 3], [3.8, 6], [3.9, 2], [4, 1], [4.1, 1], [4.2, 1], [4.4, 1]], "maximum":
1017
+ 4.4, "mean": 3.05733, "median": 3.02044, "minimum": 2, "missing_count": 0,
1018
+ "population": 150, "standard_deviation": 0.43587, "sum": 458.6, "sum_squares":
1019
+ 1430.4, "variance": 0.18998}}, "000002": {"column_number": 2, "datatype":
1020
+ "double", "name": "petal length", "optype": "numeric", "order": 2, "preferred":
1021
+ true, "summary": {"bins": [[1, 1], [1.16667, 3], [1.3, 7], [1.4, 13], [1.5,
1022
+ 13], [1.6, 7], [1.7, 4], [1.9, 2], [3, 1], [3.3, 2], [3.5, 2], [3.6, 1], [3.75,
1023
+ 2], [3.9, 3], [4.0375, 8], [4.23333, 6], [4.46667, 12], [4.6, 3], [4.74444,
1024
+ 9], [4.94444, 9], [5.1, 8], [5.25, 4], [5.46, 5], [5.6, 6], [5.75, 6], [5.95,
1025
+ 4], [6.1, 3], [6.3, 1], [6.4, 1], [6.6, 1], [6.7, 2], [6.9, 1]], "maximum":
1026
+ 6.9, "mean": 3.758, "median": 4.34142, "minimum": 1, "missing_count": 0, "population":
1027
+ 150, "splits": [1.25138, 1.32426, 1.37171, 1.40962, 1.44567, 1.48173, 1.51859,
1028
+ 1.56301, 1.6255, 1.74645, 3.23033, 3.675, 3.94203, 4.0469, 4.18243, 4.34142,
1029
+ 4.45309, 4.51823, 4.61771, 4.72566, 4.83445, 4.93363, 5.03807, 5.1064, 5.20938,
1030
+ 5.43979, 5.5744, 5.6646, 5.81496, 6.02913, 6.38125], "standard_deviation":
1031
+ 1.7653, "sum": 563.7, "sum_squares": 2582.71, "variance": 3.11628}}, "000003":
1032
+ {"column_number": 3, "datatype": "double", "name": "petal width", "optype":
1033
+ "numeric", "order": 3, "preferred": true, "summary": {"counts": [[0.1, 5],
1034
+ [0.2, 29], [0.3, 7], [0.4, 7], [0.5, 1], [0.6, 1], [1, 7], [1.1, 3], [1.2,
1035
+ 5], [1.3, 13], [1.4, 8], [1.5, 12], [1.6, 4], [1.7, 2], [1.8, 12], [1.9, 5],
1036
+ [2, 6], [2.1, 6], [2.2, 3], [2.3, 8], [2.4, 3], [2.5, 3]], "maximum": 2.5,
1037
+ "mean": 1.19933, "median": 1.32848, "minimum": 0.1, "missing_count": 0, "population":
1038
+ 150, "standard_deviation": 0.76224, "sum": 179.9, "sum_squares": 302.33, "variance":
1039
+ 0.58101}}, "000004": {"column_number": 4, "datatype": "string", "name": "species",
1040
+ "optype": "categorical", "order": 4, "preferred": true, "summary": {"categories":
1041
+ [["Iris-setosa", 50], ["Iris-versicolor", 50], ["Iris-virginica", 50]], "missing_count":
1042
+ 0}, "term_analysis": {"enabled": true}}}, "fields_meta": {"count": 5, "limit":
1043
+ 1000, "offset": 0, "query_total": 5, "total": 5}, "locale": "en_US", "missing_numeric_rows":
1044
+ 0, "missing_tokens": ["", "NaN", "NULL", "N/A", "null", "-", "#REF!", "#VALUE!",
1045
+ "?", "#NULL!", "#NUM!", "#DIV/0", "n/a", "#NAME?", "NIL", "nil", "na", "#N/A",
1046
+ "NA"], "name": "iris'' dataset", "number_of_batchcentroids": 0, "number_of_batchpredictions":
1047
+ 0, "number_of_clusters": 0, "number_of_ensembles": 0, "number_of_evaluations":
1048
+ 0, "number_of_models": 1, "number_of_predictions": 0, "objective_field": {"column_number":
1049
+ 4, "datatype": "string", "id": "000004", "name": "species", "optype": "categorical",
1050
+ "order": 4, "term_analysis": {"enabled": true}}, "price": 0.0, "private":
1051
+ true, "ranges": null, "replacements": null, "resource": "dataset/53aadb200af5e8153100071e",
1052
+ "rows": 150, "sample_rates": null, "seeds": null, "shared": false, "size":
1053
+ 4608, "source": "source/53aadb1fffa044085d000843", "source_status": true,
1054
+ "status": {"bytes": 4608, "code": 5, "elapsed": 351, "field_errors": [], "message":
1055
+ "The dataset has been created", "row_format_errors": [], "serialized_rows":
1056
+ 150}, "subscription": false, "tags": [], "term_limit": 32, "updated": "2014-06-25T14:22:26.488000",
1057
+ "user_metadata": {}}'
1058
+ http_version: '1.1'
1059
+ recorded_at: Wed, 25 Jun 2014 14:22:28 GMT
1060
+ - request:
1061
+ method: post
1062
+ uri: https://bigml.io/dev/andromeda/evaluation?username=<USERNAME>&api_key=<API_KEY>
1063
+ body:
1064
+ encoding: UTF-8
1065
+ string: '{"model":"model/53aadb220af5e8152c001567","dataset":"dataset/53aadb200af5e8153100071e"}'
1066
+ headers:
1067
+ content-type:
1068
+ - application/json
1069
+ response:
1070
+ status:
1071
+ code: 201
1072
+ message: CREATED
1073
+ headers:
1074
+ access-control-allow-methods:
1075
+ - POST,GET,PUT,DELETE
1076
+ access-control-allow-origin:
1077
+ - "*"
1078
+ content-type:
1079
+ - application/json
1080
+ date:
1081
+ - Wed, 25 Jun 2014 14:22:28 GMT
1082
+ location:
1083
+ - http://bigml.io/andromeda/evaluation/53aadb24ffa044085a000c7c
1084
+ server:
1085
+ - nginx/1.0.12
1086
+ transfer-encoding:
1087
+ - chunked
1088
+ connection:
1089
+ - Close
1090
+ body:
1091
+ encoding: UTF-8
1092
+ string: '{"category": 0, "code": 201, "combiner": 0, "created": "2014-06-25T14:22:28.423698",
1093
+ "credits": 1.5, "dataset": "dataset/53aadb200af5e8153100071e", "dataset_status":
1094
+ true, "dataset_type": 0, "datasets": [], "description": "", "dev": true, "ensemble":
1095
+ "", "fields_map": {}, "locale": "en-US", "max_rows": 150, "missing_strategy":
1096
+ 0, "model": "model/53aadb220af5e8152c001567", "model_status": true, "model_type":
1097
+ 0, "name": "Evaluation of iris'' dataset model with iris'' dataset", "number_of_models":
1098
+ 1, "ordering": 0, "out_of_bag": false, "private": true, "range": [1, 150],
1099
+ "replacement": false, "resource": "evaluation/53aadb24ffa044085a000c7c", "result":
1100
+ {}, "rows": 150, "sample_rate": 1.0, "sampled_rows": 150, "shared": false,
1101
+ "size": 4608, "status": {"code": 1, "message": "The evaluation is being processed
1102
+ and will be performed soon"}, "subscription": false, "tags": [], "type": 0,
1103
+ "updated": "2014-06-25T14:22:28.423737"}'
1104
+ http_version: '1.1'
1105
+ recorded_at: Wed, 25 Jun 2014 14:22:28 GMT
1106
+ - request:
1107
+ method: get
1108
+ uri: https://bigml.io/dev/andromeda/evaluation/53aadb24ffa044085a000c7c?username=<USERNAME>&api_key=<API_KEY>
1109
+ body:
1110
+ encoding: US-ASCII
1111
+ string: ''
1112
+ headers: {}
1113
+ response:
1114
+ status:
1115
+ code: 200
1116
+ message: OK
1117
+ headers:
1118
+ access-control-allow-methods:
1119
+ - POST,GET,PUT,DELETE
1120
+ access-control-allow-origin:
1121
+ - "*"
1122
+ content-type:
1123
+ - application/json
1124
+ date:
1125
+ - Wed, 25 Jun 2014 14:22:28 GMT
1126
+ server:
1127
+ - nginx/1.0.12
1128
+ vary:
1129
+ - Accept-Encoding
1130
+ transfer-encoding:
1131
+ - chunked
1132
+ connection:
1133
+ - Close
1134
+ body:
1135
+ encoding: UTF-8
1136
+ string: '{"category": 0, "code": 200, "combiner": 0, "created": "2014-06-25T14:22:28.423000",
1137
+ "credits": 1.5, "dataset": "dataset/53aadb200af5e8153100071e", "dataset_status":
1138
+ true, "dataset_type": 0, "datasets": [], "description": "", "dev": true, "ensemble":
1139
+ "", "fields_map": {"000000": "000000", "000001": "000001", "000002": "000002",
1140
+ "000003": "000003", "000004": "000004"}, "locale": "en-US", "max_rows": 150,
1141
+ "missing_strategy": 0, "model": "model/53aadb220af5e8152c001567", "model_status":
1142
+ true, "model_type": 0, "name": "Evaluation of iris'' dataset model with iris''
1143
+ dataset", "number_of_models": 1, "ordering": 0, "out_of_bag": false, "private":
1144
+ true, "range": [1, 150], "replacement": false, "resource": "evaluation/53aadb24ffa044085a000c7c",
1145
+ "result": {}, "rows": 150, "sample_rate": 1.0, "sampled_rows": 150, "shared":
1146
+ false, "size": 4608, "status": {"code": 2, "elapsed": 0, "message": "The evaluation
1147
+ has been started. No partial evaluation yet", "progress": 0}, "subscription":
1148
+ false, "tags": [], "type": 0, "updated": "2014-06-25T14:22:28.585000"}'
1149
+ http_version: '1.1'
1150
+ recorded_at: Wed, 25 Jun 2014 14:22:28 GMT
1151
+ - request:
1152
+ method: get
1153
+ uri: https://bigml.io/dev/andromeda/evaluation/53aadb24ffa044085a000c7c?username=<USERNAME>&api_key=<API_KEY>
1154
+ body:
1155
+ encoding: US-ASCII
1156
+ string: ''
1157
+ headers: {}
1158
+ response:
1159
+ status:
1160
+ code: 200
1161
+ message: OK
1162
+ headers:
1163
+ access-control-allow-methods:
1164
+ - POST,GET,PUT,DELETE
1165
+ access-control-allow-origin:
1166
+ - "*"
1167
+ content-type:
1168
+ - application/json
1169
+ date:
1170
+ - Wed, 25 Jun 2014 14:22:29 GMT
1171
+ server:
1172
+ - nginx/1.0.12
1173
+ vary:
1174
+ - Accept-Encoding
1175
+ transfer-encoding:
1176
+ - chunked
1177
+ connection:
1178
+ - Close
1179
+ body:
1180
+ encoding: UTF-8
1181
+ string: '{"category": 0, "code": 200, "combiner": 0, "created": "2014-06-25T14:22:28.423000",
1182
+ "credits": 1.5, "dataset": "dataset/53aadb200af5e8153100071e", "dataset_status":
1183
+ true, "dataset_type": 0, "datasets": [], "description": "", "dev": true, "ensemble":
1184
+ "", "fields_map": {"000000": "000000", "000001": "000001", "000002": "000002",
1185
+ "000003": "000003", "000004": "000004"}, "locale": "en-US", "max_rows": 150,
1186
+ "missing_strategy": 0, "model": "model/53aadb220af5e8152c001567", "model_status":
1187
+ true, "model_type": 0, "name": "Evaluation of iris'' dataset model with iris''
1188
+ dataset", "number_of_models": 1, "ordering": 0, "out_of_bag": false, "private":
1189
+ true, "range": [1, 150], "replacement": false, "resource": "evaluation/53aadb24ffa044085a000c7c",
1190
+ "result": {"class_names": ["Iris-setosa", "Iris-versicolor", "Iris-virginica"],
1191
+ "mode": {"accuracy": 0.33333, "average_f_measure": 0.16667, "average_phi":
1192
+ 0, "average_precision": 0.11111, "average_recall": 0.33333, "confusion_matrix":
1193
+ [[50, 0, 0], [50, 0, 0], [50, 0, 0]], "per_class_statistics": [{"accuracy":
1194
+ 0.3333333333333333, "class_name": "Iris-setosa", "f_measure": 0.5, "phi_coefficient":
1195
+ 0, "precision": 0.3333333333333333, "present_in_test_data": true, "recall":
1196
+ 1.0}, {"accuracy": 0.6666666666666667, "class_name": "Iris-versicolor", "f_measure":
1197
+ 0, "phi_coefficient": 0, "precision": 0, "present_in_test_data": true, "recall":
1198
+ 0.0}, {"accuracy": 0.6666666666666667, "class_name": "Iris-virginica", "f_measure":
1199
+ 0, "phi_coefficient": 0, "precision": 0, "present_in_test_data": true, "recall":
1200
+ 0.0}]}, "model": {"accuracy": 1, "average_f_measure": 1, "average_phi": 1,
1201
+ "average_precision": 1, "average_recall": 1, "confusion_matrix": [[50, 0,
1202
+ 0], [0, 50, 0], [0, 0, 50]], "per_class_statistics": [{"accuracy": 1.0, "class_name":
1203
+ "Iris-setosa", "f_measure": 1.0, "phi_coefficient": 1.0, "precision": 1.0,
1204
+ "present_in_test_data": true, "recall": 1.0}, {"accuracy": 1.0, "class_name":
1205
+ "Iris-versicolor", "f_measure": 1.0, "phi_coefficient": 1.0, "precision":
1206
+ 1.0, "present_in_test_data": true, "recall": 1.0}, {"accuracy": 1.0, "class_name":
1207
+ "Iris-virginica", "f_measure": 1.0, "phi_coefficient": 1.0, "precision": 1.0,
1208
+ "present_in_test_data": true, "recall": 1.0}]}, "random": {"accuracy": 0.34,
1209
+ "average_f_measure": 0.34196, "average_phi": 0.01243, "average_precision":
1210
+ 0.34646, "average_recall": 0.34, "confusion_matrix": [[17, 22, 11], [15, 14,
1211
+ 21], [10, 20, 20]], "per_class_statistics": [{"accuracy": 0.6133333333333333,
1212
+ "class_name": "Iris-setosa", "f_measure": 0.36956521739130443, "phi_coefficient":
1213
+ 0.09449111825230681, "precision": 0.40476190476190477, "present_in_test_data":
1214
+ true, "recall": 0.34}, {"accuracy": 0.48, "class_name": "Iris-versicolor",
1215
+ "f_measure": 0.2641509433962264, "phi_coefficient": -0.13644420572745383,
1216
+ "precision": 0.25, "present_in_test_data": true, "recall": 0.28}, {"accuracy":
1217
+ 0.5866666666666667, "class_name": "Iris-virginica", "f_measure": 0.39215686274509803,
1218
+ "phi_coefficient": 0.07924288517503274, "precision": 0.38461538461538464,
1219
+ "present_in_test_data": true, "recall": 0.4}]}}, "rows": 150, "sample_rate":
1220
+ 1.0, "sampled_rows": 150, "shared": false, "size": 4608, "status": {"code":
1221
+ 5, "elapsed": 462, "message": "The evaluation has been performed", "progress":
1222
+ 1.0}, "subscription": false, "tags": [], "type": 0, "updated": "2014-06-25T14:22:29.240000"}'
1223
+ http_version: '1.1'
1224
+ recorded_at: Wed, 25 Jun 2014 14:22:30 GMT
1225
+ - request:
1226
+ method: put
1227
+ uri: https://bigml.io/dev/andromeda/evaluation/53aadb24ffa044085a000c7c?username=<USERNAME>&api_key=<API_KEY>
1228
+ body:
1229
+ encoding: UTF-8
1230
+ string: '{"name":"foo name"}'
1231
+ headers:
1232
+ content-type:
1233
+ - application/json
1234
+ response:
1235
+ status:
1236
+ code: 202
1237
+ message: ACCEPTED
1238
+ headers:
1239
+ access-control-allow-methods:
1240
+ - POST,GET,PUT,DELETE
1241
+ access-control-allow-origin:
1242
+ - "*"
1243
+ content-type:
1244
+ - application/json
1245
+ date:
1246
+ - Wed, 25 Jun 2014 14:22:30 GMT
1247
+ server:
1248
+ - nginx/1.0.12
1249
+ content-length:
1250
+ - '3307'
1251
+ connection:
1252
+ - Close
1253
+ body:
1254
+ encoding: UTF-8
1255
+ string: '{"category": 0, "code": 202, "combiner": 0, "created": "2014-06-25T14:22:28.423000",
1256
+ "credits": 1.5, "dataset": "dataset/53aadb200af5e8153100071e", "dataset_status":
1257
+ true, "dataset_type": 0, "datasets": [], "description": "", "dev": true, "ensemble":
1258
+ "", "fields_map": {"000000": "000000", "000001": "000001", "000002": "000002",
1259
+ "000003": "000003", "000004": "000004"}, "locale": "en-US", "max_rows": 150,
1260
+ "missing_strategy": 0, "model": "model/53aadb220af5e8152c001567", "model_status":
1261
+ true, "model_type": 0, "name": "foo name", "number_of_models": 1, "ordering":
1262
+ 0, "out_of_bag": false, "private": true, "range": [1, 150], "replacement":
1263
+ false, "resource": "evaluation/53aadb24ffa044085a000c7c", "result": {"class_names":
1264
+ ["Iris-setosa", "Iris-versicolor", "Iris-virginica"], "mode": {"accuracy":
1265
+ 0.33333, "average_f_measure": 0.16667, "average_phi": 0, "average_precision":
1266
+ 0.11111, "average_recall": 0.33333, "confusion_matrix": [[50, 0, 0], [50,
1267
+ 0, 0], [50, 0, 0]], "per_class_statistics": [{"accuracy": 0.3333333333333333,
1268
+ "class_name": "Iris-setosa", "f_measure": 0.5, "phi_coefficient": 0, "precision":
1269
+ 0.3333333333333333, "present_in_test_data": true, "recall": 1.0}, {"accuracy":
1270
+ 0.6666666666666667, "class_name": "Iris-versicolor", "f_measure": 0, "phi_coefficient":
1271
+ 0, "precision": 0, "present_in_test_data": true, "recall": 0.0}, {"accuracy":
1272
+ 0.6666666666666667, "class_name": "Iris-virginica", "f_measure": 0, "phi_coefficient":
1273
+ 0, "precision": 0, "present_in_test_data": true, "recall": 0.0}]}, "model":
1274
+ {"accuracy": 1, "average_f_measure": 1, "average_phi": 1, "average_precision":
1275
+ 1, "average_recall": 1, "confusion_matrix": [[50, 0, 0], [0, 50, 0], [0, 0,
1276
+ 50]], "per_class_statistics": [{"accuracy": 1.0, "class_name": "Iris-setosa",
1277
+ "f_measure": 1.0, "phi_coefficient": 1.0, "precision": 1.0, "present_in_test_data":
1278
+ true, "recall": 1.0}, {"accuracy": 1.0, "class_name": "Iris-versicolor", "f_measure":
1279
+ 1.0, "phi_coefficient": 1.0, "precision": 1.0, "present_in_test_data": true,
1280
+ "recall": 1.0}, {"accuracy": 1.0, "class_name": "Iris-virginica", "f_measure":
1281
+ 1.0, "phi_coefficient": 1.0, "precision": 1.0, "present_in_test_data": true,
1282
+ "recall": 1.0}]}, "random": {"accuracy": 0.34, "average_f_measure": 0.34196,
1283
+ "average_phi": 0.01243, "average_precision": 0.34646, "average_recall": 0.34,
1284
+ "confusion_matrix": [[17, 22, 11], [15, 14, 21], [10, 20, 20]], "per_class_statistics":
1285
+ [{"accuracy": 0.6133333333333333, "class_name": "Iris-setosa", "f_measure":
1286
+ 0.36956521739130443, "phi_coefficient": 0.09449111825230681, "precision":
1287
+ 0.40476190476190477, "present_in_test_data": true, "recall": 0.34}, {"accuracy":
1288
+ 0.48, "class_name": "Iris-versicolor", "f_measure": 0.2641509433962264, "phi_coefficient":
1289
+ -0.13644420572745383, "precision": 0.25, "present_in_test_data": true, "recall":
1290
+ 0.28}, {"accuracy": 0.5866666666666667, "class_name": "Iris-virginica", "f_measure":
1291
+ 0.39215686274509803, "phi_coefficient": 0.07924288517503274, "precision":
1292
+ 0.38461538461538464, "present_in_test_data": true, "recall": 0.4}]}}, "rows":
1293
+ 150, "sample_rate": 1.0, "sampled_rows": 150, "shared": false, "size": 4608,
1294
+ "status": {"code": 5, "elapsed": 462, "message": "The evaluation has been
1295
+ performed", "progress": 1.0}, "subscription": false, "tags": [], "type": 0,
1296
+ "updated": "2014-06-25T14:22:30.145147"}'
1297
+ http_version: '1.1'
1298
+ recorded_at: Wed, 25 Jun 2014 14:22:30 GMT
1299
+ - request:
1300
+ method: get
1301
+ uri: https://bigml.io/dev/andromeda/evaluation/53aadb24ffa044085a000c7c?username=<USERNAME>&api_key=<API_KEY>
1302
+ body:
1303
+ encoding: US-ASCII
1304
+ string: ''
1305
+ headers: {}
1306
+ response:
1307
+ status:
1308
+ code: 200
1309
+ message: OK
1310
+ headers:
1311
+ access-control-allow-methods:
1312
+ - POST,GET,PUT,DELETE
1313
+ access-control-allow-origin:
1314
+ - "*"
1315
+ content-type:
1316
+ - application/json
1317
+ date:
1318
+ - Wed, 25 Jun 2014 14:22:30 GMT
1319
+ server:
1320
+ - nginx/1.0.12
1321
+ vary:
1322
+ - Accept-Encoding
1323
+ transfer-encoding:
1324
+ - chunked
1325
+ connection:
1326
+ - Close
1327
+ body:
1328
+ encoding: UTF-8
1329
+ string: '{"category": 0, "code": 200, "combiner": 0, "created": "2014-06-25T14:22:28.423000",
1330
+ "credits": 1.5, "dataset": "dataset/53aadb200af5e8153100071e", "dataset_status":
1331
+ true, "dataset_type": 0, "datasets": [], "description": "", "dev": true, "ensemble":
1332
+ "", "fields_map": {"000000": "000000", "000001": "000001", "000002": "000002",
1333
+ "000003": "000003", "000004": "000004"}, "locale": "en-US", "max_rows": 150,
1334
+ "missing_strategy": 0, "model": "model/53aadb220af5e8152c001567", "model_status":
1335
+ true, "model_type": 0, "name": "foo name", "number_of_models": 1, "ordering":
1336
+ 0, "out_of_bag": false, "private": true, "range": [1, 150], "replacement":
1337
+ false, "resource": "evaluation/53aadb24ffa044085a000c7c", "result": {"class_names":
1338
+ ["Iris-setosa", "Iris-versicolor", "Iris-virginica"], "mode": {"accuracy":
1339
+ 0.33333, "average_f_measure": 0.16667, "average_phi": 0, "average_precision":
1340
+ 0.11111, "average_recall": 0.33333, "confusion_matrix": [[50, 0, 0], [50,
1341
+ 0, 0], [50, 0, 0]], "per_class_statistics": [{"accuracy": 0.3333333333333333,
1342
+ "class_name": "Iris-setosa", "f_measure": 0.5, "phi_coefficient": 0, "precision":
1343
+ 0.3333333333333333, "present_in_test_data": true, "recall": 1.0}, {"accuracy":
1344
+ 0.6666666666666667, "class_name": "Iris-versicolor", "f_measure": 0, "phi_coefficient":
1345
+ 0, "precision": 0, "present_in_test_data": true, "recall": 0.0}, {"accuracy":
1346
+ 0.6666666666666667, "class_name": "Iris-virginica", "f_measure": 0, "phi_coefficient":
1347
+ 0, "precision": 0, "present_in_test_data": true, "recall": 0.0}]}, "model":
1348
+ {"accuracy": 1, "average_f_measure": 1, "average_phi": 1, "average_precision":
1349
+ 1, "average_recall": 1, "confusion_matrix": [[50, 0, 0], [0, 50, 0], [0, 0,
1350
+ 50]], "per_class_statistics": [{"accuracy": 1.0, "class_name": "Iris-setosa",
1351
+ "f_measure": 1.0, "phi_coefficient": 1.0, "precision": 1.0, "present_in_test_data":
1352
+ true, "recall": 1.0}, {"accuracy": 1.0, "class_name": "Iris-versicolor", "f_measure":
1353
+ 1.0, "phi_coefficient": 1.0, "precision": 1.0, "present_in_test_data": true,
1354
+ "recall": 1.0}, {"accuracy": 1.0, "class_name": "Iris-virginica", "f_measure":
1355
+ 1.0, "phi_coefficient": 1.0, "precision": 1.0, "present_in_test_data": true,
1356
+ "recall": 1.0}]}, "random": {"accuracy": 0.34, "average_f_measure": 0.34196,
1357
+ "average_phi": 0.01243, "average_precision": 0.34646, "average_recall": 0.34,
1358
+ "confusion_matrix": [[17, 22, 11], [15, 14, 21], [10, 20, 20]], "per_class_statistics":
1359
+ [{"accuracy": 0.6133333333333333, "class_name": "Iris-setosa", "f_measure":
1360
+ 0.36956521739130443, "phi_coefficient": 0.09449111825230681, "precision":
1361
+ 0.40476190476190477, "present_in_test_data": true, "recall": 0.34}, {"accuracy":
1362
+ 0.48, "class_name": "Iris-versicolor", "f_measure": 0.2641509433962264, "phi_coefficient":
1363
+ -0.13644420572745383, "precision": 0.25, "present_in_test_data": true, "recall":
1364
+ 0.28}, {"accuracy": 0.5866666666666667, "class_name": "Iris-virginica", "f_measure":
1365
+ 0.39215686274509803, "phi_coefficient": 0.07924288517503274, "precision":
1366
+ 0.38461538461538464, "present_in_test_data": true, "recall": 0.4}]}}, "rows":
1367
+ 150, "sample_rate": 1.0, "sampled_rows": 150, "shared": false, "size": 4608,
1368
+ "status": {"code": 5, "elapsed": 462, "message": "The evaluation has been
1369
+ performed", "progress": 1.0}, "subscription": false, "tags": [], "type": 0,
1370
+ "updated": "2014-06-25T14:22:30.145000"}'
1371
+ http_version: '1.1'
1372
+ recorded_at: Wed, 25 Jun 2014 14:22:30 GMT
1373
+ recorded_with: VCR 2.9.2