big_ml 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
@@ -6,158 +6,84 @@ http_interactions:
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
- headers:
10
- connection:
11
- - close
9
+ headers: {}
12
10
  response:
13
11
  status:
14
12
  code: 200
15
13
  message: OK
16
14
  headers:
15
+ access-control-allow-methods:
16
+ - POST,GET,PUT,DELETE
17
+ access-control-allow-origin:
18
+ - "*"
17
19
  content-type:
18
- - application/json; charset=utf-8
20
+ - application/json
19
21
  date:
20
- - Sat, 14 Jul 2012 15:24:51 GMT
22
+ - Thu, 26 Jun 2014 14:29:50 GMT
21
23
  server:
22
24
  - nginx/1.0.12
23
25
  content-length:
24
- - '1293'
25
- connection:
26
- - Close
27
- body:
28
- encoding: US-ASCII
29
- string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
30
- "total_count": 1}, "objects": [{"category": 0, "code": 200, "content_type":
31
- "application/octet-stream", "created": "2012-07-14T15:31:26.353000", "credits":
32
- 0.0, "description": "", "dev": true, "fields": {"000000": {"column_number":
33
- 0, "name": "sepal length", "optype": "numeric"}, "000001": {"column_number":
34
- 1, "name": "sepal width", "optype": "numeric"}, "000002": {"column_number":
35
- 2, "name": "petal length", "optype": "numeric"}, "000003": {"column_number":
36
- 3, "name": "petal width", "optype": "numeric"}, "000004": {"column_number":
37
- 4, "name": "species", "optype": "categorical"}}, "file_name": "iris.csv",
38
- "md5": "d1175c032e1042bec7f974c91e4a65ae", "name": "iris.csv", "number_of_datasets":
39
- 1, "number_of_models": 1, "number_of_predictions": 0, "private": true, "resource":
40
- "source/500190ce1552681ee400002b", "size": 4608, "source_parser": {"header":
41
- true, "locale": "en_US", "missing_tokens": ["", "N/A", "n/a", "NULL", "null",
42
- "-", "#DIV/0", "#REF!", "#NAME?", "NIL", "nil", "NA", "na", "#VALUE!", "#NULL!",
43
- "NaN", "#N/A", "#NUM!", "?"], "quote": "\"", "separator": ","}, "status":
44
- {"code": 5, "elapsed": 98, "message": "The source has been created"}, "tags":
45
- [], "type": 0, "updated": "2012-07-14T15:30:25.295000"}]}'
46
- http_version: '1.1'
47
- recorded_at: Sat, 14 Jul 2012 15:30:54 GMT
48
- - request:
49
- method: delete
50
- uri: https://bigml.io/dev/andromeda/source/500190ce1552681ee400002b?username=<USERNAME>&api_key=<API_KEY>
51
- body:
52
- encoding: US-ASCII
53
- string: ''
54
- headers:
55
- connection:
56
- - close
57
- response:
58
- status:
59
- code: 204
60
- message: NO CONTENT
61
- headers:
62
- content-length:
63
- - '0'
64
- content-type:
65
- - text/html; charset=utf-8
66
- date:
67
- - Sat, 14 Jul 2012 15:29:56 GMT
68
- server:
69
- - nginx/1.0.12
26
+ - '101'
70
27
  connection:
71
28
  - Close
72
29
  body:
73
- encoding: US-ASCII
74
- string: ''
30
+ encoding: UTF-8
31
+ string: '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
32
+ "total_count": 0}, "objects": []}'
75
33
  http_version: '1.1'
76
- recorded_at: Sat, 14 Jul 2012 15:30:59 GMT
34
+ recorded_at: Thu, 26 Jun 2014 14:29:51 GMT
77
35
  - request:
78
36
  method: get
79
37
  uri: https://bigml.io/dev/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
80
38
  body:
81
39
  encoding: US-ASCII
82
40
  string: ''
83
- headers:
84
- connection:
85
- - close
41
+ headers: {}
86
42
  response:
87
43
  status:
88
44
  code: 200
89
45
  message: OK
90
46
  headers:
47
+ access-control-allow-methods:
48
+ - POST,GET,PUT,DELETE
49
+ access-control-allow-origin:
50
+ - "*"
91
51
  content-type:
92
- - application/json; charset=utf-8
93
- date:
94
- - Sat, 14 Jul 2012 15:24:57 GMT
95
- server:
96
- - nginx/1.0.12
97
- content-length:
98
- - '717'
99
- connection:
100
- - Close
101
- body:
102
- encoding: US-ASCII
103
- string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
104
- "total_count": 1}, "objects": [{"category": 0, "code": 200, "columns": 5,
105
- "created": "2012-07-14T15:30:23.797000", "credits": 0.00439453125, "description":
106
- "", "dev": true, "locale": "en_US", "name": "iris'' dataset", "number_of_models":
107
- 1, "number_of_predictions": 0, "private": true, "resource": "dataset/5001908f035d075696000012",
108
- "rows": 150, "size": 4608, "source": "source/500190ce1552681ee400002b", "source_status":
109
- false, "status": {"bytes": 4608, "code": 5, "elapsed": 182, "field_errors":
110
- [], "message": "The dataset has been created", "row_format_errors": [], "serialized_rows":
111
- 150}, "tags": [], "updated": "2012-07-14T15:30:25.301000"}]}'
112
- http_version: '1.1'
113
- recorded_at: Sat, 14 Jul 2012 15:31:00 GMT
114
- - request:
115
- method: delete
116
- uri: https://bigml.io/dev/andromeda/dataset/5001908f035d075696000012?username=<USERNAME>&api_key=<API_KEY>
117
- body:
118
- encoding: US-ASCII
119
- string: ''
120
- headers:
121
- connection:
122
- - close
123
- response:
124
- status:
125
- code: 204
126
- message: NO CONTENT
127
- headers:
128
- content-length:
129
- - '0'
130
- content-type:
131
- - text/html; charset=utf-8
52
+ - application/json
132
53
  date:
133
- - Sat, 14 Jul 2012 15:29:58 GMT
54
+ - Thu, 26 Jun 2014 14:29:50 GMT
134
55
  server:
135
56
  - nginx/1.0.12
57
+ transfer-encoding:
58
+ - chunked
136
59
  connection:
137
60
  - Close
138
61
  body:
139
- encoding: US-ASCII
140
- string: ''
62
+ encoding: UTF-8
63
+ string: '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
64
+ "total_count": 0}, "objects": []}'
141
65
  http_version: '1.1'
142
- recorded_at: Sat, 14 Jul 2012 15:31:01 GMT
66
+ recorded_at: Thu, 26 Jun 2014 14:29:51 GMT
143
67
  - request:
144
68
  method: get
145
69
  uri: https://bigml.io/dev/andromeda/model?username=<USERNAME>&api_key=<API_KEY>
146
70
  body:
147
71
  encoding: US-ASCII
148
72
  string: ''
149
- headers:
150
- connection:
151
- - close
73
+ headers: {}
152
74
  response:
153
75
  status:
154
76
  code: 200
155
77
  message: OK
156
78
  headers:
79
+ access-control-allow-methods:
80
+ - POST,GET,PUT,DELETE
81
+ access-control-allow-origin:
82
+ - "*"
157
83
  content-type:
158
- - application/json; charset=utf-8
84
+ - application/json
159
85
  date:
160
- - Sat, 14 Jul 2012 15:24:59 GMT
86
+ - Thu, 26 Jun 2014 14:29:50 GMT
161
87
  server:
162
88
  - nginx/1.0.12
163
89
  transfer-encoding:
@@ -165,49 +91,43 @@ http_interactions:
165
91
  connection:
166
92
  - Close
167
93
  body:
168
- encoding: US-ASCII
169
- string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
170
- "total_count": 1}, "objects": [{"category": 0, "code": 200, "columns": 5,
171
- "created": "2012-07-14T15:30:25.290000", "credits": 0.017578125, "dataset":
172
- "dataset/5001908f035d075696000012", "dataset_status": false, "description":
173
- "", "dev": true, "holdout": 0.0, "input_fields": ["000000", "000001", "000002",
174
- "000003"], "locale": "en_US", "max_columns": 5, "max_rows": 150, "name": "iris''
175
- dataset model", "number_of_predictions": 0, "objective_fields": ["000004"],
176
- "private": true, "range": [1, 150], "resource": "model/50019091035d075696000014",
177
- "rows": 150, "size": 4608, "source": "source/500190ce1552681ee400002b", "source_status":
178
- false, "status": {"code": 5, "elapsed": 132, "message": "The model has been
179
- created", "progress": 1}, "tags": [], "updated": "2012-07-14T15:31:30.945000"}]}'
94
+ encoding: UTF-8
95
+ string: '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
96
+ "total_count": 0}, "objects": []}'
180
97
  http_version: '1.1'
181
- recorded_at: Sat, 14 Jul 2012 15:31:02 GMT
98
+ recorded_at: Thu, 26 Jun 2014 14:29:51 GMT
182
99
  - request:
183
100
  method: delete
184
- uri: https://bigml.io/dev/andromeda/model/50019091035d075696000014?username=<USERNAME>&api_key=<API_KEY>
101
+ uri: https://bigml.io/dev/andromeda/model/53aae4a648d9b65d040001d3?username=<USERNAME>&api_key=<API_KEY>
185
102
  body:
186
103
  encoding: US-ASCII
187
104
  string: ''
188
- headers:
189
- connection:
190
- - close
105
+ headers: {}
191
106
  response:
192
107
  status:
193
- code: 204
194
- message: NO CONTENT
108
+ code: 400
109
+ message: BAD REQUEST
195
110
  headers:
196
- content-length:
197
- - '0'
111
+ access-control-allow-methods:
112
+ - POST,GET,PUT,DELETE
113
+ access-control-allow-origin:
114
+ - "*"
198
115
  content-type:
199
- - text/html; charset=utf-8
116
+ - application/json
200
117
  date:
201
- - Sat, 14 Jul 2012 15:30:02 GMT
118
+ - Thu, 26 Jun 2014 14:29:51 GMT
202
119
  server:
203
120
  - nginx/1.0.12
121
+ transfer-encoding:
122
+ - chunked
204
123
  connection:
205
124
  - Close
206
125
  body:
207
- encoding: US-ASCII
208
- string: ''
126
+ encoding: UTF-8
127
+ string: '{"code": 400, "status": {"code": -1204, "extra": ["A model from an
128
+ ensemble cannot be deleted individually"], "message": "Bad request"}}'
209
129
  http_version: '1.1'
210
- recorded_at: Sat, 14 Jul 2012 15:31:05 GMT
130
+ recorded_at: Thu, 26 Jun 2014 14:29:52 GMT
211
131
  - request:
212
132
  method: post
213
133
  uri: https://bigml.io/dev/andromeda/source
@@ -218,231 +138,298 @@ http_interactions:
218
138
  content-type:
219
139
  - multipart/form-data; boundary=-----------RubyMultipartPost
220
140
  content-length:
221
- - '5149'
222
- connection:
223
- - close
141
+ - '5150'
224
142
  response:
225
143
  status:
226
144
  code: 201
227
145
  message: CREATED
228
146
  headers:
147
+ access-control-allow-methods:
148
+ - POST,GET,PUT,DELETE
149
+ access-control-allow-origin:
150
+ - "*"
229
151
  content-type:
230
- - application/json; charset=utf-8
152
+ - application/json
231
153
  date:
232
- - Sat, 14 Jul 2012 15:25:07 GMT
154
+ - Thu, 26 Jun 2014 14:29:53 GMT
233
155
  location:
234
- - http://bigml.io/andromeda/source/500190a3035d07404e000045
156
+ - http://bigml.io/andromeda/source/53ac2e600af5e8152c005e4f
235
157
  server:
236
158
  - nginx/1.0.12
237
159
  content-length:
238
- - '580'
160
+ - '736'
239
161
  connection:
240
162
  - Close
241
163
  body:
242
- encoding: US-ASCII
243
- string: ! '{"category": 0, "code": 201, "content_type": "application/octet-stream",
244
- "created": "2012-07-14T15:30:43.009546", "credits": 0.0, "description": "",
245
- "dev": true, "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae",
246
- "name": "iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
247
- 0, "private": true, "resource": "source/500190a3035d07404e000045", "size":
248
- 4608, "source_parser": {}, "status": {"code": 1, "message": "The request has
249
- been queued and will be processed soon"}, "tags": [], "type": 0, "updated":
250
- "2012-07-14T15:30:43.009716"}'
164
+ encoding: UTF-8
165
+ string: '{"category": 0, "code": 200, "content_type": "application/octet-stream",
166
+ "created": "2014-06-26T14:29:52.973000", "credits": 0.0, "description": "",
167
+ "dev": true, "fields": {"000000": {"column_number": 0, "name": "sepal length",
168
+ "optype": "numeric", "order": 0}, "000001": {"column_number": 1, "name": "sepal
169
+ width", "optype": "numeric", "order": 1}, "000002": {"column_number": 2, "name":
170
+ "petal length", "optype": "numeric", "order": 2}, "000003": {"column_number":
171
+ 3, "name": "petal width", "optype": "numeric", "order": 3}, "000004": {"column_number":
172
+ 4, "name": "species", "optype": "categorical", "order": 4, "term_analysis":
173
+ {"enabled": true}}}, "fields_meta": {"count": 5, "limit": 1000, "offset":
174
+ 0, "query_total": 5, "total": 5}, "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae",
175
+ "name": "iris.csv", "number_of_datasets": 0, "number_of_ensembles": 0, "number_of_models":
176
+ 0, "number_of_predictions": 0, "private": true, "resource": "source/53ac2e600af5e8152c005e4f",
177
+ "shared": false, "size": 4608, "source_parser": {"header": true, "locale":
178
+ "en_US", "missing_tokens": ["", "NaN", "NULL", "N/A", "null", "-", "#REF!",
179
+ "#VALUE!", "?", "#NULL!", "#NUM!", "#DIV/0", "n/a", "#NAME?", "NIL", "nil",
180
+ "na", "#N/A", "NA"], "quote": "\"", "separator": ","}, "status": {"code":
181
+ 5, "elapsed": 365, "message": "The source has been created"}, "subscription":
182
+ false, "tags": [], "term_analysis": {"enabled": true}, "type": 0, "updated":
183
+ "2014-06-26T14:29:53.531000"}'
251
184
  http_version: '1.1'
252
- recorded_at: Sat, 14 Jul 2012 15:31:10 GMT
185
+ recorded_at: Thu, 26 Jun 2014 14:29:53 GMT
253
186
  - request:
254
187
  method: post
255
188
  uri: https://bigml.io/dev/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
256
189
  body:
257
190
  encoding: UTF-8
258
- string: ! '{"source":"source/500190a3035d07404e000045"}'
191
+ string: '{"source":"source/53ac2e600af5e8152c005e4f"}'
259
192
  headers:
260
193
  content-type:
261
194
  - application/json
262
- connection:
263
- - close
264
195
  response:
265
196
  status:
266
197
  code: 201
267
198
  message: CREATED
268
199
  headers:
200
+ access-control-allow-methods:
201
+ - POST,GET,PUT,DELETE
202
+ access-control-allow-origin:
203
+ - "*"
269
204
  content-type:
270
- - application/json; charset=utf-8
205
+ - application/json
271
206
  date:
272
- - Sat, 14 Jul 2012 15:30:09 GMT
207
+ - Thu, 26 Jun 2014 14:29:54 GMT
273
208
  location:
274
- - http://bigml.io/andromeda/dataset/500190e41552681edf00003c
209
+ - http://bigml.io/andromeda/dataset/53ac2e620af5e8152c005e52
275
210
  server:
276
211
  - nginx/1.0.12
277
212
  content-length:
278
- - '934'
213
+ - '1294'
279
214
  connection:
280
215
  - Close
281
216
  body:
282
- encoding: US-ASCII
283
- string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-07-14T15:31:48.687071",
284
- "credits": 0.00439453125, "description": "", "dev": true, "fields": {"000000":
285
- {"column_number": 0, "name": "sepal length", "optype": "numeric"}, "000001":
286
- {"column_number": 1, "name": "sepal width", "optype": "numeric"}, "000002":
287
- {"column_number": 2, "name": "petal length", "optype": "numeric"}, "000003":
288
- {"column_number": 3, "name": "petal width", "optype": "numeric"}, "000004":
289
- {"column_number": 4, "name": "species", "optype": "categorical"}}, "locale":
290
- "en_US", "name": "iris'' dataset", "number_of_models": 0, "number_of_predictions":
291
- 0, "private": true, "resource": "dataset/500190e41552681edf00003c", "rows":
292
- 0, "size": 4608, "source": "source/500190a3035d07404e000045", "source_status":
293
- true, "status": {"code": 1, "message": "The dataset is being processed and
294
- will be created soon"}, "tags": [], "updated": "2012-07-14T15:31:48.687088"}'
217
+ encoding: UTF-8
218
+ string: '{"all_fields": true, "category": 0, "cluster": null, "cluster_status":
219
+ true, "code": 200, "columns": 5, "created": "2014-06-26T14:29:54.683000",
220
+ "credits": 0.00439453125, "description": "", "dev": true, "download": {"code":
221
+ 0, "excluded_input_fields": [], "header": true, "input_fields": [], "message":
222
+ "", "preview": [], "separator": ","}, "excluded_fields": [], "field_types":
223
+ {"categorical": 1, "datetime": 0, "numeric": 4, "preferred": 5, "text": 0,
224
+ "total": 5}, "fields": {"000000": {"column_number": 0, "datatype": "double",
225
+ "name": "sepal length", "optype": "numeric", "order": 0, "preferred": true,
226
+ "summary": {"bins": [[4.3, 1], [4.425, 4], [4.6, 4], [4.77143, 7], [4.9625,
227
+ 16], [5.1, 9], [5.2, 4], [5.3, 1], [5.4, 6], [5.5, 7], [5.6, 6], [5.7, 8],
228
+ [5.8, 7], [5.9, 3], [6, 6], [6.1, 6], [6.2, 4], [6.3, 9], [6.4, 7], [6.5,
229
+ 5], [6.6, 2], [6.7, 8], [6.8, 3], [6.9, 4], [7, 1], [7.1, 1], [7.2, 3], [7.3,
230
+ 1], [7.4, 1], [7.6, 1], [7.7, 4], [7.9, 1]], "maximum": 7.9, "mean": 5.84333,
231
+ "median": 5.77889, "minimum": 4.3, "missing_count": 0, "population": 150,
232
+ "splits": [4.51526, 4.67252, 4.81113, 4.89582, 4.96139, 5.01131, 5.05992,
233
+ 5.11148, 5.18177, 5.35681, 5.44129, 5.5108, 5.58255, 5.65532, 5.71658, 5.77889,
234
+ 5.85381, 5.97078, 6.05104, 6.13074, 6.23023, 6.29578, 6.35078, 6.41459, 6.49383,
235
+ 6.63013, 6.70719, 6.79218, 6.92597, 7.20423, 7.64746], "standard_deviation":
236
+ 0.82807, "sum": 876.5, "sum_squares": 5223.85, "variance": 0.68569}}, "000001":
237
+ {"column_number": 1, "datatype": "double", "name": "sepal width", "optype":
238
+ "numeric", "order": 1, "preferred": true, "summary": {"counts": [[2, 1], [2.2,
239
+ 3], [2.3, 4], [2.4, 3], [2.5, 8], [2.6, 5], [2.7, 9], [2.8, 14], [2.9, 10],
240
+ [3, 26], [3.1, 11], [3.2, 13], [3.3, 6], [3.4, 12], [3.5, 6], [3.6, 4], [3.7,
241
+ 3], [3.8, 6], [3.9, 2], [4, 1], [4.1, 1], [4.2, 1], [4.4, 1]], "maximum":
242
+ 4.4, "mean": 3.05733, "median": 3.02044, "minimum": 2, "missing_count": 0,
243
+ "population": 150, "standard_deviation": 0.43587, "sum": 458.6, "sum_squares":
244
+ 1430.4, "variance": 0.18998}}, "000002": {"column_number": 2, "datatype":
245
+ "double", "name": "petal length", "optype": "numeric", "order": 2, "preferred":
246
+ true, "summary": {"bins": [[1, 1], [1.16667, 3], [1.3, 7], [1.4, 13], [1.5,
247
+ 13], [1.6, 7], [1.7, 4], [1.9, 2], [3, 1], [3.3, 2], [3.5, 2], [3.6, 1], [3.75,
248
+ 2], [3.9, 3], [4.0375, 8], [4.23333, 6], [4.46667, 12], [4.6, 3], [4.74444,
249
+ 9], [4.94444, 9], [5.1, 8], [5.25, 4], [5.46, 5], [5.6, 6], [5.75, 6], [5.95,
250
+ 4], [6.1, 3], [6.3, 1], [6.4, 1], [6.6, 1], [6.7, 2], [6.9, 1]], "maximum":
251
+ 6.9, "mean": 3.758, "median": 4.34142, "minimum": 1, "missing_count": 0, "population":
252
+ 150, "splits": [1.25138, 1.32426, 1.37171, 1.40962, 1.44567, 1.48173, 1.51859,
253
+ 1.56301, 1.6255, 1.74645, 3.23033, 3.675, 3.94203, 4.0469, 4.18243, 4.34142,
254
+ 4.45309, 4.51823, 4.61771, 4.72566, 4.83445, 4.93363, 5.03807, 5.1064, 5.20938,
255
+ 5.43979, 5.5744, 5.6646, 5.81496, 6.02913, 6.38125], "standard_deviation":
256
+ 1.7653, "sum": 563.7, "sum_squares": 2582.71, "variance": 3.11628}}, "000003":
257
+ {"column_number": 3, "datatype": "double", "name": "petal width", "optype":
258
+ "numeric", "order": 3, "preferred": true, "summary": {"counts": [[0.1, 5],
259
+ [0.2, 29], [0.3, 7], [0.4, 7], [0.5, 1], [0.6, 1], [1, 7], [1.1, 3], [1.2,
260
+ 5], [1.3, 13], [1.4, 8], [1.5, 12], [1.6, 4], [1.7, 2], [1.8, 12], [1.9, 5],
261
+ [2, 6], [2.1, 6], [2.2, 3], [2.3, 8], [2.4, 3], [2.5, 3]], "maximum": 2.5,
262
+ "mean": 1.19933, "median": 1.32848, "minimum": 0.1, "missing_count": 0, "population":
263
+ 150, "standard_deviation": 0.76224, "sum": 179.9, "sum_squares": 302.33, "variance":
264
+ 0.58101}}, "000004": {"column_number": 4, "datatype": "string", "name": "species",
265
+ "optype": "categorical", "order": 4, "preferred": true, "summary": {"categories":
266
+ [["Iris-setosa", 50], ["Iris-versicolor", 50], ["Iris-virginica", 50]], "missing_count":
267
+ 0}, "term_analysis": {"enabled": true}}}, "fields_meta": {"count": 5, "limit":
268
+ 1000, "offset": 0, "query_total": 5, "total": 5}, "locale": "en_US", "missing_numeric_rows":
269
+ 0, "missing_tokens": ["", "NaN", "NULL", "N/A", "null", "-", "#REF!", "#VALUE!",
270
+ "?", "#NULL!", "#NUM!", "#DIV/0", "n/a", "#NAME?", "NIL", "nil", "na", "#N/A",
271
+ "NA"], "name": "iris'' dataset", "number_of_batchcentroids": 0, "number_of_batchpredictions":
272
+ 0, "number_of_clusters": 0, "number_of_ensembles": 0, "number_of_evaluations":
273
+ 0, "number_of_models": 0, "number_of_predictions": 0, "objective_field": {"column_number":
274
+ 4, "datatype": "string", "id": "000004", "name": "species", "optype": "categorical",
275
+ "order": 4, "term_analysis": {"enabled": true}}, "price": 0.0, "private":
276
+ true, "ranges": null, "replacements": null, "resource": "dataset/53ac2e620af5e8152c005e52",
277
+ "rows": 150, "sample_rates": null, "seeds": null, "shared": false, "size":
278
+ 4608, "source": "source/53ac2e600af5e8152c005e4f", "source_status": true,
279
+ "status": {"bytes": 4608, "code": 5, "elapsed": 412, "field_errors": [], "message":
280
+ "The dataset has been created", "row_format_errors": [], "serialized_rows":
281
+ 150}, "subscription": false, "tags": [], "term_limit": 32, "updated": "2014-06-26T14:29:55.325000",
282
+ "user_metadata": {}}'
295
283
  http_version: '1.1'
296
- recorded_at: Sat, 14 Jul 2012 15:31:12 GMT
284
+ recorded_at: Thu, 26 Jun 2014 14:29:55 GMT
297
285
  - request:
298
286
  method: post
299
287
  uri: https://bigml.io/dev/andromeda/model?username=<USERNAME>&api_key=<API_KEY>
300
288
  body:
301
289
  encoding: UTF-8
302
- string: ! '{"dataset":"dataset/500190e41552681edf00003c"}'
290
+ string: '{"dataset":"dataset/53ac2e620af5e8152c005e52"}'
303
291
  headers:
304
292
  content-type:
305
293
  - application/json
306
- connection:
307
- - close
308
294
  response:
309
295
  status:
310
296
  code: 201
311
297
  message: CREATED
312
298
  headers:
299
+ access-control-allow-methods:
300
+ - POST,GET,PUT,DELETE
301
+ access-control-allow-origin:
302
+ - "*"
313
303
  content-type:
314
- - application/json; charset=utf-8
304
+ - application/json
315
305
  date:
316
- - Sat, 14 Jul 2012 15:25:28 GMT
306
+ - Thu, 26 Jun 2014 14:29:56 GMT
317
307
  location:
318
- - http://bigml.io/andromeda/model/500190f61552681edf00003e
308
+ - http://bigml.io/andromeda/model/53ac2e640af5e8153700214d
319
309
  server:
320
310
  - nginx/1.0.12
321
- content-length:
322
- - '704'
311
+ transfer-encoding:
312
+ - chunked
323
313
  connection:
324
314
  - Close
325
315
  body:
326
- encoding: US-ASCII
327
- string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-07-14T15:32:06.086964",
328
- "credits": 0.017578125, "dataset": "dataset/500190e41552681edf00003c", "dataset_status":
329
- true, "description": "", "dev": true, "holdout": 0.0, "input_fields": [],
330
- "locale": "en_US", "max_columns": 5, "max_rows": 150, "name": "iris'' dataset
331
- model", "number_of_predictions": 0, "objective_fields": [], "private": true,
332
- "range": [1, 150], "resource": "model/500190f61552681edf00003e", "rows": 150,
333
- "size": 4608, "source": "source/500190a3035d07404e000045", "source_status":
334
- true, "status": {"code": 1, "message": "The model is being processed and will
335
- be created soon"}, "tags": [], "updated": "2012-07-14T15:32:06.086997"}'
316
+ encoding: UTF-8
317
+ string: '{"balance_objective": false, "category": 0, "code": 201, "columns":
318
+ 1, "created": "2014-06-26T14:29:56.443957", "credits": 0.017578125, "credits_per_prediction":
319
+ 0.0, "dataset": "dataset/53ac2e620af5e8152c005e52", "dataset_field_types":
320
+ {"categorical": 1, "datetime": 0, "numeric": 4, "preferred": 5, "text": 0,
321
+ "total": 5}, "dataset_status": true, "dataset_type": 0, "description": "",
322
+ "dev": true, "ensemble": false, "ensemble_id": "", "ensemble_index": 0, "excluded_fields":
323
+ [], "fields_meta": {"count": 0, "limit": 1000, "offset": 0, "total": 0}, "input_fields":
324
+ [], "locale": "en-US", "max_columns": 5, "max_rows": 150, "name": "iris''
325
+ dataset model", "node_threshold": 512, "number_of_batchpredictions": 0, "number_of_evaluations":
326
+ 0, "number_of_predictions": 0, "number_of_public_predictions": 0, "objective_field":
327
+ "000004", "objective_fields": ["000004"], "ordering": 0, "out_of_bag": false,
328
+ "price": 0.0, "private": true, "randomize": false, "range": [1, 150], "replacement":
329
+ false, "resource": "model/53ac2e640af5e8153700214d", "rows": 150, "sample_rate":
330
+ 1.0, "shared": false, "size": 4608, "source": "source/53ac2e600af5e8152c005e4f",
331
+ "source_status": true, "status": {"code": 1, "message": "The model is being
332
+ processed and will be created soon"}, "subscription": false, "tags": ["species"],
333
+ "updated": "2014-06-26T14:29:56.443991", "white_box": false}'
336
334
  http_version: '1.1'
337
- recorded_at: Sat, 14 Jul 2012 15:31:31 GMT
335
+ recorded_at: Thu, 26 Jun 2014 14:29:57 GMT
338
336
  - request:
339
337
  method: get
340
- uri: https://bigml.io/dev/andromeda/model/500190f61552681edf00003e?username=<USERNAME>&api_key=<API_KEY>
338
+ uri: https://bigml.io/dev/andromeda/model/53ac2e640af5e8153700214d?username=<USERNAME>&api_key=<API_KEY>
341
339
  body:
342
340
  encoding: US-ASCII
343
341
  string: ''
344
- headers:
345
- connection:
346
- - close
342
+ headers: {}
347
343
  response:
348
344
  status:
349
345
  code: 200
350
346
  message: OK
351
347
  headers:
348
+ access-control-allow-methods:
349
+ - POST,GET,PUT,DELETE
350
+ access-control-allow-origin:
351
+ - "*"
352
352
  content-type:
353
- - application/json; charset=utf-8
353
+ - application/json
354
354
  date:
355
- - Sat, 14 Jul 2012 15:30:29 GMT
355
+ - Thu, 26 Jun 2014 14:29:56 GMT
356
356
  server:
357
357
  - nginx/1.0.12
358
- content-length:
359
- - '6528'
358
+ vary:
359
+ - Accept-Encoding
360
+ transfer-encoding:
361
+ - chunked
360
362
  connection:
361
363
  - Close
362
364
  body:
363
- encoding: US-ASCII
364
- string: ! '{"category": 0, "code": 200, "columns": 5, "created": "2012-07-14T15:32:06.086000",
365
- "credits": 0.017578125, "dataset": "dataset/500190e41552681edf00003c", "dataset_status":
366
- true, "description": "", "dev": true, "holdout": 0.0, "input_fields": ["000000",
367
- "000001", "000002", "000003"], "locale": "en_US", "max_columns": 5, "max_rows":
368
- 150, "model": {"fields": {"000000": {"column_number": 0, "datatype": "double",
369
- "name": "sepal length", "optype": "numeric", "preferred": true, "summary":
370
- {"maximum": 7.9, "median": 5.77889, "minimum": 4.3, "missing_count": 0, "population":
371
- 150, "splits": [4.51526, 4.67252, 4.81113, 4.89582, 4.96139, 5.01131, 5.05992,
372
- 5.11148, 5.18177, 5.35681, 5.44129, 5.5108, 5.58255, 5.65532, 5.71658, 5.77889,
373
- 5.85381, 5.97078, 6.05104, 6.13074, 6.23023, 6.29578, 6.35078, 6.41459, 6.49383,
374
- 6.63013, 6.70719, 6.79218, 6.92597, 7.20423, 7.64746], "sum": 876.5, "sum_squares":
375
- 5223.85}}, "000001": {"column_number": 1, "datatype": "double", "name": "sepal
376
- width", "optype": "numeric", "preferred": true, "summary": {"counts": [[2,
377
- 1], [2.2, 3], [2.3, 4], [2.4, 3], [2.5, 8], [2.6, 5], [2.7, 9], [2.8, 14],
378
- [2.9, 10], [3, 26], [3.1, 11], [3.2, 13], [3.3, 6], [3.4, 12], [3.5, 6], [3.6,
379
- 4], [3.7, 3], [3.8, 6], [3.9, 2], [4, 1], [4.1, 1], [4.2, 1], [4.4, 1]], "maximum":
380
- 4.4, "median": 3.02044, "minimum": 2, "missing_count": 0, "population": 150,
381
- "sum": 458.6, "sum_squares": 1430.4}}, "000002": {"column_number": 2, "datatype":
382
- "double", "name": "petal length", "optype": "numeric", "preferred": true,
383
- "summary": {"maximum": 6.9, "median": 4.34142, "minimum": 1, "missing_count":
384
- 0, "population": 150, "splits": [1.25138, 1.32426, 1.37171, 1.40962, 1.44567,
385
- 1.48173, 1.51859, 1.56301, 1.6255, 1.74645, 3.23033, 3.675, 3.94203, 4.0469,
386
- 4.18243, 4.34142, 4.45309, 4.51823, 4.61771, 4.72566, 4.83445, 4.93363, 5.03807,
387
- 5.1064, 5.20938, 5.43979, 5.5744, 5.6646, 5.81496, 6.02913, 6.38125], "sum":
388
- 563.7, "sum_squares": 2582.71}}, "000003": {"column_number": 3, "datatype":
389
- "double", "name": "petal width", "optype": "numeric", "preferred": true, "summary":
390
- {"counts": [[0.1, 5], [0.2, 29], [0.3, 7], [0.4, 7], [0.5, 1], [0.6, 1], [1,
391
- 7], [1.1, 3], [1.2, 5], [1.3, 13], [1.4, 8], [1.5, 12], [1.6, 4], [1.7, 2],
392
- [1.8, 12], [1.9, 5], [2, 6], [2.1, 6], [2.2, 3], [2.3, 8], [2.4, 3], [2.5,
393
- 3]], "maximum": 2.5, "median": 1.32848, "minimum": 0.1, "missing_count": 0,
394
- "population": 150, "sum": 179.9, "sum_squares": 302.33}}, "000004": {"column_number":
395
- 4, "datatype": "string", "name": "species", "optype": "categorical", "preferred":
396
- true, "summary": {"categories": [["Iris-versicolor", 50], ["Iris-setosa",
397
- 50], ["Iris-virginica", 50]], "missing_count": 0}}}, "kind": "stree", "locale":
398
- "en_US", "missing_strategy": "last_prediction", "root": {"children": [{"children":
399
- [{"children": [{"count": 38, "distribution": [["Iris-virginica", 38]], "leaf":
400
- true, "output": "Iris-virginica", "predicate": {"field": "000002", "operator":
401
- ">", "value": 5.05}}, {"children": [{"children": [{"children": [{"count":
402
- 1, "distribution": [["Iris-versicolor", 1]], "leaf": true, "output": "Iris-versicolor",
403
- "predicate": {"field": "000002", "operator": ">", "value": 4.95}}, {"count":
404
- 2, "distribution": [["Iris-virginica", 2]], "leaf": true, "output": "Iris-virginica",
405
- "predicate": {"field": "000002", "operator": "<=", "value": 4.95}}], "count":
406
- 3, "distribution": [["Iris-virginica", 2], ["Iris-versicolor", 1]], "output":
407
- "Iris-virginica", "predicate": {"field": "000000", "operator": ">", "value":
408
- 5.95}}, {"count": 1, "distribution": [["Iris-versicolor", 1]], "leaf": true,
409
- "output": "Iris-versicolor", "predicate": {"field": "000000", "operator":
410
- "<=", "value": 5.95}}], "count": 4, "distribution": [["Iris-virginica", 2],
411
- ["Iris-versicolor", 2]], "output": "Iris-virginica", "predicate": {"field":
412
- "000001", "operator": ">", "value": 2.9}}, {"count": 6, "distribution": [["Iris-virginica",
413
- 6]], "leaf": true, "output": "Iris-virginica", "predicate": {"field": "000001",
414
- "operator": "<=", "value": 2.9}}], "count": 10, "distribution": [["Iris-virginica",
415
- 8], ["Iris-versicolor", 2]], "output": "Iris-virginica", "predicate": {"field":
416
- "000002", "operator": "<=", "value": 5.05}}], "count": 48, "distribution":
417
- [["Iris-virginica", 46], ["Iris-versicolor", 2]], "output": "Iris-virginica",
418
- "predicate": {"field": "000003", "operator": ">", "value": 1.65}}, {"children":
419
- [{"children": [{"count": 3, "distribution": [["Iris-virginica", 3]], "leaf":
420
- true, "output": "Iris-virginica", "predicate": {"field": "000000", "operator":
421
- ">", "value": 6.05}}, {"children": [{"count": 1, "distribution": [["Iris-versicolor",
422
- 1]], "leaf": true, "output": "Iris-versicolor", "predicate": {"field": "000001",
423
- "operator": ">", "value": 2.45}}, {"count": 1, "distribution": [["Iris-virginica",
424
- 1]], "leaf": true, "output": "Iris-virginica", "predicate": {"field": "000001",
425
- "operator": "<=", "value": 2.45}}], "count": 2, "distribution": [["Iris-virginica",
426
- 1], ["Iris-versicolor", 1]], "output": "Iris-virginica", "predicate": {"field":
427
- "000000", "operator": "<=", "value": 6.05}}], "count": 5, "distribution":
428
- [["Iris-virginica", 4], ["Iris-versicolor", 1]], "output": "Iris-virginica",
429
- "predicate": {"field": "000002", "operator": ">", "value": 4.95}}, {"count":
430
- 47, "distribution": [["Iris-versicolor", 47]], "leaf": true, "output": "Iris-versicolor",
431
- "predicate": {"field": "000002", "operator": "<=", "value": 4.95}}], "count":
432
- 52, "distribution": [["Iris-virginica", 4], ["Iris-versicolor", 48]], "output":
433
- "Iris-versicolor", "predicate": {"field": "000003", "operator": "<=", "value":
434
- 1.65}}], "count": 100, "distribution": [["Iris-virginica", 50], ["Iris-versicolor",
435
- 50]], "output": "Iris-virginica", "predicate": {"field": "000002", "operator":
436
- ">", "value": 2.45}}, {"count": 50, "distribution": [["Iris-setosa", 50]],
437
- "leaf": true, "output": "Iris-setosa", "predicate": {"field": "000002", "operator":
438
- "<=", "value": 2.45}}], "count": 150, "distribution": [["Iris-virginica",
439
- 50], ["Iris-versicolor", 50], ["Iris-setosa", 50]], "output": "Iris-virginica",
440
- "predicate": true}, "row_range": {"size": 150, "start": 0}}, "name": "iris''
441
- dataset model", "number_of_predictions": 0, "objective_fields": ["000004"],
442
- "private": true, "range": [1, 150], "resource": "model/500190f61552681edf00003e",
443
- "rows": 150, "size": 4608, "source": "source/500190a3035d07404e000045", "source_status":
444
- true, "status": {"code": 5, "elapsed": 143, "message": "The model has been
445
- created", "progress": 1}, "tags": [], "updated": "2012-07-14T15:32:08.197000"}'
365
+ encoding: UTF-8
366
+ string: '{"balance_objective": false, "category": 0, "code": 200, "columns":
367
+ 5, "created": "2014-06-26T14:29:56.443000", "credits": 0.017578125, "credits_per_prediction":
368
+ 0.0, "dataset": "dataset/53ac2e620af5e8152c005e52", "dataset_field_types":
369
+ {"categorical": 1, "datetime": 0, "numeric": 4, "preferred": 5, "text": 0,
370
+ "total": 5}, "dataset_status": true, "dataset_type": 0, "description": "",
371
+ "dev": true, "ensemble": false, "ensemble_id": "", "ensemble_index": 0, "excluded_fields":
372
+ [], "fields_meta": {"count": 5, "limit": 1000, "offset": 0, "query_total":
373
+ 5, "total": 5}, "input_fields": ["000000", "000001", "000002", "000003"],
374
+ "locale": "en_US", "max_columns": 5, "max_rows": 150, "model": {"fields":
375
+ {"000000": {"column_number": 0, "datatype": "double", "name": "sepal length",
376
+ "optype": "numeric", "order": 0, "preferred": true, "summary": {"bins": [[4.3,
377
+ 1], [4.425, 4], [4.6, 4], [4.77143, 7], [4.9625, 16], [5.1, 9], [5.2, 4],
378
+ [5.3, 1], [5.4, 6], [5.5, 7], [5.6, 6], [5.7, 8], [5.8, 7], [5.9, 3], [6,
379
+ 6], [6.1, 6], [6.2, 4], [6.3, 9], [6.4, 7], [6.5, 5], [6.6, 2], [6.7, 8],
380
+ [6.8, 3], [6.9, 4], [7, 1], [7.1, 1], [7.2, 3], [7.3, 1], [7.4, 1], [7.6,
381
+ 1], [7.7, 4], [7.9, 1]], "maximum": 7.9, "mean": 5.84333, "median": 5.77889,
382
+ "minimum": 4.3, "missing_count": 0, "population": 150, "splits": [4.51526,
383
+ 4.67252, 4.81113, 4.89582, 4.96139, 5.01131, 5.05992, 5.11148, 5.18177, 5.35681,
384
+ 5.44129, 5.5108, 5.58255, 5.65532, 5.71658, 5.77889, 5.85381, 5.97078, 6.05104,
385
+ 6.13074, 6.23023, 6.29578, 6.35078, 6.41459, 6.49383, 6.63013, 6.70719, 6.79218,
386
+ 6.92597, 7.20423, 7.64746], "standard_deviation": 0.82807, "sum": 876.5, "sum_squares":
387
+ 5223.85, "variance": 0.68569}}, "000001": {"column_number": 1, "datatype":
388
+ "double", "name": "sepal width", "optype": "numeric", "order": 1, "preferred":
389
+ true, "summary": {"counts": [[2, 1], [2.2, 3], [2.3, 4], [2.4, 3], [2.5, 8],
390
+ [2.6, 5], [2.7, 9], [2.8, 14], [2.9, 10], [3, 26], [3.1, 11], [3.2, 13], [3.3,
391
+ 6], [3.4, 12], [3.5, 6], [3.6, 4], [3.7, 3], [3.8, 6], [3.9, 2], [4, 1], [4.1,
392
+ 1], [4.2, 1], [4.4, 1]], "maximum": 4.4, "mean": 3.05733, "median": 3.02044,
393
+ "minimum": 2, "missing_count": 0, "population": 150, "standard_deviation":
394
+ 0.43587, "sum": 458.6, "sum_squares": 1430.4, "variance": 0.18998}}, "000002":
395
+ {"column_number": 2, "datatype": "double", "name": "petal length", "optype":
396
+ "numeric", "order": 2, "preferred": true, "summary": {"bins": [[1, 1], [1.16667,
397
+ 3], [1.3, 7], [1.4, 13], [1.5, 13], [1.6, 7], [1.7, 4], [1.9, 2], [3, 1],
398
+ [3.3, 2], [3.5, 2], [3.6, 1], [3.75, 2], [3.9, 3], [4.0375, 8], [4.23333,
399
+ 6], [4.46667, 12], [4.6, 3], [4.74444, 9], [4.94444, 9], [5.1, 8], [5.25,
400
+ 4], [5.46, 5], [5.6, 6], [5.75, 6], [5.95, 4], [6.1, 3], [6.3, 1], [6.4, 1],
401
+ [6.6, 1], [6.7, 2], [6.9, 1]], "maximum": 6.9, "mean": 3.758, "median": 4.34142,
402
+ "minimum": 1, "missing_count": 0, "population": 150, "splits": [1.25138, 1.32426,
403
+ 1.37171, 1.40962, 1.44567, 1.48173, 1.51859, 1.56301, 1.6255, 1.74645, 3.23033,
404
+ 3.675, 3.94203, 4.0469, 4.18243, 4.34142, 4.45309, 4.51823, 4.61771, 4.72566,
405
+ 4.83445, 4.93363, 5.03807, 5.1064, 5.20938, 5.43979, 5.5744, 5.6646, 5.81496,
406
+ 6.02913, 6.38125], "standard_deviation": 1.7653, "sum": 563.7, "sum_squares":
407
+ 2582.71, "variance": 3.11628}}, "000003": {"column_number": 3, "datatype":
408
+ "double", "name": "petal width", "optype": "numeric", "order": 3, "preferred":
409
+ true, "summary": {"counts": [[0.1, 5], [0.2, 29], [0.3, 7], [0.4, 7], [0.5,
410
+ 1], [0.6, 1], [1, 7], [1.1, 3], [1.2, 5], [1.3, 13], [1.4, 8], [1.5, 12],
411
+ [1.6, 4], [1.7, 2], [1.8, 12], [1.9, 5], [2, 6], [2.1, 6], [2.2, 3], [2.3,
412
+ 8], [2.4, 3], [2.5, 3]], "maximum": 2.5, "mean": 1.19933, "median": 1.32848,
413
+ "minimum": 0.1, "missing_count": 0, "population": 150, "standard_deviation":
414
+ 0.76224, "sum": 179.9, "sum_squares": 302.33, "variance": 0.58101}}, "000004":
415
+ {"column_number": 4, "datatype": "string", "name": "species", "optype": "categorical",
416
+ "order": 4, "preferred": true, "summary": {"categories": [["Iris-setosa",
417
+ 50], ["Iris-versicolor", 50], ["Iris-virginica", 50]], "missing_count": 0},
418
+ "term_analysis": {"enabled": true}}}, "kind": "mtree", "missing_tokens": ["",
419
+ "NaN", "NULL", "N/A", "null", "-", "#REF!", "#VALUE!", "?", "#NULL!", "#NUM!",
420
+ "#DIV/0", "n/a", "#NAME?", "NIL", "nil", "na", "#N/A", "NA"], "model_fields":
421
+ {"000004": {"column_number": 4, "datatype": "string", "name": "species", "optype":
422
+ "categorical", "preferred": true, "term_analysis": {"enabled": true}}}, "node_threshold":
423
+ 512}, "name": "iris'' dataset model", "node_threshold": 512, "number_of_batchpredictions":
424
+ 0, "number_of_evaluations": 0, "number_of_predictions": 0, "number_of_public_predictions":
425
+ 0, "objective_field": "000004", "objective_fields": ["000004"], "ordering":
426
+ 0, "out_of_bag": false, "price": 0.0, "private": true, "randomize": false,
427
+ "range": [1, 150], "replacement": false, "resource": "model/53ac2e640af5e8153700214d",
428
+ "rows": 150, "sample_rate": 1.0, "shared": false, "size": 4608, "source":
429
+ "source/53ac2e600af5e8152c005e4f", "source_status": true, "status": {"code":
430
+ 2, "elapsed": 0, "message": "The model creation has been started. No partial
431
+ model yet", "progress": 0}, "subscription": false, "tags": ["species"], "updated":
432
+ "2014-06-26T14:29:56.574000", "white_box": false}'
446
433
  http_version: '1.1'
447
- recorded_at: Sat, 14 Jul 2012 15:31:33 GMT
448
- recorded_with: VCR 2.2.2
434
+ recorded_at: Thu, 26 Jun 2014 14:29:57 GMT
435
+ recorded_with: VCR 2.9.2