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,36 +17,37 @@ http_interactions:
17
17
  content-type:
18
18
  - application/json; charset=utf-8
19
19
  date:
20
- - Thu, 28 Jun 2012 22:21:53 GMT
20
+ - Sat, 14 Jul 2012 15:29:15 GMT
21
21
  server:
22
22
  - nginx/1.0.12
23
23
  content-length:
24
- - '1281'
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
30
  "total_count": 1}, "objects": [{"category": 0, "code": 200, "content_type":
31
- "application/octet-stream", "created": "2012-06-28T22:26:02.354000", "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/4fecd9fa035d0741ed0032f8", "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": 282, "message":
44
- "The source has been created"}, "tags": [], "type": 0, "updated": "2012-06-28T22:26:54.600000"}]}'
31
+ "application/octet-stream", "created": "2012-07-14T15:30:50.846000", "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/500190aa1552681edf000035", "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": 92, "message": "The source has been created"}, "tags":
45
+ [], "type": 0, "updated": "2012-07-14T15:29:50.575000"}]}'
45
46
  http_version: '1.1'
46
- recorded_at: Thu, 28 Jun 2012 22:26:39 GMT
47
+ recorded_at: Sat, 14 Jul 2012 15:30:18 GMT
47
48
  - request:
48
49
  method: delete
49
- uri: https://bigml.io/andromeda/source/4fecd9fa035d0741ed0032f8?username=<USERNAME>&api_key=<API_KEY>
50
+ uri: https://bigml.io/dev/andromeda/source/500190aa1552681edf000035?username=<USERNAME>&api_key=<API_KEY>
50
51
  body:
51
52
  encoding: US-ASCII
52
53
  string: ''
@@ -63,7 +64,7 @@ http_interactions:
63
64
  content-type:
64
65
  - text/html; charset=utf-8
65
66
  date:
66
- - Thu, 28 Jun 2012 22:24:30 GMT
67
+ - Sat, 14 Jul 2012 15:24:18 GMT
67
68
  server:
68
69
  - nginx/1.0.12
69
70
  connection:
@@ -72,10 +73,10 @@ http_interactions:
72
73
  encoding: US-ASCII
73
74
  string: ''
74
75
  http_version: '1.1'
75
- recorded_at: Thu, 28 Jun 2012 22:26:43 GMT
76
+ recorded_at: Sat, 14 Jul 2012 15:30:21 GMT
76
77
  - request:
77
78
  method: get
78
- 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>
79
80
  body:
80
81
  encoding: US-ASCII
81
82
  string: ''
@@ -90,29 +91,29 @@ http_interactions:
90
91
  content-type:
91
92
  - application/json; charset=utf-8
92
93
  date:
93
- - Thu, 28 Jun 2012 22:21:58 GMT
94
+ - Sat, 14 Jul 2012 15:29:19 GMT
94
95
  server:
95
96
  - nginx/1.0.12
96
- transfer-encoding:
97
- - chunked
97
+ content-length:
98
+ - '717'
98
99
  connection:
99
100
  - Close
100
101
  body:
101
102
  encoding: US-ASCII
102
103
  string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
103
104
  "total_count": 1}, "objects": [{"category": 0, "code": 200, "columns": 5,
104
- "created": "2012-06-28T22:26:52.750000", "credits": 0.00439453125, "description":
105
- "", "locale": "en_US", "name": "iris'' dataset", "number_of_models": 1, "number_of_predictions":
106
- 0, "private": true, "resource": "dataset/4fecda2c15526875f50032f6", "rows":
107
- 150, "size": 4608, "source": "source/4fecd9fa035d0741ed0032f8", "source_status":
108
- false, "status": {"bytes": 4608, "code": 5, "elapsed": 370, "field_errors":
105
+ "created": "2012-07-14T15:29:48.713000", "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/5001906c035d0741ca00002a",
108
+ "rows": 150, "size": 4608, "source": "source/500190aa1552681edf000035", "source_status":
109
+ false, "status": {"bytes": 4608, "code": 5, "elapsed": 207, "field_errors":
109
110
  [], "message": "The dataset has been created", "row_format_errors": [], "serialized_rows":
110
- 150}, "tags": [], "updated": "2012-06-28T22:26:54.608000"}]}'
111
+ 150}, "tags": [], "updated": "2012-07-14T15:29:50.581000"}]}'
111
112
  http_version: '1.1'
112
- recorded_at: Thu, 28 Jun 2012 22:26:44 GMT
113
+ recorded_at: Sat, 14 Jul 2012 15:30:22 GMT
113
114
  - request:
114
115
  method: delete
115
- uri: https://bigml.io/andromeda/dataset/4fecda2c15526875f50032f6?username=<USERNAME>&api_key=<API_KEY>
116
+ uri: https://bigml.io/dev/andromeda/dataset/5001906c035d0741ca00002a?username=<USERNAME>&api_key=<API_KEY>
116
117
  body:
117
118
  encoding: US-ASCII
118
119
  string: ''
@@ -121,27 +122,29 @@ http_interactions:
121
122
  - close
122
123
  response:
123
124
  status:
124
- code: 204
125
- message: NO CONTENT
125
+ code: 404
126
+ message: NOT FOUND
126
127
  headers:
127
- content-length:
128
- - '0'
129
128
  content-type:
130
- - text/html; charset=utf-8
129
+ - application/json; charset=utf-8
131
130
  date:
132
- - Thu, 28 Jun 2012 22:24:34 GMT
131
+ - Sat, 14 Jul 2012 15:24:20 GMT
133
132
  server:
134
133
  - nginx/1.0.12
134
+ content-length:
135
+ - '168'
135
136
  connection:
136
137
  - Close
137
138
  body:
138
139
  encoding: US-ASCII
139
- string: ''
140
+ string: ! '{"code": 404, "status": {"code": -1201, "extra": ["Couldn''t find
141
+ an instance of ''Model'' which matched ''id=5001906e035d0741ca00002c''."],
142
+ "message": "Id does not exist"}}'
140
143
  http_version: '1.1'
141
- recorded_at: Thu, 28 Jun 2012 22:26:47 GMT
144
+ recorded_at: Sat, 14 Jul 2012 15:30:23 GMT
142
145
  - request:
143
146
  method: get
144
- uri: https://bigml.io/andromeda/model?username=<USERNAME>&api_key=<API_KEY>
147
+ uri: https://bigml.io/dev/andromeda/model?username=<USERNAME>&api_key=<API_KEY>
145
148
  body:
146
149
  encoding: US-ASCII
147
150
  string: ''
@@ -156,31 +159,31 @@ http_interactions:
156
159
  content-type:
157
160
  - application/json; charset=utf-8
158
161
  date:
159
- - Thu, 28 Jun 2012 22:22:02 GMT
162
+ - Sat, 14 Jul 2012 15:29:21 GMT
160
163
  server:
161
164
  - nginx/1.0.12
162
165
  content-length:
163
- - '844'
166
+ - '856'
164
167
  connection:
165
168
  - Close
166
169
  body:
167
170
  encoding: US-ASCII
168
171
  string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
169
172
  "total_count": 1}, "objects": [{"category": 0, "code": 200, "columns": 5,
170
- "created": "2012-06-28T22:26:54.543000", "credits": 0.017578125, "dataset":
171
- "dataset/4fecda2c15526875f50032f6", "dataset_status": false, "description":
172
- "", "holdout": 0.0, "input_fields": ["000000", "000001", "000002", "000003"],
173
- "locale": "en_US", "max_columns": 5, "max_rows": 150, "name": "iris'' dataset
174
- model", "number_of_predictions": 0, "objective_fields": ["000004"], "private":
175
- true, "range": [1, 150], "resource": "model/4fecda2e15526875f70033ca", "rows":
176
- 150, "size": 4608, "source": "source/4fecd9fa035d0741ed0032f8", "source_status":
177
- false, "status": {"code": 5, "elapsed": 131, "message": "The model has been
178
- created", "progress": 1}, "tags": [], "updated": "2012-06-28T22:27:02.460000"}]}'
173
+ "created": "2012-07-14T15:29:50.570000", "credits": 0.017578125, "dataset":
174
+ "dataset/5001906c035d0741ca00002a", "dataset_status": true, "description":
175
+ "", "dev": true, "holdout": 0.0, "input_fields": ["000000", "000001", "000002",
176
+ "000003"], "locale": "en_US", "max_columns": 5, "max_rows": 150, "name": "iris''
177
+ dataset model", "number_of_predictions": 0, "objective_fields": ["000004"],
178
+ "private": true, "range": [1, 150], "resource": "model/5001906e035d0741ca00002c",
179
+ "rows": 150, "size": 4608, "source": "source/500190aa1552681edf000035", "source_status":
180
+ false, "status": {"code": 5, "elapsed": 136, "message": "The model has been
181
+ created", "progress": 1}, "tags": [], "updated": "2012-07-14T15:29:50.751000"}]}'
179
182
  http_version: '1.1'
180
- recorded_at: Thu, 28 Jun 2012 22:26:49 GMT
183
+ recorded_at: Sat, 14 Jul 2012 15:30:24 GMT
181
184
  - request:
182
185
  method: delete
183
- uri: https://bigml.io/andromeda/model/4fecda2e15526875f70033ca?username=<USERNAME>&api_key=<API_KEY>
186
+ uri: https://bigml.io/dev/andromeda/model/5001906e035d0741ca00002c?username=<USERNAME>&api_key=<API_KEY>
184
187
  body:
185
188
  encoding: US-ASCII
186
189
  string: ''
@@ -197,7 +200,7 @@ http_interactions:
197
200
  content-type:
198
201
  - text/html; charset=utf-8
199
202
  date:
200
- - Thu, 28 Jun 2012 22:24:38 GMT
203
+ - Sat, 14 Jul 2012 15:24:25 GMT
201
204
  server:
202
205
  - nginx/1.0.12
203
206
  connection:
@@ -206,10 +209,10 @@ http_interactions:
206
209
  encoding: US-ASCII
207
210
  string: ''
208
211
  http_version: '1.1'
209
- recorded_at: Thu, 28 Jun 2012 22:26:51 GMT
212
+ recorded_at: Sat, 14 Jul 2012 15:30:28 GMT
210
213
  - request:
211
214
  method: post
212
- uri: https://bigml.io/andromeda/source
215
+ uri: https://bigml.io/dev/andromeda/source
213
216
  body:
214
217
  encoding: US-ASCII
215
218
  string: ''
@@ -217,7 +220,7 @@ http_interactions:
217
220
  content-type:
218
221
  - multipart/form-data; boundary=-----------RubyMultipartPost
219
222
  content-length:
220
- - '5147'
223
+ - '5149'
221
224
  connection:
222
225
  - close
223
226
  response:
@@ -228,33 +231,33 @@ http_interactions:
228
231
  content-type:
229
232
  - application/json; charset=utf-8
230
233
  date:
231
- - Thu, 28 Jun 2012 22:22:07 GMT
234
+ - Sat, 14 Jul 2012 15:29:26 GMT
232
235
  location:
233
- - http://bigml.io/andromeda/source/4fecda3d15526875f8003324
236
+ - http://bigml.io/andromeda/source/5001907a035d0741ca00002e
234
237
  server:
235
238
  - nginx/1.0.12
236
239
  content-length:
237
- - '567'
240
+ - '580'
238
241
  connection:
239
242
  - Close
240
243
  body:
241
244
  encoding: US-ASCII
242
245
  string: ! '{"category": 0, "code": 201, "content_type": "application/octet-stream",
243
- "created": "2012-06-28T22:27:09.824751", "credits": 0.0, "description": "",
244
- "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae", "name":
245
- "iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
246
- 0, "private": true, "resource": "source/4fecda3d15526875f8003324", "size":
246
+ "created": "2012-07-14T15:30:02.555328", "credits": 0.0, "description": "",
247
+ "dev": true, "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae",
248
+ "name": "iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
249
+ 0, "private": true, "resource": "source/5001907a035d0741ca00002e", "size":
247
250
  4608, "source_parser": {}, "status": {"code": 1, "message": "The request has
248
251
  been queued and will be processed soon"}, "tags": [], "type": 0, "updated":
249
- "2012-06-28T22:27:09.824772"}'
252
+ "2012-07-14T15:30:02.555351"}'
250
253
  http_version: '1.1'
251
- recorded_at: Thu, 28 Jun 2012 22:26:53 GMT
254
+ recorded_at: Sat, 14 Jul 2012 15:30:29 GMT
252
255
  - request:
253
256
  method: post
254
- uri: https://bigml.io/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
257
+ uri: https://bigml.io/dev/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
255
258
  body:
256
259
  encoding: UTF-8
257
- string: ! '{"source":"source/4fecda3d15526875f8003324"}'
260
+ string: ! '{"source":"source/5001907a035d0741ca00002e"}'
258
261
  headers:
259
262
  content-type:
260
263
  - application/json
@@ -268,37 +271,37 @@ http_interactions:
268
271
  content-type:
269
272
  - application/json; charset=utf-8
270
273
  date:
271
- - Thu, 28 Jun 2012 22:24:42 GMT
274
+ - Sat, 14 Jul 2012 15:24:28 GMT
272
275
  location:
273
- - http://bigml.io/andromeda/dataset/4fecda3f15526875f8003327
276
+ - http://bigml.io/andromeda/dataset/5001907c035d0741ca000031
274
277
  server:
275
278
  - nginx/1.0.12
276
279
  content-length:
277
- - '921'
280
+ - '934'
278
281
  connection:
279
282
  - Close
280
283
  body:
281
284
  encoding: US-ASCII
282
- string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-06-28T22:27:11.525581",
283
- "credits": 0.00439453125, "description": "", "fields": {"000000": {"column_number":
284
- 0, "name": "sepal length", "optype": "numeric"}, "000001": {"column_number":
285
- 1, "name": "sepal width", "optype": "numeric"}, "000002": {"column_number":
286
- 2, "name": "petal length", "optype": "numeric"}, "000003": {"column_number":
287
- 3, "name": "petal width", "optype": "numeric"}, "000004": {"column_number":
288
- 4, "name": "species", "optype": "categorical"}}, "locale": "en_US", "name":
289
- "iris'' dataset", "number_of_models": 0, "number_of_predictions": 0, "private":
290
- true, "resource": "dataset/4fecda3f15526875f8003327", "rows": 0, "size": 4608,
291
- "source": "source/4fecda3d15526875f8003324", "source_status": true, "status":
292
- {"code": 1, "message": "The dataset is being processed and will be created
293
- soon"}, "tags": [], "updated": "2012-06-28T22:27:11.525605"}'
285
+ string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-07-14T15:30:04.037906",
286
+ "credits": 0.00439453125, "description": "", "dev": true, "fields": {"000000":
287
+ {"column_number": 0, "name": "sepal length", "optype": "numeric"}, "000001":
288
+ {"column_number": 1, "name": "sepal width", "optype": "numeric"}, "000002":
289
+ {"column_number": 2, "name": "petal length", "optype": "numeric"}, "000003":
290
+ {"column_number": 3, "name": "petal width", "optype": "numeric"}, "000004":
291
+ {"column_number": 4, "name": "species", "optype": "categorical"}}, "locale":
292
+ "en_US", "name": "iris'' dataset", "number_of_models": 0, "number_of_predictions":
293
+ 0, "private": true, "resource": "dataset/5001907c035d0741ca000031", "rows":
294
+ 0, "size": 4608, "source": "source/5001907a035d0741ca00002e", "source_status":
295
+ true, "status": {"code": 1, "message": "The dataset is being processed and
296
+ will be created soon"}, "tags": [], "updated": "2012-07-14T15:30:04.037925"}'
294
297
  http_version: '1.1'
295
- recorded_at: Thu, 28 Jun 2012 22:26:55 GMT
298
+ recorded_at: Sat, 14 Jul 2012 15:30:31 GMT
296
299
  - request:
297
300
  method: post
298
- uri: https://bigml.io/andromeda/model?username=<USERNAME>&api_key=<API_KEY>
301
+ uri: https://bigml.io/dev/andromeda/model?username=<USERNAME>&api_key=<API_KEY>
299
302
  body:
300
303
  encoding: UTF-8
301
- string: ! '{"dataset":"dataset/4fecda3f15526875f8003327"}'
304
+ string: ! '{"dataset":"dataset/5001907c035d0741ca000031"}'
302
305
  headers:
303
306
  content-type:
304
307
  - application/json
@@ -312,31 +315,31 @@ http_interactions:
312
315
  content-type:
313
316
  - application/json; charset=utf-8
314
317
  date:
315
- - Thu, 28 Jun 2012 22:22:12 GMT
318
+ - Sat, 14 Jul 2012 15:29:30 GMT
316
319
  location:
317
- - http://bigml.io/andromeda/model/4fecda11035d0741f1003311
320
+ - http://bigml.io/andromeda/model/500190be1552681edf000039
318
321
  server:
319
322
  - nginx/1.0.12
320
323
  content-length:
321
- - '705'
324
+ - '704'
322
325
  connection:
323
326
  - Close
324
327
  body:
325
328
  encoding: US-ASCII
326
- string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-06-28T22:26:25.853316",
327
- "credits": 0.017578125, "dataset": "dataset/4fecda3f15526875f8003327", "dataset_status":
328
- true, "description": "", "holdout": 0.0, "input_fields": null, "locale": "en-US",
329
- "max_columns": 5, "max_rows": 150, "model": {"fields": {}, "root": {}}, "name":
330
- "iris'' dataset model", "number_of_predictions": 0, "objective_fields": [],
331
- "private": true, "range": [1, 150], "resource": "model/4fecda11035d0741f1003311",
332
- "rows": 150, "size": 4608, "source": "source/4fecda3d15526875f8003324", "source_status":
333
- true, "status": {"code": 0, "message": "The dataset is not ready yet"}, "tags":
334
- [], "updated": "2012-06-28T22:26:25.853343"}'
329
+ string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-07-14T15:31:10.074721",
330
+ "credits": 0.017578125, "dataset": "dataset/5001907c035d0741ca000031", "dataset_status":
331
+ true, "description": "", "dev": true, "holdout": 0.0, "input_fields": [],
332
+ "locale": "en_US", "max_columns": 5, "max_rows": 150, "name": "iris'' dataset
333
+ model", "number_of_predictions": 0, "objective_fields": [], "private": true,
334
+ "range": [1, 150], "resource": "model/500190be1552681edf000039", "rows": 150,
335
+ "size": 4608, "source": "source/5001907a035d0741ca00002e", "source_status":
336
+ true, "status": {"code": 1, "message": "The model is being processed and will
337
+ be created soon"}, "tags": [], "updated": "2012-07-14T15:31:10.074766"}'
335
338
  http_version: '1.1'
336
- recorded_at: Thu, 28 Jun 2012 22:26:58 GMT
339
+ recorded_at: Sat, 14 Jul 2012 15:30:33 GMT
337
340
  - request:
338
341
  method: get
339
- uri: https://bigml.io/andromeda/model?username=<USERNAME>&api_key=<API_KEY>
342
+ uri: https://bigml.io/dev/andromeda/model?username=<USERNAME>&api_key=<API_KEY>
340
343
  body:
341
344
  encoding: US-ASCII
342
345
  string: ''
@@ -351,25 +354,26 @@ http_interactions:
351
354
  content-type:
352
355
  - application/json; charset=utf-8
353
356
  date:
354
- - Thu, 28 Jun 2012 22:24:48 GMT
357
+ - Sat, 14 Jul 2012 15:24:31 GMT
355
358
  server:
356
359
  - nginx/1.0.12
357
360
  content-length:
358
- - '769'
361
+ - '855'
359
362
  connection:
360
363
  - Close
361
364
  body:
362
365
  encoding: US-ASCII
363
366
  string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
364
367
  "total_count": 1}, "objects": [{"category": 0, "code": 200, "columns": 5,
365
- "created": "2012-06-28T22:26:25.853000", "credits": 0.017578125, "dataset":
366
- "dataset/4fecda3f15526875f8003327", "dataset_status": true, "description":
367
- "", "holdout": 0.0, "input_fields": null, "locale": "en-US", "max_columns":
368
- 5, "max_rows": 150, "name": "iris'' dataset model", "number_of_predictions":
369
- 0, "objective_fields": [], "private": true, "range": [1, 150], "resource":
370
- "model/4fecda11035d0741f1003311", "rows": 150, "size": 4608, "source": "source/4fecda3d15526875f8003324",
371
- "source_status": true, "status": {"code": 0, "message": "The dataset is not
372
- ready yet"}, "tags": [], "updated": "2012-06-28T22:26:26.065000"}]}'
368
+ "created": "2012-07-14T15:31:10.074000", "credits": 0.017578125, "dataset":
369
+ "dataset/5001907c035d0741ca000031", "dataset_status": true, "description":
370
+ "", "dev": true, "holdout": 0.0, "input_fields": ["000000", "000001", "000002",
371
+ "000003"], "locale": "en_US", "max_columns": 5, "max_rows": 150, "name": "iris''
372
+ dataset model", "number_of_predictions": 0, "objective_fields": ["000004"],
373
+ "private": true, "range": [1, 150], "resource": "model/500190be1552681edf000039",
374
+ "rows": 150, "size": 4608, "source": "source/5001907a035d0741ca00002e", "source_status":
375
+ true, "status": {"code": 5, "elapsed": 137, "message": "The model has been
376
+ created", "progress": 1}, "tags": [], "updated": "2012-07-14T15:31:10.292000"}]}'
373
377
  http_version: '1.1'
374
- recorded_at: Thu, 28 Jun 2012 22:27:01 GMT
378
+ recorded_at: Sat, 14 Jul 2012 15:30:34 GMT
375
379
  recorded_with: VCR 2.2.2