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,81 @@ http_interactions:
17
17
  content-type:
18
18
  - application/json; charset=utf-8
19
19
  date:
20
- - Thu, 28 Jun 2012 22:19:37 GMT
20
+ - Sat, 14 Jul 2012 15:16:21 GMT
21
21
  server:
22
22
  - nginx/1.0.12
23
23
  content-length:
24
- - '1280'
24
+ - '2488'
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": 1}, "objects": [{"category": 0, "code": 200, "content_type":
31
- "application/octet-stream", "created": "2012-06-28T22:24:34.290000", "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": 0, "number_of_predictions":
39
- 0, "private": true, "resource": "source/4fecd9a215526875f50032f1", "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": 65, "message": "The
44
- source has been created"}, "tags": [], "type": 0, "updated": "2012-06-28T22:23:48.730000"}]}'
30
+ "total_count": 2}, "objects": [{"category": 0, "code": 200, "content_type":
31
+ "application/octet-stream", "created": "2012-07-14T15:17:48.534000", "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
+ 0, "number_of_models": 0, "number_of_predictions": 0, "private": true, "resource":
40
+ "source/50018d9c1552681ee4000009", "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": 91, "message": "The source has been created"}, "tags":
45
+ [], "type": 0, "updated": "2012-07-14T15:16:50.772000"}, {"category": 0, "code":
46
+ 200, "content_type": "application/octet-stream", "created": "2012-07-14T15:16:52.914000",
47
+ "credits": 0.0, "description": "", "dev": true, "fields": {"000000": {"column_number":
48
+ 0, "name": "sepal length", "optype": "numeric"}, "000001": {"column_number":
49
+ 1, "name": "sepal width", "optype": "numeric"}, "000002": {"column_number":
50
+ 2, "name": "petal length", "optype": "numeric"}, "000003": {"column_number":
51
+ 3, "name": "petal width", "optype": "numeric"}, "000004": {"column_number":
52
+ 4, "name": "species", "optype": "categorical"}}, "file_name": "iris.csv",
53
+ "md5": "d1175c032e1042bec7f974c91e4a65ae", "name": "iris.csv", "number_of_datasets":
54
+ 1, "number_of_models": 0, "number_of_predictions": 0, "private": true, "resource":
55
+ "source/50018d64035d07405900001c", "size": 4608, "source_parser": {"header":
56
+ true, "locale": "en_US", "missing_tokens": ["", "N/A", "n/a", "NULL", "null",
57
+ "-", "#DIV/0", "#REF!", "#NAME?", "NIL", "nil", "NA", "na", "#VALUE!", "#NULL!",
58
+ "NaN", "#N/A", "#NUM!", "?"], "quote": "\"", "separator": ","}, "status":
59
+ {"code": 5, "elapsed": 142, "message": "The source has been created"}, "tags":
60
+ [], "type": 0, "updated": "2012-07-14T15:17:59.155000"}]}'
61
+ http_version: '1.1'
62
+ recorded_at: Sat, 14 Jul 2012 15:17:24 GMT
63
+ - request:
64
+ method: delete
65
+ uri: https://bigml.io/dev/andromeda/source/50018d9c1552681ee4000009?username=<USERNAME>&api_key=<API_KEY>
66
+ body:
67
+ encoding: US-ASCII
68
+ string: ''
69
+ headers:
70
+ connection:
71
+ - close
72
+ response:
73
+ status:
74
+ code: 204
75
+ message: NO CONTENT
76
+ headers:
77
+ content-length:
78
+ - '0'
79
+ content-type:
80
+ - text/html; charset=utf-8
81
+ date:
82
+ - Sat, 14 Jul 2012 15:11:24 GMT
83
+ server:
84
+ - nginx/1.0.12
85
+ connection:
86
+ - Close
87
+ body:
88
+ encoding: US-ASCII
89
+ string: ''
45
90
  http_version: '1.1'
46
- recorded_at: Thu, 28 Jun 2012 22:24:24 GMT
91
+ recorded_at: Sat, 14 Jul 2012 15:17:27 GMT
47
92
  - request:
48
93
  method: delete
49
- uri: https://bigml.io/andromeda/source/4fecd9a215526875f50032f1?username=<USERNAME>&api_key=<API_KEY>
94
+ uri: https://bigml.io/dev/andromeda/source/50018d64035d07405900001c?username=<USERNAME>&api_key=<API_KEY>
50
95
  body:
51
96
  encoding: US-ASCII
52
97
  string: ''
@@ -63,7 +108,7 @@ http_interactions:
63
108
  content-type:
64
109
  - text/html; charset=utf-8
65
110
  date:
66
- - Thu, 28 Jun 2012 22:22:13 GMT
111
+ - Sat, 14 Jul 2012 15:16:28 GMT
67
112
  server:
68
113
  - nginx/1.0.12
69
114
  connection:
@@ -72,10 +117,10 @@ http_interactions:
72
117
  encoding: US-ASCII
73
118
  string: ''
74
119
  http_version: '1.1'
75
- recorded_at: Thu, 28 Jun 2012 22:24:26 GMT
120
+ recorded_at: Sat, 14 Jul 2012 15:17:31 GMT
76
121
  - request:
77
122
  method: get
78
- uri: https://bigml.io/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
123
+ uri: https://bigml.io/dev/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
79
124
  body:
80
125
  encoding: US-ASCII
81
126
  string: ''
@@ -90,29 +135,29 @@ http_interactions:
90
135
  content-type:
91
136
  - application/json; charset=utf-8
92
137
  date:
93
- - Thu, 28 Jun 2012 22:19:41 GMT
138
+ - Sat, 14 Jul 2012 15:11:29 GMT
94
139
  server:
95
140
  - nginx/1.0.12
96
141
  content-length:
97
- - '704'
142
+ - '717'
98
143
  connection:
99
144
  - Close
100
145
  body:
101
146
  encoding: US-ASCII
102
147
  string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
103
148
  "total_count": 1}, "objects": [{"category": 0, "code": 200, "columns": 5,
104
- "created": "2012-06-28T22:23:48.725000", "credits": 0.00439453125, "description":
105
- "", "locale": "en_US", "name": "iris'' dataset", "number_of_models": 0, "number_of_predictions":
106
- 0, "private": true, "resource": "dataset/4fecd974035d0741f400329b", "rows":
107
- 150, "size": 4608, "source": "source/4fecd9a215526875f50032f1", "source_status":
108
- false, "status": {"bytes": 4608, "code": 5, "elapsed": 130, "field_errors":
149
+ "created": "2012-07-14T15:17:59.150000", "credits": 0.00439453125, "description":
150
+ "", "dev": true, "locale": "en_US", "name": "iris'' dataset", "number_of_models":
151
+ 0, "number_of_predictions": 0, "private": true, "resource": "dataset/50018da71552681edf000008",
152
+ "rows": 150, "size": 4608, "source": "source/50018d64035d07405900001c", "source_status":
153
+ false, "status": {"bytes": 4608, "code": 5, "elapsed": 132, "field_errors":
109
154
  [], "message": "The dataset has been created", "row_format_errors": [], "serialized_rows":
110
- 150}, "tags": [], "updated": "2012-06-28T22:23:50.319000"}]}'
155
+ 150}, "tags": [], "updated": "2012-07-14T15:18:00.681000"}]}'
111
156
  http_version: '1.1'
112
- recorded_at: Thu, 28 Jun 2012 22:24:27 GMT
157
+ recorded_at: Sat, 14 Jul 2012 15:17:32 GMT
113
158
  - request:
114
159
  method: delete
115
- uri: https://bigml.io/andromeda/dataset/4fecd974035d0741f400329b?username=<USERNAME>&api_key=<API_KEY>
160
+ uri: https://bigml.io/dev/andromeda/dataset/50018da71552681edf000008?username=<USERNAME>&api_key=<API_KEY>
116
161
  body:
117
162
  encoding: US-ASCII
118
163
  string: ''
@@ -129,7 +174,7 @@ http_interactions:
129
174
  content-type:
130
175
  - text/html; charset=utf-8
131
176
  date:
132
- - Thu, 28 Jun 2012 22:22:16 GMT
177
+ - Sat, 14 Jul 2012 15:16:33 GMT
133
178
  server:
134
179
  - nginx/1.0.12
135
180
  connection:
@@ -138,10 +183,10 @@ http_interactions:
138
183
  encoding: US-ASCII
139
184
  string: ''
140
185
  http_version: '1.1'
141
- recorded_at: Thu, 28 Jun 2012 22:24:30 GMT
186
+ recorded_at: Sat, 14 Jul 2012 15:17:36 GMT
142
187
  - request:
143
188
  method: post
144
- uri: https://bigml.io/andromeda/source
189
+ uri: https://bigml.io/dev/andromeda/source
145
190
  body:
146
191
  encoding: US-ASCII
147
192
  string: ''
@@ -149,7 +194,7 @@ http_interactions:
149
194
  content-type:
150
195
  - multipart/form-data; boundary=-----------RubyMultipartPost
151
196
  content-length:
152
- - '5147'
197
+ - '5149'
153
198
  connection:
154
199
  - close
155
200
  response:
@@ -160,33 +205,33 @@ http_interactions:
160
205
  content-type:
161
206
  - application/json; charset=utf-8
162
207
  date:
163
- - Thu, 28 Jun 2012 22:19:45 GMT
208
+ - Sat, 14 Jul 2012 15:11:35 GMT
164
209
  location:
165
- - http://bigml.io/andromeda/source/4fecd9b015526875f800331a
210
+ - http://bigml.io/andromeda/source/50018d77035d074059000020
166
211
  server:
167
212
  - nginx/1.0.12
168
213
  content-length:
169
- - '567'
214
+ - '580'
170
215
  connection:
171
216
  - Close
172
217
  body:
173
218
  encoding: US-ASCII
174
219
  string: ! '{"category": 0, "code": 201, "content_type": "application/octet-stream",
175
- "created": "2012-06-28T22:24:48.027091", "credits": 0.0, "description": "",
176
- "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae", "name":
177
- "iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
178
- 0, "private": true, "resource": "source/4fecd9b015526875f800331a", "size":
220
+ "created": "2012-07-14T15:17:11.468195", "credits": 0.0, "description": "",
221
+ "dev": true, "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae",
222
+ "name": "iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
223
+ 0, "private": true, "resource": "source/50018d77035d074059000020", "size":
179
224
  4608, "source_parser": {}, "status": {"code": 1, "message": "The request has
180
225
  been queued and will be processed soon"}, "tags": [], "type": 0, "updated":
181
- "2012-06-28T22:24:48.027113"}'
226
+ "2012-07-14T15:17:11.468223"}'
182
227
  http_version: '1.1'
183
- recorded_at: Thu, 28 Jun 2012 22:24:31 GMT
228
+ recorded_at: Sat, 14 Jul 2012 15:17:39 GMT
184
229
  - request:
185
230
  method: post
186
- uri: https://bigml.io/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
231
+ uri: https://bigml.io/dev/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
187
232
  body:
188
233
  encoding: UTF-8
189
- string: ! '{"source":"source/4fecd9b015526875f800331a"}'
234
+ string: ! '{"source":"source/50018d77035d074059000020"}'
190
235
  headers:
191
236
  content-type:
192
237
  - application/json
@@ -200,34 +245,34 @@ http_interactions:
200
245
  content-type:
201
246
  - application/json; charset=utf-8
202
247
  date:
203
- - Thu, 28 Jun 2012 22:22:20 GMT
248
+ - Sat, 14 Jul 2012 15:16:37 GMT
204
249
  location:
205
- - http://bigml.io/andromeda/dataset/4fecd9b115526875f9003286
250
+ - http://bigml.io/andromeda/dataset/50018db91552681edf00000d
206
251
  server:
207
252
  - nginx/1.0.12
208
253
  content-length:
209
- - '921'
254
+ - '934'
210
255
  connection:
211
256
  - Close
212
257
  body:
213
258
  encoding: US-ASCII
214
- string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-06-28T22:24:49.730013",
215
- "credits": 0.00439453125, "description": "", "fields": {"000000": {"column_number":
216
- 0, "name": "sepal length", "optype": "numeric"}, "000001": {"column_number":
217
- 1, "name": "sepal width", "optype": "numeric"}, "000002": {"column_number":
218
- 2, "name": "petal length", "optype": "numeric"}, "000003": {"column_number":
219
- 3, "name": "petal width", "optype": "numeric"}, "000004": {"column_number":
220
- 4, "name": "species", "optype": "categorical"}}, "locale": "en_US", "name":
221
- "iris'' dataset", "number_of_models": 0, "number_of_predictions": 0, "private":
222
- true, "resource": "dataset/4fecd9b115526875f9003286", "rows": 0, "size": 4608,
223
- "source": "source/4fecd9b015526875f800331a", "source_status": true, "status":
224
- {"code": 1, "message": "The dataset is being processed and will be created
225
- soon"}, "tags": [], "updated": "2012-06-28T22:24:49.730031"}'
259
+ string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-07-14T15:18:17.629117",
260
+ "credits": 0.00439453125, "description": "", "dev": true, "fields": {"000000":
261
+ {"column_number": 0, "name": "sepal length", "optype": "numeric"}, "000001":
262
+ {"column_number": 1, "name": "sepal width", "optype": "numeric"}, "000002":
263
+ {"column_number": 2, "name": "petal length", "optype": "numeric"}, "000003":
264
+ {"column_number": 3, "name": "petal width", "optype": "numeric"}, "000004":
265
+ {"column_number": 4, "name": "species", "optype": "categorical"}}, "locale":
266
+ "en_US", "name": "iris'' dataset", "number_of_models": 0, "number_of_predictions":
267
+ 0, "private": true, "resource": "dataset/50018db91552681edf00000d", "rows":
268
+ 0, "size": 4608, "source": "source/50018d77035d074059000020", "source_status":
269
+ true, "status": {"code": 1, "message": "The dataset is being processed and
270
+ will be created soon"}, "tags": [], "updated": "2012-07-14T15:18:17.629145"}'
226
271
  http_version: '1.1'
227
- recorded_at: Thu, 28 Jun 2012 22:24:33 GMT
272
+ recorded_at: Sat, 14 Jul 2012 15:17:40 GMT
228
273
  - request:
229
274
  method: get
230
- uri: https://bigml.io/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
275
+ uri: https://bigml.io/dev/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
231
276
  body:
232
277
  encoding: US-ASCII
233
278
  string: ''
@@ -242,24 +287,24 @@ http_interactions:
242
287
  content-type:
243
288
  - application/json; charset=utf-8
244
289
  date:
245
- - Thu, 28 Jun 2012 22:19:48 GMT
290
+ - Sat, 14 Jul 2012 15:11:39 GMT
246
291
  server:
247
292
  - nginx/1.0.12
248
293
  content-length:
249
- - '703'
294
+ - '716'
250
295
  connection:
251
296
  - Close
252
297
  body:
253
298
  encoding: US-ASCII
254
299
  string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
255
300
  "total_count": 1}, "objects": [{"category": 0, "code": 200, "columns": 5,
256
- "created": "2012-06-28T22:24:49.730000", "credits": 0.00439453125, "description":
257
- "", "locale": "en_US", "name": "iris'' dataset", "number_of_models": 0, "number_of_predictions":
258
- 0, "private": true, "resource": "dataset/4fecd9b115526875f9003286", "rows":
259
- 150, "size": 4608, "source": "source/4fecd9b015526875f800331a", "source_status":
260
- true, "status": {"bytes": 4608, "code": 5, "elapsed": 116, "field_errors":
301
+ "created": "2012-07-14T15:18:17.629000", "credits": 0.00439453125, "description":
302
+ "", "dev": true, "locale": "en_US", "name": "iris'' dataset", "number_of_models":
303
+ 0, "number_of_predictions": 0, "private": true, "resource": "dataset/50018db91552681edf00000d",
304
+ "rows": 150, "size": 4608, "source": "source/50018d77035d074059000020", "source_status":
305
+ true, "status": {"bytes": 4608, "code": 5, "elapsed": 177, "field_errors":
261
306
  [], "message": "The dataset has been created", "row_format_errors": [], "serialized_rows":
262
- 150}, "tags": [], "updated": "2012-06-28T22:24:49.815000"}]}'
307
+ 150}, "tags": [], "updated": "2012-07-14T15:18:17.683000"}]}'
263
308
  http_version: '1.1'
264
- recorded_at: Thu, 28 Jun 2012 22:24:35 GMT
309
+ recorded_at: Sat, 14 Jul 2012 15:17:42 GMT
265
310
  recorded_with: VCR 2.2.2
@@ -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,7 +17,7 @@ http_interactions:
17
17
  content-type:
18
18
  - application/json; charset=utf-8
19
19
  date:
20
- - Thu, 28 Jun 2012 22:21:47 GMT
20
+ - Sat, 14 Jul 2012 15:11:06 GMT
21
21
  server:
22
22
  - nginx/1.0.12
23
23
  content-length:
@@ -29,10 +29,10 @@ http_interactions:
29
29
  string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
30
30
  "total_count": 0}, "objects": []}'
31
31
  http_version: '1.1'
32
- recorded_at: Thu, 28 Jun 2012 22:24:00 GMT
32
+ recorded_at: Sat, 14 Jul 2012 15:17:09 GMT
33
33
  - request:
34
34
  method: get
35
- uri: https://bigml.io/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
35
+ uri: https://bigml.io/dev/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
36
36
  body:
37
37
  encoding: US-ASCII
38
38
  string: ''
@@ -47,7 +47,7 @@ http_interactions:
47
47
  content-type:
48
48
  - application/json; charset=utf-8
49
49
  date:
50
- - Thu, 28 Jun 2012 22:19:15 GMT
50
+ - Sat, 14 Jul 2012 15:16:07 GMT
51
51
  server:
52
52
  - nginx/1.0.12
53
53
  content-length:
@@ -59,10 +59,10 @@ http_interactions:
59
59
  string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
60
60
  "total_count": 0}, "objects": []}'
61
61
  http_version: '1.1'
62
- recorded_at: Thu, 28 Jun 2012 22:24:02 GMT
62
+ recorded_at: Sat, 14 Jul 2012 15:17:10 GMT
63
63
  - request:
64
64
  method: post
65
- uri: https://bigml.io/andromeda/source
65
+ uri: https://bigml.io/dev/andromeda/source
66
66
  body:
67
67
  encoding: US-ASCII
68
68
  string: ''
@@ -70,7 +70,7 @@ http_interactions:
70
70
  content-type:
71
71
  - multipart/form-data; boundary=-----------RubyMultipartPost
72
72
  content-length:
73
- - '5147'
73
+ - '5149'
74
74
  connection:
75
75
  - close
76
76
  response:
@@ -81,33 +81,33 @@ http_interactions:
81
81
  content-type:
82
82
  - application/json; charset=utf-8
83
83
  date:
84
- - Thu, 28 Jun 2012 22:21:50 GMT
84
+ - Sat, 14 Jul 2012 15:11:08 GMT
85
85
  location:
86
- - http://bigml.io/andromeda/source/4fecd963035d0741ed0032f2
86
+ - http://bigml.io/andromeda/source/50018d9c1552681ee4000009
87
87
  server:
88
88
  - nginx/1.0.12
89
- content-length:
90
- - '567'
89
+ transfer-encoding:
90
+ - chunked
91
91
  connection:
92
92
  - Close
93
93
  body:
94
94
  encoding: US-ASCII
95
95
  string: ! '{"category": 0, "code": 201, "content_type": "application/octet-stream",
96
- "created": "2012-06-28T22:23:31.187184", "credits": 0.0, "description": "",
97
- "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae", "name":
98
- "iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
99
- 0, "private": true, "resource": "source/4fecd963035d0741ed0032f2", "size":
96
+ "created": "2012-07-14T15:17:48.534400", "credits": 0.0, "description": "",
97
+ "dev": true, "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae",
98
+ "name": "iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
99
+ 0, "private": true, "resource": "source/50018d9c1552681ee4000009", "size":
100
100
  4608, "source_parser": {}, "status": {"code": 1, "message": "The request has
101
101
  been queued and will be processed soon"}, "tags": [], "type": 0, "updated":
102
- "2012-06-28T22:23:31.187207"}'
102
+ "2012-07-14T15:17:48.534421"}'
103
103
  http_version: '1.1'
104
- recorded_at: Thu, 28 Jun 2012 22:24:03 GMT
104
+ recorded_at: Sat, 14 Jul 2012 15:17:11 GMT
105
105
  - request:
106
106
  method: post
107
- uri: https://bigml.io/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
107
+ uri: https://bigml.io/dev/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
108
108
  body:
109
109
  encoding: UTF-8
110
- string: ! '{"source":"source/4fecd963035d0741ed0032f2"}'
110
+ string: ! '{"source":"source/50018d9c1552681ee4000009"}'
111
111
  headers:
112
112
  content-type:
113
113
  - application/json
@@ -121,29 +121,29 @@ http_interactions:
121
121
  content-type:
122
122
  - application/json; charset=utf-8
123
123
  date:
124
- - Thu, 28 Jun 2012 22:19:19 GMT
124
+ - Sat, 14 Jul 2012 15:16:10 GMT
125
125
  location:
126
- - http://bigml.io/andromeda/dataset/4fecd99515526875f3003330
126
+ - http://bigml.io/andromeda/dataset/50018d5d035d07405900001a
127
127
  server:
128
128
  - nginx/1.0.12
129
129
  content-length:
130
- - '921'
130
+ - '934'
131
131
  connection:
132
132
  - Close
133
133
  body:
134
134
  encoding: US-ASCII
135
- string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-06-28T22:24:21.804642",
136
- "credits": 0.00439453125, "description": "", "fields": {"000000": {"column_number":
137
- 0, "name": "sepal length", "optype": "numeric"}, "000001": {"column_number":
138
- 1, "name": "sepal width", "optype": "numeric"}, "000002": {"column_number":
139
- 2, "name": "petal length", "optype": "numeric"}, "000003": {"column_number":
140
- 3, "name": "petal width", "optype": "numeric"}, "000004": {"column_number":
141
- 4, "name": "species", "optype": "categorical"}}, "locale": "en_US", "name":
142
- "iris'' dataset", "number_of_models": 0, "number_of_predictions": 0, "private":
143
- true, "resource": "dataset/4fecd99515526875f3003330", "rows": 0, "size": 4608,
144
- "source": "source/4fecd963035d0741ed0032f2", "source_status": true, "status":
145
- {"code": 1, "message": "The dataset is being processed and will be created
146
- soon"}, "tags": [], "updated": "2012-06-28T22:24:21.804660"}'
135
+ string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-07-14T15:16:45.639647",
136
+ "credits": 0.00439453125, "description": "", "dev": true, "fields": {"000000":
137
+ {"column_number": 0, "name": "sepal length", "optype": "numeric"}, "000001":
138
+ {"column_number": 1, "name": "sepal width", "optype": "numeric"}, "000002":
139
+ {"column_number": 2, "name": "petal length", "optype": "numeric"}, "000003":
140
+ {"column_number": 3, "name": "petal width", "optype": "numeric"}, "000004":
141
+ {"column_number": 4, "name": "species", "optype": "categorical"}}, "locale":
142
+ "en_US", "name": "iris'' dataset", "number_of_models": 0, "number_of_predictions":
143
+ 0, "private": true, "resource": "dataset/50018d5d035d07405900001a", "rows":
144
+ 0, "size": 4608, "source": "source/50018d9c1552681ee4000009", "source_status":
145
+ true, "status": {"code": 1, "message": "The dataset is being processed and
146
+ will be created soon"}, "tags": [], "updated": "2012-07-14T15:16:45.639671"}'
147
147
  http_version: '1.1'
148
- recorded_at: Thu, 28 Jun 2012 22:24:05 GMT
148
+ recorded_at: Sat, 14 Jul 2012 15:17:13 GMT
149
149
  recorded_with: VCR 2.2.2