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:20:35 GMT
20
+ - Sat, 14 Jul 2012 15:12:06 GMT
21
21
  server:
22
22
  - nginx/1.0.12
23
23
  content-length:
24
- - '1280'
24
+ - '1294'
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:24:40.356000", "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/4fecd9a8035d0741f000334c", "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": 64, "message": "The
44
- source has been created"}, "tags": [], "type": 0, "updated": "2012-06-28T22:24:42.260000"}]}'
31
+ "application/octet-stream", "created": "2012-07-14T15:18:40.366000", "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": 0, "number_of_predictions": 0, "private": true, "resource":
40
+ "source/50018dd01552681edf00000f", "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": 293, "message": "The source has been created"}, "tags":
45
+ [], "type": 0, "updated": "2012-07-14T15:17:38.135000"}]}'
45
46
  http_version: '1.1'
46
- recorded_at: Thu, 28 Jun 2012 22:25:22 GMT
47
+ recorded_at: Sat, 14 Jul 2012 15:18:09 GMT
47
48
  - request:
48
49
  method: delete
49
- uri: https://bigml.io/andromeda/source/4fecd9a8035d0741f000334c?username=<USERNAME>&api_key=<API_KEY>
50
+ uri: https://bigml.io/dev/andromeda/source/50018dd01552681edf00000f?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:23:11 GMT
67
+ - Sat, 14 Jul 2012 15:17:09 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:25:24 GMT
76
+ recorded_at: Sat, 14 Jul 2012 15:18:12 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:20:39 GMT
94
+ - Sat, 14 Jul 2012 15:12:10 GMT
94
95
  server:
95
96
  - nginx/1.0.12
96
97
  content-length:
97
- - '699'
98
+ - '712'
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:24:42.255000", "credits": 0.00439453125, "description":
105
- "", "locale": "en_US", "name": "foo name", "number_of_models": 0, "number_of_predictions":
106
- 0, "private": true, "resource": "dataset/4fecd9aa035d0741f000334f", "rows":
107
- 150, "size": 4608, "source": "source/4fecd9a8035d0741f000334c", "source_status":
108
- false, "status": {"bytes": 4608, "code": 5, "elapsed": 225, "field_errors":
105
+ "created": "2012-07-14T15:17:38.129000", "credits": 0.00439453125, "description":
106
+ "", "dev": true, "locale": "en_US", "name": "foo name", "number_of_models":
107
+ 0, "number_of_predictions": 0, "private": true, "resource": "dataset/50018d92035d074059000026",
108
+ "rows": 150, "size": 4608, "source": "source/50018dd01552681edf00000f", "source_status":
109
+ false, "status": {"bytes": 4608, "code": 5, "elapsed": 117, "field_errors":
109
110
  [], "message": "The dataset has been created", "row_format_errors": [], "serialized_rows":
110
- 150}, "tags": [], "updated": "2012-06-28T22:25:35.860000"}]}'
111
+ 150}, "tags": [], "updated": "2012-07-14T15:17:40.015000"}]}'
111
112
  http_version: '1.1'
112
- recorded_at: Thu, 28 Jun 2012 22:25:26 GMT
113
+ recorded_at: Sat, 14 Jul 2012 15:18:13 GMT
113
114
  - request:
114
115
  method: delete
115
- uri: https://bigml.io/andromeda/dataset/4fecd9aa035d0741f000334f?username=<USERNAME>&api_key=<API_KEY>
116
+ uri: https://bigml.io/dev/andromeda/dataset/50018d92035d074059000026?username=<USERNAME>&api_key=<API_KEY>
116
117
  body:
117
118
  encoding: US-ASCII
118
119
  string: ''
@@ -129,7 +130,7 @@ http_interactions:
129
130
  content-type:
130
131
  - text/html; charset=utf-8
131
132
  date:
132
- - Thu, 28 Jun 2012 22:23:15 GMT
133
+ - Sat, 14 Jul 2012 15:17:14 GMT
133
134
  server:
134
135
  - nginx/1.0.12
135
136
  connection:
@@ -138,10 +139,10 @@ http_interactions:
138
139
  encoding: US-ASCII
139
140
  string: ''
140
141
  http_version: '1.1'
141
- recorded_at: Thu, 28 Jun 2012 22:25:28 GMT
142
+ recorded_at: Sat, 14 Jul 2012 15:18:17 GMT
142
143
  - request:
143
144
  method: post
144
- uri: https://bigml.io/andromeda/source
145
+ uri: https://bigml.io/dev/andromeda/source
145
146
  body:
146
147
  encoding: US-ASCII
147
148
  string: ''
@@ -149,7 +150,7 @@ http_interactions:
149
150
  content-type:
150
151
  - multipart/form-data; boundary=-----------RubyMultipartPost
151
152
  content-length:
152
- - '5147'
153
+ - '5149'
153
154
  connection:
154
155
  - close
155
156
  response:
@@ -160,33 +161,33 @@ http_interactions:
160
161
  content-type:
161
162
  - application/json; charset=utf-8
162
163
  date:
163
- - Thu, 28 Jun 2012 22:20:43 GMT
164
+ - Sat, 14 Jul 2012 15:12:16 GMT
164
165
  location:
165
- - http://bigml.io/andromeda/source/4fecd9b9035d0741f0003352
166
+ - http://bigml.io/andromeda/source/50018ddf1552681d68000015
166
167
  server:
167
168
  - nginx/1.0.12
168
169
  content-length:
169
- - '567'
170
+ - '580'
170
171
  connection:
171
172
  - Close
172
173
  body:
173
174
  encoding: US-ASCII
174
175
  string: ! '{"category": 0, "code": 201, "content_type": "application/octet-stream",
175
- "created": "2012-06-28T22:24:57.636386", "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/4fecd9b9035d0741f0003352", "size":
176
+ "created": "2012-07-14T15:18:55.940358", "credits": 0.0, "description": "",
177
+ "dev": true, "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae",
178
+ "name": "iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
179
+ 0, "private": true, "resource": "source/50018ddf1552681d68000015", "size":
179
180
  4608, "source_parser": {}, "status": {"code": 1, "message": "The request has
180
181
  been queued and will be processed soon"}, "tags": [], "type": 0, "updated":
181
- "2012-06-28T22:24:57.636408"}'
182
+ "2012-07-14T15:18:55.940379"}'
182
183
  http_version: '1.1'
183
- recorded_at: Thu, 28 Jun 2012 22:25:30 GMT
184
+ recorded_at: Sat, 14 Jul 2012 15:18:19 GMT
184
185
  - request:
185
186
  method: post
186
- uri: https://bigml.io/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
187
+ uri: https://bigml.io/dev/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
187
188
  body:
188
189
  encoding: UTF-8
189
- string: ! '{"source":"source/4fecd9b9035d0741f0003352"}'
190
+ string: ! '{"source":"source/50018ddf1552681d68000015"}'
190
191
  headers:
191
192
  content-type:
192
193
  - application/json
@@ -200,34 +201,34 @@ http_interactions:
200
201
  content-type:
201
202
  - application/json; charset=utf-8
202
203
  date:
203
- - Thu, 28 Jun 2012 22:23:19 GMT
204
+ - Sat, 14 Jul 2012 15:17:17 GMT
204
205
  location:
205
- - http://bigml.io/andromeda/dataset/4fecd9bb035d0741f0003355
206
+ - http://bigml.io/andromeda/dataset/50018da1035d0741ca00000c
206
207
  server:
207
208
  - nginx/1.0.12
208
209
  content-length:
209
- - '921'
210
+ - '934'
210
211
  connection:
211
212
  - Close
212
213
  body:
213
214
  encoding: US-ASCII
214
- string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-06-28T22:24:59.321555",
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/4fecd9bb035d0741f0003355", "rows": 0, "size": 4608,
223
- "source": "source/4fecd9b9035d0741f0003352", "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:59.321577"}'
215
+ string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-07-14T15:17:53.472671",
216
+ "credits": 0.00439453125, "description": "", "dev": true, "fields": {"000000":
217
+ {"column_number": 0, "name": "sepal length", "optype": "numeric"}, "000001":
218
+ {"column_number": 1, "name": "sepal width", "optype": "numeric"}, "000002":
219
+ {"column_number": 2, "name": "petal length", "optype": "numeric"}, "000003":
220
+ {"column_number": 3, "name": "petal width", "optype": "numeric"}, "000004":
221
+ {"column_number": 4, "name": "species", "optype": "categorical"}}, "locale":
222
+ "en_US", "name": "iris'' dataset", "number_of_models": 0, "number_of_predictions":
223
+ 0, "private": true, "resource": "dataset/50018da1035d0741ca00000c", "rows":
224
+ 0, "size": 4608, "source": "source/50018ddf1552681d68000015", "source_status":
225
+ true, "status": {"code": 1, "message": "The dataset is being processed and
226
+ will be created soon"}, "tags": [], "updated": "2012-07-14T15:17:53.472690"}'
226
227
  http_version: '1.1'
227
- recorded_at: Thu, 28 Jun 2012 22:25:32 GMT
228
+ recorded_at: Sat, 14 Jul 2012 15:18:20 GMT
228
229
  - request:
229
230
  method: put
230
- uri: https://bigml.io/andromeda/dataset/4fecd9bb035d0741f0003355?username=<USERNAME>&api_key=<API_KEY>
231
+ uri: https://bigml.io/dev/andromeda/dataset/50018da1035d0741ca00000c?username=<USERNAME>&api_key=<API_KEY>
231
232
  body:
232
233
  encoding: UTF-8
233
234
  string: ! '{"name":"foo name"}'
@@ -244,57 +245,57 @@ http_interactions:
244
245
  content-type:
245
246
  - application/json; charset=utf-8
246
247
  date:
247
- - Thu, 28 Jun 2012 22:20:47 GMT
248
+ - Sat, 14 Jul 2012 15:12:20 GMT
248
249
  server:
249
250
  - nginx/1.0.12
250
251
  content-length:
251
- - '2921'
252
+ - '2934'
252
253
  connection:
253
254
  - Close
254
255
  body:
255
256
  encoding: US-ASCII
256
- string: ! '{"category": 0, "code": 202, "columns": 5, "created": "2012-06-28T22:24:59.321000",
257
- "credits": 0.00439453125, "description": "", "fields": {"000000": {"column_number":
258
- 0, "datatype": "double", "name": "sepal length", "optype": "numeric", "preferred":
259
- true, "summary": {"maximum": 7.9, "median": 5.77889, "minimum": 4.3, "missing_count":
260
- 0, "population": 150, "splits": [4.51526, 4.67252, 4.81113, 4.89582, 4.96139,
261
- 5.01131, 5.05992, 5.11148, 5.18177, 5.35681, 5.44129, 5.5108, 5.58255, 5.65532,
262
- 5.71658, 5.77889, 5.85381, 5.97078, 6.05104, 6.13074, 6.23023, 6.29578, 6.35078,
263
- 6.41459, 6.49383, 6.63013, 6.70719, 6.79218, 6.92597, 7.20423, 7.64746], "sum":
264
- 876.5, "sum_squares": 5223.85}}, "000001": {"column_number": 1, "datatype":
265
- "double", "name": "sepal width", "optype": "numeric", "preferred": true, "summary":
266
- {"counts": [[2, 1], [2.2, 3], [2.3, 4], [2.4, 3], [2.5, 8], [2.6, 5], [2.7,
267
- 9], [2.8, 14], [2.9, 10], [3, 26], [3.1, 11], [3.2, 13], [3.3, 6], [3.4, 12],
268
- [3.5, 6], [3.6, 4], [3.7, 3], [3.8, 6], [3.9, 2], [4, 1], [4.1, 1], [4.2,
269
- 1], [4.4, 1]], "maximum": 4.4, "median": 3.02044, "minimum": 2, "missing_count":
270
- 0, "population": 150, "sum": 458.6, "sum_squares": 1430.4}}, "000002": {"column_number":
271
- 2, "datatype": "double", "name": "petal length", "optype": "numeric", "preferred":
272
- true, "summary": {"maximum": 6.9, "median": 4.34142, "minimum": 1, "missing_count":
273
- 0, "population": 150, "splits": [1.25138, 1.32426, 1.37171, 1.40962, 1.44567,
274
- 1.48173, 1.51859, 1.56301, 1.6255, 1.74645, 3.23033, 3.675, 3.94203, 4.0469,
275
- 4.18243, 4.34142, 4.45309, 4.51823, 4.61771, 4.72566, 4.83445, 4.93363, 5.03807,
276
- 5.1064, 5.20938, 5.43979, 5.5744, 5.6646, 5.81496, 6.02913, 6.38125], "sum":
277
- 563.7, "sum_squares": 2582.71}}, "000003": {"column_number": 3, "datatype":
278
- "double", "name": "petal width", "optype": "numeric", "preferred": true, "summary":
279
- {"counts": [[0.1, 5], [0.2, 29], [0.3, 7], [0.4, 7], [0.5, 1], [0.6, 1], [1,
280
- 7], [1.1, 3], [1.2, 5], [1.3, 13], [1.4, 8], [1.5, 12], [1.6, 4], [1.7, 2],
281
- [1.8, 12], [1.9, 5], [2, 6], [2.1, 6], [2.2, 3], [2.3, 8], [2.4, 3], [2.5,
282
- 3]], "maximum": 2.5, "median": 1.32848, "minimum": 0.1, "missing_count": 0,
283
- "population": 150, "sum": 179.9, "sum_squares": 302.33}}, "000004": {"column_number":
284
- 4, "datatype": "string", "name": "species", "optype": "categorical", "preferred":
285
- true, "summary": {"categories": [["Iris-versicolor", 50], ["Iris-setosa",
286
- 50], ["Iris-virginica", 50]], "missing_count": 0}}}, "locale": "en_US", "name":
287
- "foo name", "number_of_models": 0, "number_of_predictions": 0, "private":
288
- true, "resource": "dataset/4fecd9bb035d0741f0003355", "rows": 150, "size":
289
- 4608, "source": "source/4fecd9b9035d0741f0003352", "source_status": true,
290
- "status": {"bytes": 4608, "code": 5, "elapsed": 245, "field_errors": [], "message":
291
- "The dataset has been created", "row_format_errors": [], "serialized_rows":
292
- 150}, "tags": [], "updated": "2012-06-28T22:25:49.797161"}'
257
+ string: ! '{"category": 0, "code": 202, "columns": 5, "created": "2012-07-14T15:17:53.472000",
258
+ "credits": 0.00439453125, "description": "", "dev": true, "fields": {"000000":
259
+ {"column_number": 0, "datatype": "double", "name": "sepal length", "optype":
260
+ "numeric", "preferred": true, "summary": {"maximum": 7.9, "median": 5.77889,
261
+ "minimum": 4.3, "missing_count": 0, "population": 150, "splits": [4.51526,
262
+ 4.67252, 4.81113, 4.89582, 4.96139, 5.01131, 5.05992, 5.11148, 5.18177, 5.35681,
263
+ 5.44129, 5.5108, 5.58255, 5.65532, 5.71658, 5.77889, 5.85381, 5.97078, 6.05104,
264
+ 6.13074, 6.23023, 6.29578, 6.35078, 6.41459, 6.49383, 6.63013, 6.70719, 6.79218,
265
+ 6.92597, 7.20423, 7.64746], "sum": 876.5, "sum_squares": 5223.85}}, "000001":
266
+ {"column_number": 1, "datatype": "double", "name": "sepal width", "optype":
267
+ "numeric", "preferred": true, "summary": {"counts": [[2, 1], [2.2, 3], [2.3,
268
+ 4], [2.4, 3], [2.5, 8], [2.6, 5], [2.7, 9], [2.8, 14], [2.9, 10], [3, 26],
269
+ [3.1, 11], [3.2, 13], [3.3, 6], [3.4, 12], [3.5, 6], [3.6, 4], [3.7, 3], [3.8,
270
+ 6], [3.9, 2], [4, 1], [4.1, 1], [4.2, 1], [4.4, 1]], "maximum": 4.4, "median":
271
+ 3.02044, "minimum": 2, "missing_count": 0, "population": 150, "sum": 458.6,
272
+ "sum_squares": 1430.4}}, "000002": {"column_number": 2, "datatype": "double",
273
+ "name": "petal length", "optype": "numeric", "preferred": true, "summary":
274
+ {"maximum": 6.9, "median": 4.34142, "minimum": 1, "missing_count": 0, "population":
275
+ 150, "splits": [1.25138, 1.32426, 1.37171, 1.40962, 1.44567, 1.48173, 1.51859,
276
+ 1.56301, 1.6255, 1.74645, 3.23033, 3.675, 3.94203, 4.0469, 4.18243, 4.34142,
277
+ 4.45309, 4.51823, 4.61771, 4.72566, 4.83445, 4.93363, 5.03807, 5.1064, 5.20938,
278
+ 5.43979, 5.5744, 5.6646, 5.81496, 6.02913, 6.38125], "sum": 563.7, "sum_squares":
279
+ 2582.71}}, "000003": {"column_number": 3, "datatype": "double", "name": "petal
280
+ width", "optype": "numeric", "preferred": true, "summary": {"counts": [[0.1,
281
+ 5], [0.2, 29], [0.3, 7], [0.4, 7], [0.5, 1], [0.6, 1], [1, 7], [1.1, 3], [1.2,
282
+ 5], [1.3, 13], [1.4, 8], [1.5, 12], [1.6, 4], [1.7, 2], [1.8, 12], [1.9, 5],
283
+ [2, 6], [2.1, 6], [2.2, 3], [2.3, 8], [2.4, 3], [2.5, 3]], "maximum": 2.5,
284
+ "median": 1.32848, "minimum": 0.1, "missing_count": 0, "population": 150,
285
+ "sum": 179.9, "sum_squares": 302.33}}, "000004": {"column_number": 4, "datatype":
286
+ "string", "name": "species", "optype": "categorical", "preferred": true, "summary":
287
+ {"categories": [["Iris-versicolor", 50], ["Iris-setosa", 50], ["Iris-virginica",
288
+ 50]], "missing_count": 0}}}, "locale": "en_US", "name": "foo name", "number_of_models":
289
+ 0, "number_of_predictions": 0, "private": true, "resource": "dataset/50018da1035d0741ca00000c",
290
+ "rows": 150, "size": 4608, "source": "source/50018ddf1552681d68000015", "source_status":
291
+ true, "status": {"bytes": 4608, "code": 5, "elapsed": 104, "field_errors":
292
+ [], "message": "The dataset has been created", "row_format_errors": [], "serialized_rows":
293
+ 150}, "tags": [], "updated": "2012-07-14T15:17:55.918956"}'
293
294
  http_version: '1.1'
294
- recorded_at: Thu, 28 Jun 2012 22:25:33 GMT
295
+ recorded_at: Sat, 14 Jul 2012 15:18:23 GMT
295
296
  - request:
296
297
  method: get
297
- uri: https://bigml.io/andromeda/dataset/4fecd9bb035d0741f0003355?username=<USERNAME>&api_key=<API_KEY>
298
+ uri: https://bigml.io/dev/andromeda/dataset/50018da1035d0741ca00000c?username=<USERNAME>&api_key=<API_KEY>
298
299
  body:
299
300
  encoding: US-ASCII
300
301
  string: ''
@@ -309,52 +310,52 @@ http_interactions:
309
310
  content-type:
310
311
  - application/json; charset=utf-8
311
312
  date:
312
- - Thu, 28 Jun 2012 22:23:21 GMT
313
+ - Sat, 14 Jul 2012 15:17:21 GMT
313
314
  server:
314
315
  - nginx/1.0.12
315
- content-length:
316
- - '2921'
316
+ transfer-encoding:
317
+ - chunked
317
318
  connection:
318
319
  - Close
319
320
  body:
320
321
  encoding: US-ASCII
321
- string: ! '{"category": 0, "code": 200, "columns": 5, "created": "2012-06-28T22:24:59.321000",
322
- "credits": 0.00439453125, "description": "", "fields": {"000000": {"column_number":
323
- 0, "datatype": "double", "name": "sepal length", "optype": "numeric", "preferred":
324
- true, "summary": {"maximum": 7.9, "median": 5.77889, "minimum": 4.3, "missing_count":
325
- 0, "population": 150, "splits": [4.51526, 4.67252, 4.81113, 4.89582, 4.96139,
326
- 5.01131, 5.05992, 5.11148, 5.18177, 5.35681, 5.44129, 5.5108, 5.58255, 5.65532,
327
- 5.71658, 5.77889, 5.85381, 5.97078, 6.05104, 6.13074, 6.23023, 6.29578, 6.35078,
328
- 6.41459, 6.49383, 6.63013, 6.70719, 6.79218, 6.92597, 7.20423, 7.64746], "sum":
329
- 876.5, "sum_squares": 5223.85}}, "000001": {"column_number": 1, "datatype":
330
- "double", "name": "sepal width", "optype": "numeric", "preferred": true, "summary":
331
- {"counts": [[2, 1], [2.2, 3], [2.3, 4], [2.4, 3], [2.5, 8], [2.6, 5], [2.7,
332
- 9], [2.8, 14], [2.9, 10], [3, 26], [3.1, 11], [3.2, 13], [3.3, 6], [3.4, 12],
333
- [3.5, 6], [3.6, 4], [3.7, 3], [3.8, 6], [3.9, 2], [4, 1], [4.1, 1], [4.2,
334
- 1], [4.4, 1]], "maximum": 4.4, "median": 3.02044, "minimum": 2, "missing_count":
335
- 0, "population": 150, "sum": 458.6, "sum_squares": 1430.4}}, "000002": {"column_number":
336
- 2, "datatype": "double", "name": "petal length", "optype": "numeric", "preferred":
337
- true, "summary": {"maximum": 6.9, "median": 4.34142, "minimum": 1, "missing_count":
338
- 0, "population": 150, "splits": [1.25138, 1.32426, 1.37171, 1.40962, 1.44567,
339
- 1.48173, 1.51859, 1.56301, 1.6255, 1.74645, 3.23033, 3.675, 3.94203, 4.0469,
340
- 4.18243, 4.34142, 4.45309, 4.51823, 4.61771, 4.72566, 4.83445, 4.93363, 5.03807,
341
- 5.1064, 5.20938, 5.43979, 5.5744, 5.6646, 5.81496, 6.02913, 6.38125], "sum":
342
- 563.7, "sum_squares": 2582.71}}, "000003": {"column_number": 3, "datatype":
343
- "double", "name": "petal width", "optype": "numeric", "preferred": true, "summary":
344
- {"counts": [[0.1, 5], [0.2, 29], [0.3, 7], [0.4, 7], [0.5, 1], [0.6, 1], [1,
345
- 7], [1.1, 3], [1.2, 5], [1.3, 13], [1.4, 8], [1.5, 12], [1.6, 4], [1.7, 2],
346
- [1.8, 12], [1.9, 5], [2, 6], [2.1, 6], [2.2, 3], [2.3, 8], [2.4, 3], [2.5,
347
- 3]], "maximum": 2.5, "median": 1.32848, "minimum": 0.1, "missing_count": 0,
348
- "population": 150, "sum": 179.9, "sum_squares": 302.33}}, "000004": {"column_number":
349
- 4, "datatype": "string", "name": "species", "optype": "categorical", "preferred":
350
- true, "summary": {"categories": [["Iris-versicolor", 50], ["Iris-setosa",
351
- 50], ["Iris-virginica", 50]], "missing_count": 0}}}, "locale": "en_US", "name":
352
- "foo name", "number_of_models": 0, "number_of_predictions": 0, "private":
353
- true, "resource": "dataset/4fecd9bb035d0741f0003355", "rows": 150, "size":
354
- 4608, "source": "source/4fecd9b9035d0741f0003352", "source_status": true,
355
- "status": {"bytes": 4608, "code": 5, "elapsed": 245, "field_errors": [], "message":
356
- "The dataset has been created", "row_format_errors": [], "serialized_rows":
357
- 150}, "tags": [], "updated": "2012-06-28T22:25:49.809000"}'
322
+ string: ! '{"category": 0, "code": 200, "columns": 5, "created": "2012-07-14T15:17:53.472000",
323
+ "credits": 0.00439453125, "description": "", "dev": true, "fields": {"000000":
324
+ {"column_number": 0, "datatype": "double", "name": "sepal length", "optype":
325
+ "numeric", "preferred": true, "summary": {"maximum": 7.9, "median": 5.77889,
326
+ "minimum": 4.3, "missing_count": 0, "population": 150, "splits": [4.51526,
327
+ 4.67252, 4.81113, 4.89582, 4.96139, 5.01131, 5.05992, 5.11148, 5.18177, 5.35681,
328
+ 5.44129, 5.5108, 5.58255, 5.65532, 5.71658, 5.77889, 5.85381, 5.97078, 6.05104,
329
+ 6.13074, 6.23023, 6.29578, 6.35078, 6.41459, 6.49383, 6.63013, 6.70719, 6.79218,
330
+ 6.92597, 7.20423, 7.64746], "sum": 876.5, "sum_squares": 5223.85}}, "000001":
331
+ {"column_number": 1, "datatype": "double", "name": "sepal width", "optype":
332
+ "numeric", "preferred": true, "summary": {"counts": [[2, 1], [2.2, 3], [2.3,
333
+ 4], [2.4, 3], [2.5, 8], [2.6, 5], [2.7, 9], [2.8, 14], [2.9, 10], [3, 26],
334
+ [3.1, 11], [3.2, 13], [3.3, 6], [3.4, 12], [3.5, 6], [3.6, 4], [3.7, 3], [3.8,
335
+ 6], [3.9, 2], [4, 1], [4.1, 1], [4.2, 1], [4.4, 1]], "maximum": 4.4, "median":
336
+ 3.02044, "minimum": 2, "missing_count": 0, "population": 150, "sum": 458.6,
337
+ "sum_squares": 1430.4}}, "000002": {"column_number": 2, "datatype": "double",
338
+ "name": "petal length", "optype": "numeric", "preferred": true, "summary":
339
+ {"maximum": 6.9, "median": 4.34142, "minimum": 1, "missing_count": 0, "population":
340
+ 150, "splits": [1.25138, 1.32426, 1.37171, 1.40962, 1.44567, 1.48173, 1.51859,
341
+ 1.56301, 1.6255, 1.74645, 3.23033, 3.675, 3.94203, 4.0469, 4.18243, 4.34142,
342
+ 4.45309, 4.51823, 4.61771, 4.72566, 4.83445, 4.93363, 5.03807, 5.1064, 5.20938,
343
+ 5.43979, 5.5744, 5.6646, 5.81496, 6.02913, 6.38125], "sum": 563.7, "sum_squares":
344
+ 2582.71}}, "000003": {"column_number": 3, "datatype": "double", "name": "petal
345
+ width", "optype": "numeric", "preferred": true, "summary": {"counts": [[0.1,
346
+ 5], [0.2, 29], [0.3, 7], [0.4, 7], [0.5, 1], [0.6, 1], [1, 7], [1.1, 3], [1.2,
347
+ 5], [1.3, 13], [1.4, 8], [1.5, 12], [1.6, 4], [1.7, 2], [1.8, 12], [1.9, 5],
348
+ [2, 6], [2.1, 6], [2.2, 3], [2.3, 8], [2.4, 3], [2.5, 3]], "maximum": 2.5,
349
+ "median": 1.32848, "minimum": 0.1, "missing_count": 0, "population": 150,
350
+ "sum": 179.9, "sum_squares": 302.33}}, "000004": {"column_number": 4, "datatype":
351
+ "string", "name": "species", "optype": "categorical", "preferred": true, "summary":
352
+ {"categories": [["Iris-versicolor", 50], ["Iris-setosa", 50], ["Iris-virginica",
353
+ 50]], "missing_count": 0}}}, "locale": "en_US", "name": "foo name", "number_of_models":
354
+ 0, "number_of_predictions": 0, "private": true, "resource": "dataset/50018da1035d0741ca00000c",
355
+ "rows": 150, "size": 4608, "source": "source/50018ddf1552681d68000015", "source_status":
356
+ true, "status": {"bytes": 4608, "code": 5, "elapsed": 104, "field_errors":
357
+ [], "message": "The dataset has been created", "row_format_errors": [], "serialized_rows":
358
+ 150}, "tags": [], "updated": "2012-07-14T15:17:55.934000"}'
358
359
  http_version: '1.1'
359
- recorded_at: Thu, 28 Jun 2012 22:25:34 GMT
360
+ recorded_at: Sat, 14 Jul 2012 15:18:24 GMT
360
361
  recorded_with: VCR 2.2.2