big_ml 0.1.1 → 0.1.2

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 (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,124 +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:54 GMT
20
+ - Sat, 14 Jul 2012 15:26:23 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:28:48.501000", "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/4fecdaa015526875f900328f", "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": 67, "message": "The
44
- source has been created"}, "tags": [], "type": 0, "updated": "2012-06-28T22:28:03.057000"},
45
- {"category": 0, "code": 200, "content_type": "application/octet-stream", "created":
46
- "2012-06-28T22:27:36.418000", "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": 1, "number_of_models": 0, "number_of_predictions":
54
- 0, "private": true, "resource": "source/4fecda58035d0741f40032a6", "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": 59, "message": "The
59
- source has been created"}, "tags": [], "type": 0, "updated": "2012-06-28T22:28:46.253000"},
60
- {"category": 0, "code": 200, "content_type": "application/octet-stream", "created":
61
- "2012-06-28T22:27:13.381000", "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": 0, "number_of_models": 0, "number_of_predictions":
69
- 0, "private": true, "resource": "source/4fecda41035d0741f1003314", "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": 98, "message": "The
74
- source has been created"}, "tags": [], "type": 0, "updated": "2012-06-28T22:27:54.182000"}]}'
75
- http_version: '1.1'
76
- recorded_at: Thu, 28 Jun 2012 22:28:40 GMT
77
- - request:
78
- method: delete
79
- uri: https://bigml.io/andromeda/source/4fecdaa015526875f900328f?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: 204
89
- message: NO CONTENT
90
- headers:
91
- content-length:
92
- - '0'
93
- content-type:
94
- - text/html; charset=utf-8
95
- date:
96
- - Thu, 28 Jun 2012 22:26:31 GMT
97
- server:
98
- - nginx/1.0.12
99
- connection:
100
- - Close
101
- body:
102
- encoding: US-ASCII
103
- string: ''
104
- http_version: '1.1'
105
- recorded_at: Thu, 28 Jun 2012 22:28:44 GMT
106
- - request:
107
- method: delete
108
- uri: https://bigml.io/andromeda/source/4fecda58035d0741f40032a6?username=<USERNAME>&api_key=<API_KEY>
109
- body:
110
- encoding: US-ASCII
111
- string: ''
112
- headers:
113
- connection:
114
- - close
115
- response:
116
- status:
117
- code: 204
118
- message: NO CONTENT
119
- headers:
120
- content-length:
121
- - '0'
122
- content-type:
123
- - text/html; charset=utf-8
124
- date:
125
- - Thu, 28 Jun 2012 22:24:01 GMT
126
- server:
127
- - nginx/1.0.12
128
- connection:
129
- - Close
130
- body:
131
- encoding: US-ASCII
132
- string: ''
30
+ "total_count": 1}, "objects": [{"category": 0, "code": 200, "content_type":
31
+ "application/octet-stream", "created": "2012-07-14T15:32:56.600000", "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/500191281552681c60000032", "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": 77, "message": "The source has been created"}, "tags":
45
+ [], "type": 0, "updated": "2012-07-14T15:31:55.645000"}]}'
133
46
  http_version: '1.1'
134
- recorded_at: Thu, 28 Jun 2012 22:28:47 GMT
47
+ recorded_at: Sat, 14 Jul 2012 15:32:26 GMT
135
48
  - request:
136
49
  method: delete
137
- uri: https://bigml.io/andromeda/source/4fecda41035d0741f1003314?username=<USERNAME>&api_key=<API_KEY>
50
+ uri: https://bigml.io/dev/andromeda/source/500191281552681c60000032?username=<USERNAME>&api_key=<API_KEY>
138
51
  body:
139
52
  encoding: US-ASCII
140
53
  string: ''
@@ -151,7 +64,7 @@ http_interactions:
151
64
  content-type:
152
65
  - text/html; charset=utf-8
153
66
  date:
154
- - Thu, 28 Jun 2012 22:26:36 GMT
67
+ - Sat, 14 Jul 2012 15:31:25 GMT
155
68
  server:
156
69
  - nginx/1.0.12
157
70
  connection:
@@ -160,10 +73,10 @@ http_interactions:
160
73
  encoding: US-ASCII
161
74
  string: ''
162
75
  http_version: '1.1'
163
- recorded_at: Thu, 28 Jun 2012 22:28:49 GMT
76
+ recorded_at: Sat, 14 Jul 2012 15:32:28 GMT
164
77
  - request:
165
78
  method: get
166
- 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>
167
80
  body:
168
81
  encoding: US-ASCII
169
82
  string: ''
@@ -178,65 +91,29 @@ http_interactions:
178
91
  content-type:
179
92
  - application/json; charset=utf-8
180
93
  date:
181
- - Thu, 28 Jun 2012 22:24:04 GMT
94
+ - Sat, 14 Jul 2012 15:26:27 GMT
182
95
  server:
183
96
  - nginx/1.0.12
184
- content-length:
185
- - '1311'
97
+ transfer-encoding:
98
+ - chunked
186
99
  connection:
187
100
  - Close
188
101
  body:
189
102
  encoding: US-ASCII
190
103
  string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
191
- "total_count": 2}, "objects": [{"category": 0, "code": 200, "columns": 5,
192
- "created": "2012-06-28T22:28:26.926000", "credits": 0.00439453125, "description":
193
- "", "locale": "en_US", "name": "iris'' dataset", "number_of_models": 0, "number_of_predictions":
194
- 0, "private": true, "resource": "dataset/4fecda8a15526875f800332e", "rows":
195
- 150, "size": 4608, "source": "source/4fecda58035d0741f40032a6", "source_status":
196
- false, "status": {"bytes": 4608, "code": 5, "elapsed": 12520, "field_errors":
104
+ "total_count": 1}, "objects": [{"category": 0, "code": 200, "columns": 5,
105
+ "created": "2012-07-14T15:31:54.232000", "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/500190ea035d0741ca000038",
108
+ "rows": 150, "size": 4608, "source": "source/500191281552681c60000032", "source_status":
109
+ false, "status": {"bytes": 4608, "code": 5, "elapsed": 150, "field_errors":
197
110
  [], "message": "The dataset has been created", "row_format_errors": [], "serialized_rows":
198
- 150}, "tags": [], "updated": "2012-06-28T22:28:46.260000"}, {"category": 0,
199
- "code": 200, "columns": 5, "created": "2012-06-28T22:28:01.390000", "credits":
200
- 0.00439453125, "description": "", "locale": "en_US", "name": "iris'' dataset",
201
- "number_of_models": 1, "number_of_predictions": 0, "private": true, "resource":
202
- "dataset/4fecda71035d0741ed0032ff", "rows": 150, "size": 4608, "source": "source/4fecdaa015526875f900328f",
203
- "source_status": false, "status": {"bytes": 4608, "code": 5, "elapsed": 180,
204
- "field_errors": [], "message": "The dataset has been created", "row_format_errors":
205
- [], "serialized_rows": 150}, "tags": [], "updated": "2012-06-28T22:28:03.063000"}]}'
206
- http_version: '1.1'
207
- recorded_at: Thu, 28 Jun 2012 22:28:51 GMT
208
- - request:
209
- method: delete
210
- uri: https://bigml.io/andromeda/dataset/4fecda8a15526875f800332e?username=<USERNAME>&api_key=<API_KEY>
211
- body:
212
- encoding: US-ASCII
213
- string: ''
214
- headers:
215
- connection:
216
- - close
217
- response:
218
- status:
219
- code: 204
220
- message: NO CONTENT
221
- headers:
222
- content-length:
223
- - '0'
224
- content-type:
225
- - text/html; charset=utf-8
226
- date:
227
- - Thu, 28 Jun 2012 22:26:40 GMT
228
- server:
229
- - nginx/1.0.12
230
- connection:
231
- - Close
232
- body:
233
- encoding: US-ASCII
234
- string: ''
111
+ 150}, "tags": [], "updated": "2012-07-14T15:31:55.651000"}]}'
235
112
  http_version: '1.1'
236
- recorded_at: Thu, 28 Jun 2012 22:28:53 GMT
113
+ recorded_at: Sat, 14 Jul 2012 15:32:30 GMT
237
114
  - request:
238
115
  method: delete
239
- uri: https://bigml.io/andromeda/dataset/4fecda71035d0741ed0032ff?username=<USERNAME>&api_key=<API_KEY>
116
+ uri: https://bigml.io/dev/andromeda/dataset/500190ea035d0741ca000038?username=<USERNAME>&api_key=<API_KEY>
240
117
  body:
241
118
  encoding: US-ASCII
242
119
  string: ''
@@ -253,7 +130,7 @@ http_interactions:
253
130
  content-type:
254
131
  - text/html; charset=utf-8
255
132
  date:
256
- - Thu, 28 Jun 2012 22:24:08 GMT
133
+ - Sat, 14 Jul 2012 15:31:29 GMT
257
134
  server:
258
135
  - nginx/1.0.12
259
136
  connection:
@@ -262,10 +139,10 @@ http_interactions:
262
139
  encoding: US-ASCII
263
140
  string: ''
264
141
  http_version: '1.1'
265
- recorded_at: Thu, 28 Jun 2012 22:28:54 GMT
142
+ recorded_at: Sat, 14 Jul 2012 15:32:31 GMT
266
143
  - request:
267
144
  method: get
268
- 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>
269
146
  body:
270
147
  encoding: US-ASCII
271
148
  string: ''
@@ -280,31 +157,31 @@ http_interactions:
280
157
  content-type:
281
158
  - application/json; charset=utf-8
282
159
  date:
283
- - Thu, 28 Jun 2012 22:26:43 GMT
160
+ - Sat, 14 Jul 2012 15:26:29 GMT
284
161
  server:
285
162
  - nginx/1.0.12
286
163
  content-length:
287
- - '833'
164
+ - '846'
288
165
  connection:
289
166
  - Close
290
167
  body:
291
168
  encoding: US-ASCII
292
169
  string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
293
170
  "total_count": 1}, "objects": [{"category": 0, "code": 200, "columns": 5,
294
- "created": "2012-06-28T22:28:03.052000", "credits": 0.017578125, "dataset":
295
- "dataset/4fecda71035d0741ed0032ff", "dataset_status": false, "description":
296
- "", "holdout": 0.0, "input_fields": ["000000", "000001", "000002", "000003"],
297
- "locale": "en_US", "max_columns": 5, "max_rows": 150, "name": "foo name",
298
- "number_of_predictions": 0, "objective_fields": ["000004"], "private": true,
299
- "range": [1, 150], "resource": "model/4fecda73035d0741f0003367", "rows": 150,
300
- "size": 4608, "source": "source/4fecdaa015526875f900328f", "source_status":
301
- false, "status": {"code": 5, "elapsed": 127, "message": "The model has been
302
- created", "progress": 1}, "tags": [], "updated": "2012-06-28T22:28:53.617000"}]}'
171
+ "created": "2012-07-14T15:31:55.641000", "credits": 0.017578125, "dataset":
172
+ "dataset/500190ea035d0741ca000038", "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": "foo
175
+ name", "number_of_predictions": 0, "objective_fields": ["000004"], "private":
176
+ true, "range": [1, 150], "resource": "model/500190eb035d074059000053", "rows":
177
+ 150, "size": 4608, "source": "source/500191281552681c60000032", "source_status":
178
+ false, "status": {"code": 5, "elapsed": 139, "message": "The model has been
179
+ created", "progress": 1}, "tags": [], "updated": "2012-07-14T15:33:01.179000"}]}'
303
180
  http_version: '1.1'
304
- recorded_at: Thu, 28 Jun 2012 22:28:56 GMT
181
+ recorded_at: Sat, 14 Jul 2012 15:32:32 GMT
305
182
  - request:
306
183
  method: delete
307
- uri: https://bigml.io/andromeda/model/4fecda73035d0741f0003367?username=<USERNAME>&api_key=<API_KEY>
184
+ uri: https://bigml.io/dev/andromeda/model/500190eb035d074059000053?username=<USERNAME>&api_key=<API_KEY>
308
185
  body:
309
186
  encoding: US-ASCII
310
187
  string: ''
@@ -321,7 +198,7 @@ http_interactions:
321
198
  content-type:
322
199
  - text/html; charset=utf-8
323
200
  date:
324
- - Thu, 28 Jun 2012 22:24:11 GMT
201
+ - Sat, 14 Jul 2012 15:31:34 GMT
325
202
  server:
326
203
  - nginx/1.0.12
327
204
  connection:
@@ -330,10 +207,10 @@ http_interactions:
330
207
  encoding: US-ASCII
331
208
  string: ''
332
209
  http_version: '1.1'
333
- recorded_at: Thu, 28 Jun 2012 22:28:58 GMT
210
+ recorded_at: Sat, 14 Jul 2012 15:32:37 GMT
334
211
  - request:
335
212
  method: post
336
- uri: https://bigml.io/andromeda/source
213
+ uri: https://bigml.io/dev/andromeda/source
337
214
  body:
338
215
  encoding: US-ASCII
339
216
  string: ''
@@ -341,7 +218,7 @@ http_interactions:
341
218
  content-type:
342
219
  - multipart/form-data; boundary=-----------RubyMultipartPost
343
220
  content-length:
344
- - '5147'
221
+ - '5149'
345
222
  connection:
346
223
  - close
347
224
  response:
@@ -352,33 +229,33 @@ http_interactions:
352
229
  content-type:
353
230
  - application/json; charset=utf-8
354
231
  date:
355
- - Thu, 28 Jun 2012 22:26:47 GMT
232
+ - Sat, 14 Jul 2012 15:26:36 GMT
356
233
  location:
357
- - http://bigml.io/andromeda/source/4fecda8b035d0741f000336a
234
+ - http://bigml.io/andromeda/source/5001913c155268369a000002
358
235
  server:
359
236
  - nginx/1.0.12
360
- content-length:
361
- - '567'
237
+ transfer-encoding:
238
+ - chunked
362
239
  connection:
363
240
  - Close
364
241
  body:
365
242
  encoding: US-ASCII
366
243
  string: ! '{"category": 0, "code": 201, "content_type": "application/octet-stream",
367
- "created": "2012-06-28T22:28:27.473733", "credits": 0.0, "description": "",
368
- "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae", "name":
369
- "iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
370
- 0, "private": true, "resource": "source/4fecda8b035d0741f000336a", "size":
244
+ "created": "2012-07-14T15:33:16.204994", "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/5001913c155268369a000002", "size":
371
248
  4608, "source_parser": {}, "status": {"code": 1, "message": "The request has
372
249
  been queued and will be processed soon"}, "tags": [], "type": 0, "updated":
373
- "2012-06-28T22:28:27.473765"}'
250
+ "2012-07-14T15:33:16.205025"}'
374
251
  http_version: '1.1'
375
- recorded_at: Thu, 28 Jun 2012 22:29:00 GMT
252
+ recorded_at: Sat, 14 Jul 2012 15:32:39 GMT
376
253
  - request:
377
254
  method: post
378
- 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>
379
256
  body:
380
257
  encoding: UTF-8
381
- string: ! '{"source":"source/4fecda8b035d0741f000336a"}'
258
+ string: ! '{"source":"source/5001913c155268369a000002"}'
382
259
  headers:
383
260
  content-type:
384
261
  - application/json
@@ -392,37 +269,37 @@ http_interactions:
392
269
  content-type:
393
270
  - application/json; charset=utf-8
394
271
  date:
395
- - Thu, 28 Jun 2012 22:24:15 GMT
272
+ - Sat, 14 Jul 2012 15:31:37 GMT
396
273
  location:
397
- - http://bigml.io/andromeda/dataset/4fecdabe15526875f70033d2
274
+ - http://bigml.io/andromeda/dataset/500190fd035d07404e000048
398
275
  server:
399
276
  - nginx/1.0.12
400
277
  content-length:
401
- - '921'
278
+ - '934'
402
279
  connection:
403
280
  - Close
404
281
  body:
405
282
  encoding: US-ASCII
406
- string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-06-28T22:29:18.011375",
407
- "credits": 0.00439453125, "description": "", "fields": {"000000": {"column_number":
408
- 0, "name": "sepal length", "optype": "numeric"}, "000001": {"column_number":
409
- 1, "name": "sepal width", "optype": "numeric"}, "000002": {"column_number":
410
- 2, "name": "petal length", "optype": "numeric"}, "000003": {"column_number":
411
- 3, "name": "petal width", "optype": "numeric"}, "000004": {"column_number":
412
- 4, "name": "species", "optype": "categorical"}}, "locale": "en_US", "name":
413
- "iris'' dataset", "number_of_models": 0, "number_of_predictions": 0, "private":
414
- true, "resource": "dataset/4fecdabe15526875f70033d2", "rows": 0, "size": 4608,
415
- "source": "source/4fecda8b035d0741f000336a", "source_status": true, "status":
416
- {"code": 1, "message": "The dataset is being processed and will be created
417
- soon"}, "tags": [], "updated": "2012-06-28T22:29:18.011406"}'
283
+ string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-07-14T15:32:13.545225",
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/500190fd035d07404e000048", "rows":
292
+ 0, "size": 4608, "source": "source/5001913c155268369a000002", "source_status":
293
+ true, "status": {"code": 1, "message": "The dataset is being processed and
294
+ will be created soon"}, "tags": [], "updated": "2012-07-14T15:32:13.545244"}'
418
295
  http_version: '1.1'
419
- recorded_at: Thu, 28 Jun 2012 22:29:02 GMT
296
+ recorded_at: Sat, 14 Jul 2012 15:32:40 GMT
420
297
  - request:
421
298
  method: post
422
- 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>
423
300
  body:
424
301
  encoding: UTF-8
425
- string: ! '{"dataset":"dataset/4fecdabe15526875f70033d2"}'
302
+ string: ! '{"dataset":"dataset/500190fd035d07404e000048"}'
426
303
  headers:
427
304
  content-type:
428
305
  - application/json
@@ -436,30 +313,31 @@ http_interactions:
436
313
  content-type:
437
314
  - application/json; charset=utf-8
438
315
  date:
439
- - Thu, 28 Jun 2012 22:26:51 GMT
316
+ - Sat, 14 Jul 2012 15:26:39 GMT
440
317
  location:
441
- - http://bigml.io/andromeda/model/4fecdac015526875f3003337
318
+ - http://bigml.io/andromeda/model/500190ff035d07569b00000f
442
319
  server:
443
320
  - nginx/1.0.12
444
321
  content-length:
445
- - '691'
322
+ - '704'
446
323
  connection:
447
324
  - Close
448
325
  body:
449
326
  encoding: US-ASCII
450
- string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-06-28T22:29:20.151395",
451
- "credits": 0.017578125, "dataset": "dataset/4fecdabe15526875f70033d2", "dataset_status":
452
- true, "description": "", "holdout": 0.0, "input_fields": [], "locale": "en_US",
453
- "max_columns": 5, "max_rows": 150, "name": "iris'' dataset model", "number_of_predictions":
454
- 0, "objective_fields": [], "private": true, "range": [1, 150], "resource":
455
- "model/4fecdac015526875f3003337", "rows": 150, "size": 4608, "source": "source/4fecda8b035d0741f000336a",
456
- "source_status": true, "status": {"code": 1, "message": "The model is being
457
- processed and will be created soon"}, "tags": [], "updated": "2012-06-28T22:29:20.151423"}'
327
+ string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-07-14T15:32:15.705823",
328
+ "credits": 0.017578125, "dataset": "dataset/500190fd035d07404e000048", "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/500190ff035d07569b00000f", "rows": 150,
333
+ "size": 4608, "source": "source/5001913c155268369a000002", "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:15.705854"}'
458
336
  http_version: '1.1'
459
- recorded_at: Thu, 28 Jun 2012 22:29:04 GMT
337
+ recorded_at: Sat, 14 Jul 2012 15:32:43 GMT
460
338
  - request:
461
339
  method: delete
462
- uri: https://bigml.io/andromeda/model/4fecdac015526875f3003337?username=<USERNAME>&api_key=<API_KEY>
340
+ uri: https://bigml.io/dev/andromeda/model/500190ff035d07569b00000f?username=<USERNAME>&api_key=<API_KEY>
463
341
  body:
464
342
  encoding: US-ASCII
465
343
  string: ''
@@ -476,7 +354,7 @@ http_interactions:
476
354
  content-type:
477
355
  - text/html; charset=utf-8
478
356
  date:
479
- - Thu, 28 Jun 2012 22:24:19 GMT
357
+ - Sat, 14 Jul 2012 15:31:43 GMT
480
358
  server:
481
359
  - nginx/1.0.12
482
360
  connection:
@@ -485,10 +363,10 @@ http_interactions:
485
363
  encoding: US-ASCII
486
364
  string: ''
487
365
  http_version: '1.1'
488
- recorded_at: Thu, 28 Jun 2012 22:29:05 GMT
366
+ recorded_at: Sat, 14 Jul 2012 15:32:46 GMT
489
367
  - request:
490
368
  method: get
491
- uri: https://bigml.io/andromeda/model/4fecdac015526875f3003337?username=<USERNAME>&api_key=<API_KEY>
369
+ uri: https://bigml.io/dev/andromeda/model/500190ff035d07569b00000f?username=<USERNAME>&api_key=<API_KEY>
492
370
  body:
493
371
  encoding: US-ASCII
494
372
  string: ''
@@ -503,7 +381,7 @@ http_interactions:
503
381
  content-type:
504
382
  - application/json; charset=utf-8
505
383
  date:
506
- - Thu, 28 Jun 2012 22:26:54 GMT
384
+ - Sat, 14 Jul 2012 15:26:44 GMT
507
385
  server:
508
386
  - nginx/1.0.12
509
387
  content-length:
@@ -513,13 +391,13 @@ http_interactions:
513
391
  body:
514
392
  encoding: US-ASCII
515
393
  string: ! '{"code": 404, "status": {"code": -1201, "extra": ["Couldn''t find
516
- an instance of ''Model'' which matched ''pk=4fecdac015526875f3003337''."],
394
+ an instance of ''Model'' which matched ''pk=500190ff035d07569b00000f''."],
517
395
  "message": "Id does not exist"}}'
518
396
  http_version: '1.1'
519
- recorded_at: Thu, 28 Jun 2012 22:29:07 GMT
397
+ recorded_at: Sat, 14 Jul 2012 15:32:47 GMT
520
398
  - request:
521
399
  method: get
522
- uri: https://bigml.io/andromeda/model?username=<USERNAME>&api_key=<API_KEY>
400
+ uri: https://bigml.io/dev/andromeda/model?username=<USERNAME>&api_key=<API_KEY>
523
401
  body:
524
402
  encoding: US-ASCII
525
403
  string: ''
@@ -534,7 +412,7 @@ http_interactions:
534
412
  content-type:
535
413
  - application/json; charset=utf-8
536
414
  date:
537
- - Thu, 28 Jun 2012 22:24:21 GMT
415
+ - Sat, 14 Jul 2012 15:31:45 GMT
538
416
  server:
539
417
  - nginx/1.0.12
540
418
  content-length:
@@ -546,5 +424,5 @@ http_interactions:
546
424
  string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
547
425
  "total_count": 0}, "objects": []}'
548
426
  http_version: '1.1'
549
- recorded_at: Thu, 28 Jun 2012 22:29:08 GMT
427
+ recorded_at: Sat, 14 Jul 2012 15:32:48 GMT
550
428
  recorded_with: VCR 2.2.2