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