big_ml 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. data/README.md +2 -1
  2. data/big_ml.gemspec +1 -1
  3. data/lib/big_ml/util/client.rb +7 -2
  4. data/lib/big_ml/util/config.rb +7 -2
  5. data/lib/big_ml/version.rb +1 -1
  6. data/spec/spec_helper.rb +2 -2
  7. data/spec/units/client_spec.rb +37 -6
  8. data/spec/vcr_cassettes/BigML_Dataset/no_dataset/_all/must_be_empty.yml +16 -95
  9. data/spec/vcr_cassettes/BigML_Dataset/one_dataset/can_be_converted_in_a_model.yml +69 -67
  10. data/spec/vcr_cassettes/BigML_Dataset/one_dataset/must_be_able_to_be_deleted_using_the_destroy_method.yml +72 -71
  11. data/spec/vcr_cassettes/BigML_Dataset/one_dataset/must_be_able_to_be_find_using_the_reference.yml +104 -103
  12. data/spec/vcr_cassettes/BigML_Dataset/one_dataset/must_be_able_to_remove_the_dataset.yml +66 -65
  13. data/spec/vcr_cassettes/BigML_Dataset/one_dataset/must_be_able_to_update_the_name.yml +148 -147
  14. data/spec/vcr_cassettes/BigML_Dataset/one_dataset/must_be_able_to_update_the_name_from_the_instance.yml +147 -146
  15. data/spec/vcr_cassettes/BigML_Dataset/one_dataset/must_have_only_one_item.yml +83 -80
  16. data/spec/vcr_cassettes/BigML_Dataset/one_dataset/must_have_the_same_file_name.yml +119 -74
  17. data/spec/vcr_cassettes/BigML_Dataset/one_dataset/was_created_successfully.yml +36 -36
  18. data/spec/vcr_cassettes/BigML_Model/no_model/_all/must_be_empty.yml +89 -87
  19. data/spec/vcr_cassettes/BigML_Model/one_model/can_be_converted_in_a_prediction.yml +101 -99
  20. data/spec/vcr_cassettes/BigML_Model/one_model/must_be_able_to_be_deleted_using_the_destroy_method.yml +91 -89
  21. data/spec/vcr_cassettes/BigML_Model/one_model/must_be_able_to_be_find_using_the_reference.yml +191 -200
  22. data/spec/vcr_cassettes/BigML_Model/one_model/must_be_able_to_remove_the_model.yml +109 -231
  23. data/spec/vcr_cassettes/BigML_Model/one_model/must_be_able_to_update_the_name.yml +272 -252
  24. data/spec/vcr_cassettes/BigML_Model/one_model/must_be_able_to_update_the_name_from_the_instance.yml +126 -252
  25. data/spec/vcr_cassettes/BigML_Model/one_model/must_have_only_one_item.yml +117 -113
  26. data/spec/vcr_cassettes/BigML_Model/one_model/must_have_the_same_size.yml +158 -120
  27. data/spec/vcr_cassettes/BigML_Model/one_model/was_created_successfully.yml +101 -56
  28. data/spec/vcr_cassettes/BigML_Prediction/no_prediction/_all/must_be_empty.yml +96 -94
  29. data/spec/vcr_cassettes/BigML_Prediction/one_prediction/must_be_able_to_be_deleted_using_the_destroy_method.yml +126 -124
  30. data/spec/vcr_cassettes/BigML_Prediction/one_prediction/must_be_able_to_be_find_using_the_reference.yml +147 -145
  31. data/spec/vcr_cassettes/BigML_Prediction/one_prediction/must_be_able_to_remove_the_prediction.yml +141 -139
  32. data/spec/vcr_cassettes/BigML_Prediction/one_prediction/must_be_able_to_update_the_name.yml +159 -157
  33. data/spec/vcr_cassettes/BigML_Prediction/one_prediction/must_be_able_to_update_the_name_from_the_instance.yml +161 -159
  34. data/spec/vcr_cassettes/BigML_Prediction/one_prediction/must_have_only_one_item.yml +145 -143
  35. data/spec/vcr_cassettes/BigML_Prediction/one_prediction/must_have_the_same_name.yml +148 -146
  36. data/spec/vcr_cassettes/BigML_Prediction/one_prediction/was_created_successfully.yml +75 -74
  37. data/spec/vcr_cassettes/BigML_Source/no_source/_all/must_be_empty.yml +25 -24
  38. data/spec/vcr_cassettes/BigML_Source/one_source/can_be_converted_in_a_dataset.yml +32 -32
  39. data/spec/vcr_cassettes/BigML_Source/one_source/must_be_able_to_be_deleted_using_the_destroy_method.yml +21 -21
  40. data/spec/vcr_cassettes/BigML_Source/one_source/must_be_able_to_be_find_using_the_reference.yml +48 -47
  41. data/spec/vcr_cassettes/BigML_Source/one_source/must_be_able_to_remove_the_source.yml +43 -42
  42. data/spec/vcr_cassettes/BigML_Source/one_source/must_be_able_to_update_the_name.yml +77 -76
  43. data/spec/vcr_cassettes/BigML_Source/one_source/must_be_able_to_update_the_name_from_the_instance.yml +78 -77
  44. data/spec/vcr_cassettes/BigML_Source/one_source/must_have_only_one_item.yml +53 -51
  45. data/spec/vcr_cassettes/BigML_Source/one_source/must_have_the_same_file_name.yml +52 -50
  46. data/spec/vcr_cassettes/BigML_Source/one_source/was_created_successfully.yml +14 -14
  47. metadata +5 -5
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://bigml.io/andromeda/source?username=<USERNAME>&api_key=<API_KEY>
5
+ uri: https://bigml.io/dev/andromeda/source?username=<USERNAME>&api_key=<API_KEY>
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -17,96 +17,37 @@ http_interactions:
17
17
  content-type:
18
18
  - application/json; charset=utf-8
19
19
  date:
20
- - Thu, 28 Jun 2012 22:23:06 GMT
20
+ - Sat, 14 Jul 2012 15:25:31 GMT
21
21
  server:
22
22
  - nginx/1.0.12
23
23
  content-length:
24
- - '3642'
24
+ - '1293'
25
25
  connection:
26
26
  - Close
27
27
  body:
28
28
  encoding: US-ASCII
29
29
  string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
30
- "total_count": 3}, "objects": [{"category": 0, "code": 200, "content_type":
31
- "application/octet-stream", "created": "2012-06-28T22:27:13.381000", "credits":
32
- 0.0, "description": "", "fields": {"000000": {"column_number": 0, "name":
33
- "sepal length", "optype": "numeric"}, "000001": {"column_number": 1, "name":
34
- "sepal width", "optype": "numeric"}, "000002": {"column_number": 2, "name":
35
- "petal length", "optype": "numeric"}, "000003": {"column_number": 3, "name":
36
- "petal width", "optype": "numeric"}, "000004": {"column_number": 4, "name":
37
- "species", "optype": "categorical"}}, "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae",
38
- "name": "iris.csv", "number_of_datasets": 1, "number_of_models": 1, "number_of_predictions":
39
- 0, "private": true, "resource": "source/4fecda41035d0741f1003314", "size":
40
- 4608, "source_parser": {"header": true, "locale": "en_US", "missing_tokens":
41
- ["", "N/A", "n/a", "NULL", "null", "-", "#DIV/0", "#REF!", "#NAME?", "NIL",
42
- "nil", "NA", "na", "#VALUE!", "#NULL!", "NaN", "#N/A", "#NUM!", "?"], "quote":
43
- "\"", "separator": ","}, "status": {"code": 5, "elapsed": 98, "message": "The
44
- source has been created"}, "tags": [], "type": 0, "updated": "2012-06-28T22:28:05.537000"},
45
- {"category": 0, "code": 200, "content_type": "application/octet-stream", "created":
46
- "2012-06-28T22:27:09.824000", "credits": 0.0, "description": "", "fields":
47
- {"000000": {"column_number": 0, "name": "sepal length", "optype": "numeric"},
48
- "000001": {"column_number": 1, "name": "sepal width", "optype": "numeric"},
49
- "000002": {"column_number": 2, "name": "petal length", "optype": "numeric"},
50
- "000003": {"column_number": 3, "name": "petal width", "optype": "numeric"},
51
- "000004": {"column_number": 4, "name": "species", "optype": "categorical"}},
52
- "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae", "name":
53
- "iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
54
- 0, "private": true, "resource": "source/4fecda3d15526875f8003324", "size":
55
- 4608, "source_parser": {"header": true, "locale": "en_US", "missing_tokens":
56
- ["", "N/A", "n/a", "NULL", "null", "-", "#DIV/0", "#REF!", "#NAME?", "NIL",
57
- "nil", "NA", "na", "#VALUE!", "#NULL!", "NaN", "#N/A", "#NUM!", "?"], "quote":
58
- "\"", "separator": ","}, "status": {"code": 5, "elapsed": 77, "message": "The
59
- source has been created"}, "tags": [], "type": 0, "updated": "2012-06-28T22:27:04.008000"},
60
- {"category": 0, "code": 200, "content_type": "application/octet-stream", "created":
61
- "2012-06-28T22:26:48.297000", "credits": 0.0, "description": "", "fields":
62
- {"000000": {"column_number": 0, "name": "sepal length", "optype": "numeric"},
63
- "000001": {"column_number": 1, "name": "sepal width", "optype": "numeric"},
64
- "000002": {"column_number": 2, "name": "petal length", "optype": "numeric"},
65
- "000003": {"column_number": 3, "name": "petal width", "optype": "numeric"},
66
- "000004": {"column_number": 4, "name": "species", "optype": "categorical"}},
67
- "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae", "name":
68
- "iris.csv", "number_of_datasets": 1, "number_of_models": 0, "number_of_predictions":
69
- 0, "private": true, "resource": "source/4fecda28035d0741ef00328a", "size":
70
- 4608, "source_parser": {"header": true, "locale": "en_US", "missing_tokens":
71
- ["", "N/A", "n/a", "NULL", "null", "-", "#DIV/0", "#REF!", "#NAME?", "NIL",
72
- "nil", "NA", "na", "#VALUE!", "#NULL!", "NaN", "#N/A", "#NUM!", "?"], "quote":
73
- "\"", "separator": ","}, "status": {"code": 5, "elapsed": 75, "message": "The
74
- source has been created"}, "tags": [], "type": 0, "updated": "2012-06-28T22:27:57.247000"}]}'
75
- http_version: '1.1'
76
- recorded_at: Thu, 28 Jun 2012 22:27:52 GMT
77
- - request:
78
- method: delete
79
- uri: https://bigml.io/andromeda/source/4fecda41035d0741f1003314?username=<USERNAME>&api_key=<API_KEY>
80
- body:
81
- encoding: US-ASCII
82
- string: ''
83
- headers:
84
- connection:
85
- - close
86
- response:
87
- status:
88
- code: 400
89
- message: BAD REQUEST
90
- headers:
91
- content-type:
92
- - application/json; charset=utf-8
93
- date:
94
- - Thu, 28 Jun 2012 22:25:41 GMT
95
- server:
96
- - nginx/1.0.12
97
- content-length:
98
- - '132'
99
- connection:
100
- - Close
101
- body:
102
- encoding: US-ASCII
103
- string: ! '{"code": 400, "status": {"code": -1204, "extra": ["This source is
104
- being used and cannot be deleted now"], "message": "Bad request"}}'
30
+ "total_count": 1}, "objects": [{"category": 0, "code": 200, "content_type":
31
+ "application/octet-stream", "created": "2012-07-14T15:30:43.009000", "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/500190a3035d07404e000045", "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": 85, "message": "The source has been created"}, "tags":
45
+ [], "type": 0, "updated": "2012-07-14T15:32:07.209000"}]}'
105
46
  http_version: '1.1'
106
- recorded_at: Thu, 28 Jun 2012 22:27:54 GMT
47
+ recorded_at: Sat, 14 Jul 2012 15:31:34 GMT
107
48
  - request:
108
49
  method: delete
109
- uri: https://bigml.io/andromeda/source/4fecda3d15526875f8003324?username=<USERNAME>&api_key=<API_KEY>
50
+ uri: https://bigml.io/dev/andromeda/source/500190a3035d07404e000045?username=<USERNAME>&api_key=<API_KEY>
110
51
  body:
111
52
  encoding: US-ASCII
112
53
  string: ''
@@ -123,7 +64,7 @@ http_interactions:
123
64
  content-type:
124
65
  - text/html; charset=utf-8
125
66
  date:
126
- - Thu, 28 Jun 2012 22:23:10 GMT
67
+ - Sat, 14 Jul 2012 15:30:43 GMT
127
68
  server:
128
69
  - nginx/1.0.12
129
70
  connection:
@@ -132,40 +73,10 @@ http_interactions:
132
73
  encoding: US-ASCII
133
74
  string: ''
134
75
  http_version: '1.1'
135
- recorded_at: Thu, 28 Jun 2012 22:27:56 GMT
136
- - request:
137
- method: delete
138
- uri: https://bigml.io/andromeda/source/4fecda28035d0741ef00328a?username=<USERNAME>&api_key=<API_KEY>
139
- body:
140
- encoding: US-ASCII
141
- string: ''
142
- headers:
143
- connection:
144
- - close
145
- response:
146
- status:
147
- code: 400
148
- message: BAD REQUEST
149
- headers:
150
- content-type:
151
- - application/json; charset=utf-8
152
- date:
153
- - Thu, 28 Jun 2012 22:25:44 GMT
154
- server:
155
- - nginx/1.0.12
156
- content-length:
157
- - '132'
158
- connection:
159
- - Close
160
- body:
161
- encoding: US-ASCII
162
- string: ! '{"code": 400, "status": {"code": -1204, "extra": ["This source is
163
- being used and cannot be deleted now"], "message": "Bad request"}}'
164
- http_version: '1.1'
165
- recorded_at: Thu, 28 Jun 2012 22:27:58 GMT
76
+ recorded_at: Sat, 14 Jul 2012 15:31:46 GMT
166
77
  - request:
167
78
  method: get
168
- uri: https://bigml.io/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
79
+ uri: https://bigml.io/dev/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
169
80
  body:
170
81
  encoding: US-ASCII
171
82
  string: ''
@@ -180,67 +91,29 @@ http_interactions:
180
91
  content-type:
181
92
  - application/json; charset=utf-8
182
93
  date:
183
- - Thu, 28 Jun 2012 22:23:12 GMT
94
+ - Sat, 14 Jul 2012 15:25:46 GMT
184
95
  server:
185
96
  - nginx/1.0.12
186
97
  content-length:
187
- - '1325'
98
+ - '717'
188
99
  connection:
189
100
  - Close
190
101
  body:
191
102
  encoding: US-ASCII
192
103
  string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
193
- "total_count": 2}, "objects": [{"category": 0, "code": 200, "columns": 5,
194
- "created": "2012-06-28T22:27:15.108000", "credits": 0.00439453125, "description":
195
- "", "locale": "en_US", "name": "iris'' dataset", "number_of_models": 1, "number_of_predictions":
196
- 0, "private": true, "resource": "dataset/4fecda43035d0741ef003291", "rows":
197
- 150, "size": 4608, "source": "source/4fecda41035d0741f1003314", "source_status":
198
- true, "status": {"bytes": 4608, "code": 4, "elapsed": 11548, "field_errors":
199
- [], "message": "The summary is completed. Serializing", "row_format_errors":
200
- [], "serialized_rows": 0}, "tags": [], "updated": "2012-06-28T22:27:21.608000"},
201
- {"category": 0, "code": 200, "columns": 5, "created": "2012-06-28T22:26:50.501000",
202
- "credits": 0.00439453125, "description": "", "locale": "en_US", "name": "iris''
203
- dataset", "number_of_models": 0, "number_of_predictions": 0, "private": true,
204
- "resource": "dataset/4fecda2a035d0741ef00328d", "rows": 150, "size": 4608,
205
- "source": "source/4fecda28035d0741ef00328a", "source_status": true, "status":
206
- {"bytes": 4608, "code": 4, "elapsed": 36138, "field_errors": [], "message":
207
- "The summary is completed. Serializing", "row_format_errors": [], "serialized_rows":
208
- 0}, "tags": [], "updated": "2012-06-28T22:28:14.162000"}]}'
209
- http_version: '1.1'
210
- recorded_at: Thu, 28 Jun 2012 22:27:59 GMT
211
- - request:
212
- method: delete
213
- uri: https://bigml.io/andromeda/dataset/4fecda43035d0741ef003291?username=<USERNAME>&api_key=<API_KEY>
214
- body:
215
- encoding: US-ASCII
216
- string: ''
217
- headers:
218
- connection:
219
- - close
220
- response:
221
- status:
222
- code: 400
223
- message: BAD REQUEST
224
- headers:
225
- content-type:
226
- - application/json; charset=utf-8
227
- date:
228
- - Thu, 28 Jun 2012 22:25:48 GMT
229
- server:
230
- - nginx/1.0.12
231
- content-length:
232
- - '132'
233
- connection:
234
- - Close
235
- body:
236
- encoding: US-ASCII
237
- string: ! '{"code": 400, "status": {"code": -1204, "extra": ["The dataset is
238
- being used and cannot be deleted now"], "message": "Bad request"}}'
104
+ "total_count": 1}, "objects": [{"category": 0, "code": 200, "columns": 5,
105
+ "created": "2012-07-14T15:31:48.687000", "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/500190e41552681edf00003c",
108
+ "rows": 150, "size": 4608, "source": "source/500190a3035d07404e000045", "source_status":
109
+ false, "status": {"bytes": 4608, "code": 5, "elapsed": 187, "field_errors":
110
+ [], "message": "The dataset has been created", "row_format_errors": [], "serialized_rows":
111
+ 150}, "tags": [], "updated": "2012-07-14T15:32:07.237000"}]}'
239
112
  http_version: '1.1'
240
- recorded_at: Thu, 28 Jun 2012 22:28:01 GMT
113
+ recorded_at: Sat, 14 Jul 2012 15:31:50 GMT
241
114
  - request:
242
115
  method: delete
243
- uri: https://bigml.io/andromeda/dataset/4fecda2a035d0741ef00328d?username=<USERNAME>&api_key=<API_KEY>
116
+ uri: https://bigml.io/dev/andromeda/dataset/500190e41552681edf00003c?username=<USERNAME>&api_key=<API_KEY>
244
117
  body:
245
118
  encoding: US-ASCII
246
119
  string: ''
@@ -257,7 +130,7 @@ http_interactions:
257
130
  content-type:
258
131
  - text/html; charset=utf-8
259
132
  date:
260
- - Thu, 28 Jun 2012 22:23:17 GMT
133
+ - Sat, 14 Jul 2012 15:30:52 GMT
261
134
  server:
262
135
  - nginx/1.0.12
263
136
  connection:
@@ -266,10 +139,10 @@ http_interactions:
266
139
  encoding: US-ASCII
267
140
  string: ''
268
141
  http_version: '1.1'
269
- recorded_at: Thu, 28 Jun 2012 22:28:04 GMT
142
+ recorded_at: Sat, 14 Jul 2012 15:31:55 GMT
270
143
  - request:
271
144
  method: get
272
- uri: https://bigml.io/andromeda/model?username=<USERNAME>&api_key=<API_KEY>
145
+ uri: https://bigml.io/dev/andromeda/model?username=<USERNAME>&api_key=<API_KEY>
273
146
  body:
274
147
  encoding: US-ASCII
275
148
  string: ''
@@ -284,30 +157,31 @@ http_interactions:
284
157
  content-type:
285
158
  - application/json; charset=utf-8
286
159
  date:
287
- - Thu, 28 Jun 2012 22:25:52 GMT
160
+ - Sat, 14 Jul 2012 15:25:53 GMT
288
161
  server:
289
162
  - nginx/1.0.12
290
163
  content-length:
291
- - '769'
164
+ - '857'
292
165
  connection:
293
166
  - Close
294
167
  body:
295
168
  encoding: US-ASCII
296
169
  string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
297
170
  "total_count": 1}, "objects": [{"category": 0, "code": 200, "columns": 5,
298
- "created": "2012-06-28T22:28:05.532000", "credits": 0.017578125, "dataset":
299
- "dataset/4fecda43035d0741ef003291", "dataset_status": true, "description":
300
- "", "holdout": 0.0, "input_fields": null, "locale": "en-US", "max_columns":
301
- 5, "max_rows": 150, "name": "iris'' dataset model", "number_of_predictions":
302
- 0, "objective_fields": [], "private": true, "range": [1, 150], "resource":
303
- "model/4fecda7515526875f800332a", "rows": 150, "size": 4608, "source": "source/4fecda41035d0741f1003314",
304
- "source_status": true, "status": {"code": 0, "message": "The dataset is not
305
- ready yet"}, "tags": [], "updated": "2012-06-28T22:27:28.671000"}]}'
171
+ "created": "2012-07-14T15:32:06.086000", "credits": 0.017578125, "dataset":
172
+ "dataset/500190e41552681edf00003c", "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/500190f61552681edf00003e",
177
+ "rows": 150, "size": 4608, "source": "source/500190a3035d07404e000045", "source_status":
178
+ false, "status": {"code": 5, "elapsed": 143, "message": "The model has been
179
+ created", "progress": 1}, "tags": [], "updated": "2012-07-14T15:31:05.708000"}]}'
306
180
  http_version: '1.1'
307
- recorded_at: Thu, 28 Jun 2012 22:28:05 GMT
181
+ recorded_at: Sat, 14 Jul 2012 15:31:56 GMT
308
182
  - request:
309
183
  method: delete
310
- uri: https://bigml.io/andromeda/model/4fecda7515526875f800332a?username=<USERNAME>&api_key=<API_KEY>
184
+ uri: https://bigml.io/dev/andromeda/model/500190f61552681edf00003e?username=<USERNAME>&api_key=<API_KEY>
311
185
  body:
312
186
  encoding: US-ASCII
313
187
  string: ''
@@ -324,7 +198,7 @@ http_interactions:
324
198
  content-type:
325
199
  - text/html; charset=utf-8
326
200
  date:
327
- - Thu, 28 Jun 2012 22:23:20 GMT
201
+ - Sat, 14 Jul 2012 15:30:56 GMT
328
202
  server:
329
203
  - nginx/1.0.12
330
204
  connection:
@@ -333,10 +207,10 @@ http_interactions:
333
207
  encoding: US-ASCII
334
208
  string: ''
335
209
  http_version: '1.1'
336
- recorded_at: Thu, 28 Jun 2012 22:28:07 GMT
210
+ recorded_at: Sat, 14 Jul 2012 15:31:59 GMT
337
211
  - request:
338
212
  method: post
339
- uri: https://bigml.io/andromeda/source
213
+ uri: https://bigml.io/dev/andromeda/source
340
214
  body:
341
215
  encoding: US-ASCII
342
216
  string: ''
@@ -344,7 +218,7 @@ http_interactions:
344
218
  content-type:
345
219
  - multipart/form-data; boundary=-----------RubyMultipartPost
346
220
  content-length:
347
- - '5147'
221
+ - '5149'
348
222
  connection:
349
223
  - close
350
224
  response:
@@ -355,33 +229,33 @@ http_interactions:
355
229
  content-type:
356
230
  - application/json; charset=utf-8
357
231
  date:
358
- - Thu, 28 Jun 2012 22:25:55 GMT
232
+ - Sat, 14 Jul 2012 15:25:58 GMT
359
233
  location:
360
- - http://bigml.io/andromeda/source/4fecda58035d0741f40032a6
234
+ - http://bigml.io/andromeda/source/500190d6035d075696000016
361
235
  server:
362
236
  - nginx/1.0.12
363
- content-length:
364
- - '567'
237
+ transfer-encoding:
238
+ - chunked
365
239
  connection:
366
240
  - Close
367
241
  body:
368
242
  encoding: US-ASCII
369
243
  string: ! '{"category": 0, "code": 201, "content_type": "application/octet-stream",
370
- "created": "2012-06-28T22:27:36.418464", "credits": 0.0, "description": "",
371
- "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae", "name":
372
- "iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
373
- 0, "private": true, "resource": "source/4fecda58035d0741f40032a6", "size":
244
+ "created": "2012-07-14T15:31:34.282754", "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/500190d6035d075696000016", "size":
374
248
  4608, "source_parser": {}, "status": {"code": 1, "message": "The request has
375
249
  been queued and will be processed soon"}, "tags": [], "type": 0, "updated":
376
- "2012-06-28T22:27:36.418499"}'
250
+ "2012-07-14T15:31:34.282776"}'
377
251
  http_version: '1.1'
378
- recorded_at: Thu, 28 Jun 2012 22:28:09 GMT
252
+ recorded_at: Sat, 14 Jul 2012 15:32:01 GMT
379
253
  - request:
380
254
  method: post
381
- uri: https://bigml.io/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
255
+ uri: https://bigml.io/dev/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
382
256
  body:
383
257
  encoding: UTF-8
384
- string: ! '{"source":"source/4fecda58035d0741f40032a6"}'
258
+ string: ! '{"source":"source/500190d6035d075696000016"}'
385
259
  headers:
386
260
  content-type:
387
261
  - application/json
@@ -395,37 +269,37 @@ http_interactions:
395
269
  content-type:
396
270
  - application/json; charset=utf-8
397
271
  date:
398
- - Thu, 28 Jun 2012 22:23:24 GMT
272
+ - Sat, 14 Jul 2012 15:30:59 GMT
399
273
  location:
400
- - http://bigml.io/andromeda/dataset/4fecda8a15526875f800332e
274
+ - http://bigml.io/andromeda/dataset/500190d7035d075696000018
401
275
  server:
402
276
  - nginx/1.0.12
403
277
  content-length:
404
- - '921'
278
+ - '934'
405
279
  connection:
406
280
  - Close
407
281
  body:
408
282
  encoding: US-ASCII
409
- string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-06-28T22:28:26.926712",
410
- "credits": 0.00439453125, "description": "", "fields": {"000000": {"column_number":
411
- 0, "name": "sepal length", "optype": "numeric"}, "000001": {"column_number":
412
- 1, "name": "sepal width", "optype": "numeric"}, "000002": {"column_number":
413
- 2, "name": "petal length", "optype": "numeric"}, "000003": {"column_number":
414
- 3, "name": "petal width", "optype": "numeric"}, "000004": {"column_number":
415
- 4, "name": "species", "optype": "categorical"}}, "locale": "en_US", "name":
416
- "iris'' dataset", "number_of_models": 0, "number_of_predictions": 0, "private":
417
- true, "resource": "dataset/4fecda8a15526875f800332e", "rows": 0, "size": 4608,
418
- "source": "source/4fecda58035d0741f40032a6", "source_status": true, "status":
419
- {"code": 1, "message": "The dataset is being processed and will be created
420
- soon"}, "tags": [], "updated": "2012-06-28T22:28:26.926729"}'
283
+ string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-07-14T15:31:35.577473",
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/500190d7035d075696000018", "rows":
292
+ 0, "size": 4608, "source": "source/500190d6035d075696000016", "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:35.577494"}'
421
295
  http_version: '1.1'
422
- recorded_at: Thu, 28 Jun 2012 22:28:11 GMT
296
+ recorded_at: Sat, 14 Jul 2012 15:32:02 GMT
423
297
  - request:
424
298
  method: post
425
- uri: https://bigml.io/andromeda/model?username=<USERNAME>&api_key=<API_KEY>
299
+ uri: https://bigml.io/dev/andromeda/model?username=<USERNAME>&api_key=<API_KEY>
426
300
  body:
427
301
  encoding: UTF-8
428
- string: ! '{"dataset":"dataset/4fecda8a15526875f800332e"}'
302
+ string: ! '{"dataset":"dataset/500190d7035d075696000018"}'
429
303
  headers:
430
304
  content-type:
431
305
  - application/json
@@ -439,31 +313,31 @@ http_interactions:
439
313
  content-type:
440
314
  - application/json; charset=utf-8
441
315
  date:
442
- - Thu, 28 Jun 2012 22:26:00 GMT
316
+ - Sat, 14 Jul 2012 15:26:01 GMT
443
317
  location:
444
- - http://bigml.io/andromeda/model/4fecda8c15526875f8003331
318
+ - http://bigml.io/andromeda/model/500191191552681c6000002e
445
319
  server:
446
320
  - nginx/1.0.12
447
321
  content-length:
448
- - '705'
322
+ - '704'
449
323
  connection:
450
324
  - Close
451
325
  body:
452
326
  encoding: US-ASCII
453
- string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-06-28T22:28:28.827881",
454
- "credits": 0.017578125, "dataset": "dataset/4fecda8a15526875f800332e", "dataset_status":
455
- true, "description": "", "holdout": 0.0, "input_fields": null, "locale": "en-US",
456
- "max_columns": 5, "max_rows": 150, "model": {"fields": {}, "root": {}}, "name":
457
- "iris'' dataset model", "number_of_predictions": 0, "objective_fields": [],
458
- "private": true, "range": [1, 150], "resource": "model/4fecda8c15526875f8003331",
459
- "rows": 150, "size": 4608, "source": "source/4fecda58035d0741f40032a6", "source_status":
460
- true, "status": {"code": 0, "message": "The dataset is not ready yet"}, "tags":
461
- [], "updated": "2012-06-28T22:28:28.827912"}'
327
+ string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-07-14T15:32:41.426948",
328
+ "credits": 0.017578125, "dataset": "dataset/500190d7035d075696000018", "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/500191191552681c6000002e", "rows": 150,
333
+ "size": 4608, "source": "source/500190d6035d075696000016", "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:41.426979"}'
462
336
  http_version: '1.1'
463
- recorded_at: Thu, 28 Jun 2012 22:28:13 GMT
337
+ recorded_at: Sat, 14 Jul 2012 15:32:04 GMT
464
338
  - request:
465
339
  method: put
466
- uri: https://bigml.io/andromeda/model/4fecda8c15526875f8003331?username=<USERNAME>&api_key=<API_KEY>
340
+ uri: https://bigml.io/dev/andromeda/model/500191191552681c6000002e?username=<USERNAME>&api_key=<API_KEY>
467
341
  body:
468
342
  encoding: UTF-8
469
343
  string: ! '{"name":"foo name"}'
@@ -480,29 +354,102 @@ http_interactions:
480
354
  content-type:
481
355
  - application/json; charset=utf-8
482
356
  date:
483
- - Thu, 28 Jun 2012 22:23:28 GMT
357
+ - Sat, 14 Jul 2012 15:31:03 GMT
484
358
  server:
485
359
  - nginx/1.0.12
486
360
  content-length:
487
- - '694'
361
+ - '6517'
488
362
  connection:
489
363
  - Close
490
364
  body:
491
365
  encoding: US-ASCII
492
- string: ! '{"category": 0, "code": 202, "columns": 5, "created": "2012-06-28T22:28:28.827000",
493
- "credits": 0.017578125, "dataset": "dataset/4fecda8a15526875f800332e", "dataset_status":
494
- true, "description": "", "holdout": 0.0, "input_fields": null, "locale": "en-US",
495
- "max_columns": 5, "max_rows": 150, "model": {"fields": {}, "root": {}}, "name":
496
- "foo name", "number_of_predictions": 0, "objective_fields": [], "private":
497
- true, "range": [1, 150], "resource": "model/4fecda8c15526875f8003331", "rows":
498
- 150, "size": 4608, "source": "source/4fecda58035d0741f40032a6", "source_status":
499
- true, "status": {"code": 0, "message": "The dataset is not ready yet"}, "tags":
500
- [], "updated": "2012-06-28T22:27:41.952942"}'
366
+ string: ! '{"category": 0, "code": 202, "columns": 5, "created": "2012-07-14T15:32:41.426000",
367
+ "credits": 0.017578125, "dataset": "dataset/500190d7035d075696000018", "dataset_status":
368
+ true, "description": "", "dev": true, "holdout": 0.0, "input_fields": ["000000",
369
+ "000001", "000002", "000003"], "locale": "en_US", "max_columns": 5, "max_rows":
370
+ 150, "model": {"fields": {"000000": {"column_number": 0, "datatype": "double",
371
+ "name": "sepal length", "optype": "numeric", "preferred": true, "summary":
372
+ {"maximum": 7.9, "median": 5.77889, "minimum": 4.3, "missing_count": 0, "population":
373
+ 150, "splits": [4.51526, 4.67252, 4.81113, 4.89582, 4.96139, 5.01131, 5.05992,
374
+ 5.11148, 5.18177, 5.35681, 5.44129, 5.5108, 5.58255, 5.65532, 5.71658, 5.77889,
375
+ 5.85381, 5.97078, 6.05104, 6.13074, 6.23023, 6.29578, 6.35078, 6.41459, 6.49383,
376
+ 6.63013, 6.70719, 6.79218, 6.92597, 7.20423, 7.64746], "sum": 876.5, "sum_squares":
377
+ 5223.85}}, "000001": {"column_number": 1, "datatype": "double", "name": "sepal
378
+ width", "optype": "numeric", "preferred": true, "summary": {"counts": [[2,
379
+ 1], [2.2, 3], [2.3, 4], [2.4, 3], [2.5, 8], [2.6, 5], [2.7, 9], [2.8, 14],
380
+ [2.9, 10], [3, 26], [3.1, 11], [3.2, 13], [3.3, 6], [3.4, 12], [3.5, 6], [3.6,
381
+ 4], [3.7, 3], [3.8, 6], [3.9, 2], [4, 1], [4.1, 1], [4.2, 1], [4.4, 1]], "maximum":
382
+ 4.4, "median": 3.02044, "minimum": 2, "missing_count": 0, "population": 150,
383
+ "sum": 458.6, "sum_squares": 1430.4}}, "000002": {"column_number": 2, "datatype":
384
+ "double", "name": "petal length", "optype": "numeric", "preferred": true,
385
+ "summary": {"maximum": 6.9, "median": 4.34142, "minimum": 1, "missing_count":
386
+ 0, "population": 150, "splits": [1.25138, 1.32426, 1.37171, 1.40962, 1.44567,
387
+ 1.48173, 1.51859, 1.56301, 1.6255, 1.74645, 3.23033, 3.675, 3.94203, 4.0469,
388
+ 4.18243, 4.34142, 4.45309, 4.51823, 4.61771, 4.72566, 4.83445, 4.93363, 5.03807,
389
+ 5.1064, 5.20938, 5.43979, 5.5744, 5.6646, 5.81496, 6.02913, 6.38125], "sum":
390
+ 563.7, "sum_squares": 2582.71}}, "000003": {"column_number": 3, "datatype":
391
+ "double", "name": "petal width", "optype": "numeric", "preferred": true, "summary":
392
+ {"counts": [[0.1, 5], [0.2, 29], [0.3, 7], [0.4, 7], [0.5, 1], [0.6, 1], [1,
393
+ 7], [1.1, 3], [1.2, 5], [1.3, 13], [1.4, 8], [1.5, 12], [1.6, 4], [1.7, 2],
394
+ [1.8, 12], [1.9, 5], [2, 6], [2.1, 6], [2.2, 3], [2.3, 8], [2.4, 3], [2.5,
395
+ 3]], "maximum": 2.5, "median": 1.32848, "minimum": 0.1, "missing_count": 0,
396
+ "population": 150, "sum": 179.9, "sum_squares": 302.33}}, "000004": {"column_number":
397
+ 4, "datatype": "string", "name": "species", "optype": "categorical", "preferred":
398
+ true, "summary": {"categories": [["Iris-versicolor", 50], ["Iris-setosa",
399
+ 50], ["Iris-virginica", 50]], "missing_count": 0}}}, "kind": "stree", "locale":
400
+ "en_US", "missing_strategy": "last_prediction", "root": {"children": [{"children":
401
+ [{"children": [{"count": 38, "distribution": [["Iris-virginica", 38]], "leaf":
402
+ true, "output": "Iris-virginica", "predicate": {"field": "000002", "operator":
403
+ ">", "value": 5.05}}, {"children": [{"children": [{"children": [{"count":
404
+ 1, "distribution": [["Iris-versicolor", 1]], "leaf": true, "output": "Iris-versicolor",
405
+ "predicate": {"field": "000002", "operator": ">", "value": 4.95}}, {"count":
406
+ 2, "distribution": [["Iris-virginica", 2]], "leaf": true, "output": "Iris-virginica",
407
+ "predicate": {"field": "000002", "operator": "<=", "value": 4.95}}], "count":
408
+ 3, "distribution": [["Iris-virginica", 2], ["Iris-versicolor", 1]], "output":
409
+ "Iris-virginica", "predicate": {"field": "000000", "operator": ">", "value":
410
+ 5.95}}, {"count": 1, "distribution": [["Iris-versicolor", 1]], "leaf": true,
411
+ "output": "Iris-versicolor", "predicate": {"field": "000000", "operator":
412
+ "<=", "value": 5.95}}], "count": 4, "distribution": [["Iris-virginica", 2],
413
+ ["Iris-versicolor", 2]], "output": "Iris-virginica", "predicate": {"field":
414
+ "000001", "operator": ">", "value": 2.9}}, {"count": 6, "distribution": [["Iris-virginica",
415
+ 6]], "leaf": true, "output": "Iris-virginica", "predicate": {"field": "000001",
416
+ "operator": "<=", "value": 2.9}}], "count": 10, "distribution": [["Iris-virginica",
417
+ 8], ["Iris-versicolor", 2]], "output": "Iris-virginica", "predicate": {"field":
418
+ "000002", "operator": "<=", "value": 5.05}}], "count": 48, "distribution":
419
+ [["Iris-virginica", 46], ["Iris-versicolor", 2]], "output": "Iris-virginica",
420
+ "predicate": {"field": "000003", "operator": ">", "value": 1.65}}, {"children":
421
+ [{"children": [{"count": 3, "distribution": [["Iris-virginica", 3]], "leaf":
422
+ true, "output": "Iris-virginica", "predicate": {"field": "000000", "operator":
423
+ ">", "value": 6.05}}, {"children": [{"count": 1, "distribution": [["Iris-versicolor",
424
+ 1]], "leaf": true, "output": "Iris-versicolor", "predicate": {"field": "000001",
425
+ "operator": ">", "value": 2.45}}, {"count": 1, "distribution": [["Iris-virginica",
426
+ 1]], "leaf": true, "output": "Iris-virginica", "predicate": {"field": "000001",
427
+ "operator": "<=", "value": 2.45}}], "count": 2, "distribution": [["Iris-virginica",
428
+ 1], ["Iris-versicolor", 1]], "output": "Iris-virginica", "predicate": {"field":
429
+ "000000", "operator": "<=", "value": 6.05}}], "count": 5, "distribution":
430
+ [["Iris-virginica", 4], ["Iris-versicolor", 1]], "output": "Iris-virginica",
431
+ "predicate": {"field": "000002", "operator": ">", "value": 4.95}}, {"count":
432
+ 47, "distribution": [["Iris-versicolor", 47]], "leaf": true, "output": "Iris-versicolor",
433
+ "predicate": {"field": "000002", "operator": "<=", "value": 4.95}}], "count":
434
+ 52, "distribution": [["Iris-virginica", 4], ["Iris-versicolor", 48]], "output":
435
+ "Iris-versicolor", "predicate": {"field": "000003", "operator": "<=", "value":
436
+ 1.65}}], "count": 100, "distribution": [["Iris-virginica", 50], ["Iris-versicolor",
437
+ 50]], "output": "Iris-virginica", "predicate": {"field": "000002", "operator":
438
+ ">", "value": 2.45}}, {"count": 50, "distribution": [["Iris-setosa", 50]],
439
+ "leaf": true, "output": "Iris-setosa", "predicate": {"field": "000002", "operator":
440
+ "<=", "value": 2.45}}], "count": 150, "distribution": [["Iris-virginica",
441
+ 50], ["Iris-versicolor", 50], ["Iris-setosa", 50]], "output": "Iris-virginica",
442
+ "predicate": true}, "row_range": {"size": 150, "start": 0}}, "name": "foo
443
+ name", "number_of_predictions": 0, "objective_fields": ["000004"], "private":
444
+ true, "range": [1, 150], "resource": "model/500191191552681c6000002e", "rows":
445
+ 150, "size": 4608, "source": "source/500190d6035d075696000016", "source_status":
446
+ true, "status": {"code": 5, "elapsed": 151, "message": "The model has been
447
+ created", "progress": 1}, "tags": [], "updated": "2012-07-14T15:32:43.077496"}'
501
448
  http_version: '1.1'
502
- recorded_at: Thu, 28 Jun 2012 22:28:14 GMT
449
+ recorded_at: Sat, 14 Jul 2012 15:32:06 GMT
503
450
  - request:
504
451
  method: get
505
- uri: https://bigml.io/andromeda/model/4fecda8c15526875f8003331?username=<USERNAME>&api_key=<API_KEY>
452
+ uri: https://bigml.io/dev/andromeda/model/500191191552681c6000002e?username=<USERNAME>&api_key=<API_KEY>
506
453
  body:
507
454
  encoding: US-ASCII
508
455
  string: ''
@@ -517,24 +464,97 @@ http_interactions:
517
464
  content-type:
518
465
  - application/json; charset=utf-8
519
466
  date:
520
- - Thu, 28 Jun 2012 22:26:02 GMT
467
+ - Sat, 14 Jul 2012 15:26:04 GMT
521
468
  server:
522
469
  - nginx/1.0.12
523
- content-length:
524
- - '694'
470
+ transfer-encoding:
471
+ - chunked
525
472
  connection:
526
473
  - Close
527
474
  body:
528
475
  encoding: US-ASCII
529
- string: ! '{"category": 0, "code": 200, "columns": 5, "created": "2012-06-28T22:28:28.827000",
530
- "credits": 0.017578125, "dataset": "dataset/4fecda8a15526875f800332e", "dataset_status":
531
- true, "description": "", "holdout": 0.0, "input_fields": null, "locale": "en-US",
532
- "max_columns": 5, "max_rows": 150, "model": {"fields": {}, "root": {}}, "name":
533
- "foo name", "number_of_predictions": 0, "objective_fields": [], "private":
534
- true, "range": [1, 150], "resource": "model/4fecda8c15526875f8003331", "rows":
535
- 150, "size": 4608, "source": "source/4fecda58035d0741f40032a6", "source_status":
536
- true, "status": {"code": 0, "message": "The dataset is not ready yet"}, "tags":
537
- [], "updated": "2012-06-28T22:27:42.112000"}'
476
+ string: ! '{"category": 0, "code": 200, "columns": 5, "created": "2012-07-14T15:32:41.426000",
477
+ "credits": 0.017578125, "dataset": "dataset/500190d7035d075696000018", "dataset_status":
478
+ true, "description": "", "dev": true, "holdout": 0.0, "input_fields": ["000000",
479
+ "000001", "000002", "000003"], "locale": "en_US", "max_columns": 5, "max_rows":
480
+ 150, "model": {"fields": {"000000": {"column_number": 0, "datatype": "double",
481
+ "name": "sepal length", "optype": "numeric", "preferred": true, "summary":
482
+ {"maximum": 7.9, "median": 5.77889, "minimum": 4.3, "missing_count": 0, "population":
483
+ 150, "splits": [4.51526, 4.67252, 4.81113, 4.89582, 4.96139, 5.01131, 5.05992,
484
+ 5.11148, 5.18177, 5.35681, 5.44129, 5.5108, 5.58255, 5.65532, 5.71658, 5.77889,
485
+ 5.85381, 5.97078, 6.05104, 6.13074, 6.23023, 6.29578, 6.35078, 6.41459, 6.49383,
486
+ 6.63013, 6.70719, 6.79218, 6.92597, 7.20423, 7.64746], "sum": 876.5, "sum_squares":
487
+ 5223.85}}, "000001": {"column_number": 1, "datatype": "double", "name": "sepal
488
+ width", "optype": "numeric", "preferred": true, "summary": {"counts": [[2,
489
+ 1], [2.2, 3], [2.3, 4], [2.4, 3], [2.5, 8], [2.6, 5], [2.7, 9], [2.8, 14],
490
+ [2.9, 10], [3, 26], [3.1, 11], [3.2, 13], [3.3, 6], [3.4, 12], [3.5, 6], [3.6,
491
+ 4], [3.7, 3], [3.8, 6], [3.9, 2], [4, 1], [4.1, 1], [4.2, 1], [4.4, 1]], "maximum":
492
+ 4.4, "median": 3.02044, "minimum": 2, "missing_count": 0, "population": 150,
493
+ "sum": 458.6, "sum_squares": 1430.4}}, "000002": {"column_number": 2, "datatype":
494
+ "double", "name": "petal length", "optype": "numeric", "preferred": true,
495
+ "summary": {"maximum": 6.9, "median": 4.34142, "minimum": 1, "missing_count":
496
+ 0, "population": 150, "splits": [1.25138, 1.32426, 1.37171, 1.40962, 1.44567,
497
+ 1.48173, 1.51859, 1.56301, 1.6255, 1.74645, 3.23033, 3.675, 3.94203, 4.0469,
498
+ 4.18243, 4.34142, 4.45309, 4.51823, 4.61771, 4.72566, 4.83445, 4.93363, 5.03807,
499
+ 5.1064, 5.20938, 5.43979, 5.5744, 5.6646, 5.81496, 6.02913, 6.38125], "sum":
500
+ 563.7, "sum_squares": 2582.71}}, "000003": {"column_number": 3, "datatype":
501
+ "double", "name": "petal width", "optype": "numeric", "preferred": true, "summary":
502
+ {"counts": [[0.1, 5], [0.2, 29], [0.3, 7], [0.4, 7], [0.5, 1], [0.6, 1], [1,
503
+ 7], [1.1, 3], [1.2, 5], [1.3, 13], [1.4, 8], [1.5, 12], [1.6, 4], [1.7, 2],
504
+ [1.8, 12], [1.9, 5], [2, 6], [2.1, 6], [2.2, 3], [2.3, 8], [2.4, 3], [2.5,
505
+ 3]], "maximum": 2.5, "median": 1.32848, "minimum": 0.1, "missing_count": 0,
506
+ "population": 150, "sum": 179.9, "sum_squares": 302.33}}, "000004": {"column_number":
507
+ 4, "datatype": "string", "name": "species", "optype": "categorical", "preferred":
508
+ true, "summary": {"categories": [["Iris-versicolor", 50], ["Iris-setosa",
509
+ 50], ["Iris-virginica", 50]], "missing_count": 0}}}, "kind": "stree", "locale":
510
+ "en_US", "missing_strategy": "last_prediction", "root": {"children": [{"children":
511
+ [{"children": [{"count": 38, "distribution": [["Iris-virginica", 38]], "leaf":
512
+ true, "output": "Iris-virginica", "predicate": {"field": "000002", "operator":
513
+ ">", "value": 5.05}}, {"children": [{"children": [{"children": [{"count":
514
+ 1, "distribution": [["Iris-versicolor", 1]], "leaf": true, "output": "Iris-versicolor",
515
+ "predicate": {"field": "000002", "operator": ">", "value": 4.95}}, {"count":
516
+ 2, "distribution": [["Iris-virginica", 2]], "leaf": true, "output": "Iris-virginica",
517
+ "predicate": {"field": "000002", "operator": "<=", "value": 4.95}}], "count":
518
+ 3, "distribution": [["Iris-virginica", 2], ["Iris-versicolor", 1]], "output":
519
+ "Iris-virginica", "predicate": {"field": "000000", "operator": ">", "value":
520
+ 5.95}}, {"count": 1, "distribution": [["Iris-versicolor", 1]], "leaf": true,
521
+ "output": "Iris-versicolor", "predicate": {"field": "000000", "operator":
522
+ "<=", "value": 5.95}}], "count": 4, "distribution": [["Iris-virginica", 2],
523
+ ["Iris-versicolor", 2]], "output": "Iris-virginica", "predicate": {"field":
524
+ "000001", "operator": ">", "value": 2.9}}, {"count": 6, "distribution": [["Iris-virginica",
525
+ 6]], "leaf": true, "output": "Iris-virginica", "predicate": {"field": "000001",
526
+ "operator": "<=", "value": 2.9}}], "count": 10, "distribution": [["Iris-virginica",
527
+ 8], ["Iris-versicolor", 2]], "output": "Iris-virginica", "predicate": {"field":
528
+ "000002", "operator": "<=", "value": 5.05}}], "count": 48, "distribution":
529
+ [["Iris-virginica", 46], ["Iris-versicolor", 2]], "output": "Iris-virginica",
530
+ "predicate": {"field": "000003", "operator": ">", "value": 1.65}}, {"children":
531
+ [{"children": [{"count": 3, "distribution": [["Iris-virginica", 3]], "leaf":
532
+ true, "output": "Iris-virginica", "predicate": {"field": "000000", "operator":
533
+ ">", "value": 6.05}}, {"children": [{"count": 1, "distribution": [["Iris-versicolor",
534
+ 1]], "leaf": true, "output": "Iris-versicolor", "predicate": {"field": "000001",
535
+ "operator": ">", "value": 2.45}}, {"count": 1, "distribution": [["Iris-virginica",
536
+ 1]], "leaf": true, "output": "Iris-virginica", "predicate": {"field": "000001",
537
+ "operator": "<=", "value": 2.45}}], "count": 2, "distribution": [["Iris-virginica",
538
+ 1], ["Iris-versicolor", 1]], "output": "Iris-virginica", "predicate": {"field":
539
+ "000000", "operator": "<=", "value": 6.05}}], "count": 5, "distribution":
540
+ [["Iris-virginica", 4], ["Iris-versicolor", 1]], "output": "Iris-virginica",
541
+ "predicate": {"field": "000002", "operator": ">", "value": 4.95}}, {"count":
542
+ 47, "distribution": [["Iris-versicolor", 47]], "leaf": true, "output": "Iris-versicolor",
543
+ "predicate": {"field": "000002", "operator": "<=", "value": 4.95}}], "count":
544
+ 52, "distribution": [["Iris-virginica", 4], ["Iris-versicolor", 48]], "output":
545
+ "Iris-versicolor", "predicate": {"field": "000003", "operator": "<=", "value":
546
+ 1.65}}], "count": 100, "distribution": [["Iris-virginica", 50], ["Iris-versicolor",
547
+ 50]], "output": "Iris-virginica", "predicate": {"field": "000002", "operator":
548
+ ">", "value": 2.45}}, {"count": 50, "distribution": [["Iris-setosa", 50]],
549
+ "leaf": true, "output": "Iris-setosa", "predicate": {"field": "000002", "operator":
550
+ "<=", "value": 2.45}}], "count": 150, "distribution": [["Iris-virginica",
551
+ 50], ["Iris-versicolor", 50], ["Iris-setosa", 50]], "output": "Iris-virginica",
552
+ "predicate": true}, "row_range": {"size": 150, "start": 0}}, "name": "foo
553
+ name", "number_of_predictions": 0, "objective_fields": ["000004"], "private":
554
+ true, "range": [1, 150], "resource": "model/500191191552681c6000002e", "rows":
555
+ 150, "size": 4608, "source": "source/500190d6035d075696000016", "source_status":
556
+ true, "status": {"code": 5, "elapsed": 151, "message": "The model has been
557
+ created", "progress": 1}, "tags": [], "updated": "2012-07-14T15:32:43.303000"}'
538
558
  http_version: '1.1'
539
- recorded_at: Thu, 28 Jun 2012 22:28:15 GMT
559
+ recorded_at: Sat, 14 Jul 2012 15:32:07 GMT
540
560
  recorded_with: VCR 2.2.2