big_ml 0.1.0 → 0.1.1

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 (62) hide show
  1. data/CHANGELOG.md +5 -0
  2. data/README.md +55 -18
  3. data/big_ml.gemspec +1 -0
  4. data/lib/big_ml/base.rb +21 -11
  5. data/lib/big_ml/dataset.rb +10 -4
  6. data/lib/big_ml/model.rb +16 -10
  7. data/lib/big_ml/prediction.rb +6 -4
  8. data/lib/big_ml/source.rb +10 -4
  9. data/lib/big_ml/{authenticable.rb → util/authenticable.rb} +0 -0
  10. data/lib/big_ml/util/client.rb +26 -0
  11. data/lib/big_ml/util/config.rb +32 -0
  12. data/lib/big_ml/{request.rb → util/request.rb} +0 -0
  13. data/lib/big_ml/version.rb +1 -1
  14. data/lib/big_ml.rb +8 -4
  15. data/spec/integration/dataset_spec.rb +17 -0
  16. data/spec/integration/model_spec.rb +17 -0
  17. data/spec/integration/prediction_spec.rb +11 -0
  18. data/spec/integration/source_spec.rb +19 -6
  19. data/spec/units/client_spec.rb +5 -5
  20. data/spec/vcr_cassettes/BigML_Dataset/no_dataset/_all/must_be_empty.yml +53 -17
  21. data/spec/vcr_cassettes/BigML_Dataset/one_dataset/can_be_converted_in_a_model.yml +232 -0
  22. data/spec/vcr_cassettes/BigML_Dataset/one_dataset/must_be_able_to_be_deleted_using_the_destroy_method.yml +288 -0
  23. data/spec/vcr_cassettes/BigML_Dataset/one_dataset/must_be_able_to_be_find_using_the_reference.yml +49 -49
  24. data/spec/vcr_cassettes/BigML_Dataset/one_dataset/must_be_able_to_remove_the_dataset.yml +41 -77
  25. data/spec/vcr_cassettes/BigML_Dataset/one_dataset/must_be_able_to_update_the_name.yml +57 -57
  26. data/spec/vcr_cassettes/BigML_Dataset/one_dataset/must_be_able_to_update_the_name_from_the_instance.yml +360 -0
  27. data/spec/vcr_cassettes/BigML_Dataset/one_dataset/must_have_only_one_item.yml +44 -44
  28. data/spec/vcr_cassettes/BigML_Dataset/one_dataset/must_have_the_same_file_name.yml +44 -44
  29. data/spec/vcr_cassettes/BigML_Dataset/one_dataset/was_created_successfully.yml +22 -22
  30. data/spec/vcr_cassettes/BigML_Model/no_model/_all/must_be_empty.yml +133 -21
  31. data/spec/vcr_cassettes/BigML_Model/one_model/can_be_converted_in_a_prediction.yml +346 -0
  32. data/spec/vcr_cassettes/BigML_Model/one_model/{must_have_the_same_file_name.yml → must_be_able_to_be_deleted_using_the_destroy_method.yml} +90 -107
  33. data/spec/vcr_cassettes/BigML_Model/one_model/must_be_able_to_be_find_using_the_reference.yml +172 -161
  34. data/spec/vcr_cassettes/BigML_Model/one_model/must_be_able_to_remove_the_model.yml +194 -70
  35. data/spec/vcr_cassettes/BigML_Model/one_model/must_be_able_to_update_the_name.yml +225 -243
  36. data/spec/vcr_cassettes/BigML_Model/one_model/must_be_able_to_update_the_name_from_the_instance.yml +686 -0
  37. data/spec/vcr_cassettes/BigML_Model/one_model/must_have_only_one_item.yml +169 -52
  38. data/spec/vcr_cassettes/BigML_Model/one_model/must_have_the_same_size.yml +91 -90
  39. data/spec/vcr_cassettes/BigML_Model/one_model/was_created_successfully.yml +35 -114
  40. data/spec/vcr_cassettes/BigML_Prediction/no_prediction/_all/must_be_empty.yml +141 -89
  41. data/spec/vcr_cassettes/BigML_Prediction/one_prediction/must_be_able_to_be_deleted_using_the_destroy_method.yml +474 -0
  42. data/spec/vcr_cassettes/BigML_Prediction/one_prediction/must_be_able_to_be_find_using_the_reference.yml +88 -88
  43. data/spec/vcr_cassettes/BigML_Prediction/one_prediction/must_be_able_to_remove_the_prediction.yml +88 -88
  44. data/spec/vcr_cassettes/BigML_Prediction/one_prediction/must_be_able_to_update_the_name.yml +97 -97
  45. data/spec/vcr_cassettes/BigML_Prediction/one_prediction/must_be_able_to_update_the_name_from_the_instance.yml +545 -0
  46. data/spec/vcr_cassettes/BigML_Prediction/one_prediction/must_have_only_one_item.yml +90 -90
  47. data/spec/vcr_cassettes/BigML_Prediction/one_prediction/must_have_the_same_name.yml +161 -78
  48. data/spec/vcr_cassettes/BigML_Prediction/one_prediction/was_created_successfully.yml +45 -45
  49. data/spec/vcr_cassettes/BigML_Source/no_source/_all/must_be_empty.yml +12 -42
  50. data/spec/vcr_cassettes/BigML_Source/one_source/can_be_converted_in_a_dataset.yml +119 -0
  51. data/spec/vcr_cassettes/BigML_Source/one_source/must_be_able_to_be_deleted_using_the_destroy_method.yml +135 -0
  52. data/spec/vcr_cassettes/BigML_Source/one_source/must_be_able_to_be_find_using_the_reference.yml +22 -52
  53. data/spec/vcr_cassettes/BigML_Source/one_source/must_be_able_to_remove_the_source.yml +43 -30
  54. data/spec/vcr_cassettes/BigML_Source/one_source/must_be_able_to_update_the_name.yml +38 -68
  55. data/spec/vcr_cassettes/BigML_Source/one_source/must_be_able_to_update_the_name_from_the_instance.yml +249 -0
  56. data/spec/vcr_cassettes/BigML_Source/one_source/must_have_only_one_item.yml +24 -54
  57. data/spec/vcr_cassettes/BigML_Source/one_source/must_have_the_same_file_name.yml +21 -51
  58. data/spec/vcr_cassettes/BigML_Source/one_source/was_created_successfully.yml +8 -38
  59. metadata +50 -9
  60. data/.rvmrc +0 -1
  61. data/lib/big_ml/client.rb +0 -29
  62. data/lib/big_ml/config.rb +0 -30
@@ -0,0 +1,249 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://bigml.io/andromeda/source?username=<USERNAME>&api_key=<API_KEY>
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ connection:
11
+ - close
12
+ response:
13
+ status:
14
+ code: 200
15
+ message: OK
16
+ headers:
17
+ content-type:
18
+ - application/json; charset=utf-8
19
+ date:
20
+ - Thu, 28 Jun 2012 22:29:44 GMT
21
+ server:
22
+ - nginx/1.0.12
23
+ content-length:
24
+ - '1280'
25
+ connection:
26
+ - Close
27
+ body:
28
+ encoding: US-ASCII
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:34:42.105000", "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": "new name", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
39
+ 0, "private": true, "resource": "source/4fecdc0215526875f70033ec", "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": 94, "message": "The
44
+ source has been created"}, "tags": [], "type": 0, "updated": "2012-06-28T22:33:55.977000"}]}'
45
+ http_version: '1.1'
46
+ recorded_at: Thu, 28 Jun 2012 22:34:30 GMT
47
+ - request:
48
+ method: delete
49
+ uri: https://bigml.io/andromeda/source/4fecdc0215526875f70033ec?username=<USERNAME>&api_key=<API_KEY>
50
+ body:
51
+ encoding: US-ASCII
52
+ string: ''
53
+ headers:
54
+ connection:
55
+ - close
56
+ response:
57
+ status:
58
+ code: 204
59
+ message: NO CONTENT
60
+ headers:
61
+ content-length:
62
+ - '0'
63
+ content-type:
64
+ - text/html; charset=utf-8
65
+ date:
66
+ - Thu, 28 Jun 2012 22:32:21 GMT
67
+ server:
68
+ - nginx/1.0.12
69
+ connection:
70
+ - Close
71
+ body:
72
+ encoding: US-ASCII
73
+ string: ''
74
+ http_version: '1.1'
75
+ recorded_at: Thu, 28 Jun 2012 22:34:34 GMT
76
+ - request:
77
+ method: post
78
+ uri: https://bigml.io/andromeda/source
79
+ body:
80
+ encoding: US-ASCII
81
+ string: ''
82
+ headers:
83
+ content-type:
84
+ - multipart/form-data; boundary=-----------RubyMultipartPost
85
+ content-length:
86
+ - '5147'
87
+ connection:
88
+ - close
89
+ response:
90
+ status:
91
+ code: 201
92
+ message: CREATED
93
+ headers:
94
+ content-type:
95
+ - application/json; charset=utf-8
96
+ date:
97
+ - Thu, 28 Jun 2012 22:29:49 GMT
98
+ location:
99
+ - http://bigml.io/andromeda/source/4fecdbdb035d0741ef0032af
100
+ server:
101
+ - nginx/1.0.12
102
+ content-length:
103
+ - '567'
104
+ connection:
105
+ - Close
106
+ body:
107
+ encoding: US-ASCII
108
+ string: ! '{"category": 0, "code": 201, "content_type": "application/octet-stream",
109
+ "created": "2012-06-28T22:34:03.361936", "credits": 0.0, "description": "",
110
+ "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae", "name":
111
+ "iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
112
+ 0, "private": true, "resource": "source/4fecdbdb035d0741ef0032af", "size":
113
+ 4608, "source_parser": {}, "status": {"code": 1, "message": "The request has
114
+ been queued and will be processed soon"}, "tags": [], "type": 0, "updated":
115
+ "2012-06-28T22:34:03.361959"}'
116
+ http_version: '1.1'
117
+ recorded_at: Thu, 28 Jun 2012 22:34:36 GMT
118
+ - request:
119
+ method: get
120
+ uri: https://bigml.io/andromeda/source/4fecdbdb035d0741ef0032af?username=<USERNAME>&api_key=<API_KEY>
121
+ body:
122
+ encoding: US-ASCII
123
+ string: ''
124
+ headers:
125
+ connection:
126
+ - close
127
+ response:
128
+ status:
129
+ code: 200
130
+ message: OK
131
+ headers:
132
+ content-type:
133
+ - application/json; charset=utf-8
134
+ date:
135
+ - Thu, 28 Jun 2012 22:32:24 GMT
136
+ server:
137
+ - nginx/1.0.12
138
+ content-length:
139
+ - '1179'
140
+ connection:
141
+ - Close
142
+ body:
143
+ encoding: US-ASCII
144
+ string: ! '{"category": 0, "code": 200, "content_type": "application/octet-stream",
145
+ "created": "2012-06-28T22:34:03.361000", "credits": 0.0, "description": "",
146
+ "fields": {"000000": {"column_number": 0, "name": "sepal length", "optype":
147
+ "numeric"}, "000001": {"column_number": 1, "name": "sepal width", "optype":
148
+ "numeric"}, "000002": {"column_number": 2, "name": "petal length", "optype":
149
+ "numeric"}, "000003": {"column_number": 3, "name": "petal width", "optype":
150
+ "numeric"}, "000004": {"column_number": 4, "name": "species", "optype": "categorical"}},
151
+ "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae", "name":
152
+ "iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
153
+ 0, "private": true, "resource": "source/4fecdbdb035d0741ef0032af", "size":
154
+ 4608, "source_parser": {"header": true, "locale": "en_US", "missing_tokens":
155
+ ["", "N/A", "n/a", "NULL", "null", "-", "#DIV/0", "#REF!", "#NAME?", "NIL",
156
+ "nil", "NA", "na", "#VALUE!", "#NULL!", "NaN", "#N/A", "#NUM!", "?"], "quote":
157
+ "\"", "separator": ","}, "status": {"code": 5, "elapsed": 76, "message": "The
158
+ source has been created"}, "tags": [], "type": 0, "updated": "2012-06-28T22:34:03.412000"}'
159
+ http_version: '1.1'
160
+ recorded_at: Thu, 28 Jun 2012 22:34:37 GMT
161
+ - request:
162
+ method: put
163
+ uri: https://bigml.io/andromeda/source/4fecdbdb035d0741ef0032af?username=<USERNAME>&api_key=<API_KEY>
164
+ body:
165
+ encoding: UTF-8
166
+ string: ! '{"name":"new name"}'
167
+ headers:
168
+ content-type:
169
+ - application/json
170
+ connection:
171
+ - close
172
+ response:
173
+ status:
174
+ code: 202
175
+ message: ACCEPTED
176
+ headers:
177
+ content-type:
178
+ - application/json; charset=utf-8
179
+ date:
180
+ - Thu, 28 Jun 2012 22:29:52 GMT
181
+ server:
182
+ - nginx/1.0.12
183
+ content-length:
184
+ - '1179'
185
+ connection:
186
+ - Close
187
+ body:
188
+ encoding: US-ASCII
189
+ string: ! '{"category": 0, "code": 202, "content_type": "application/octet-stream",
190
+ "created": "2012-06-28T22:34:03.361000", "credits": 0.0, "description": "",
191
+ "fields": {"000000": {"column_number": 0, "name": "sepal length", "optype":
192
+ "numeric"}, "000001": {"column_number": 1, "name": "sepal width", "optype":
193
+ "numeric"}, "000002": {"column_number": 2, "name": "petal length", "optype":
194
+ "numeric"}, "000003": {"column_number": 3, "name": "petal width", "optype":
195
+ "numeric"}, "000004": {"column_number": 4, "name": "species", "optype": "categorical"}},
196
+ "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae", "name":
197
+ "new name", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
198
+ 0, "private": true, "resource": "source/4fecdbdb035d0741ef0032af", "size":
199
+ 4608, "source_parser": {"header": true, "locale": "en_US", "missing_tokens":
200
+ ["", "N/A", "n/a", "NULL", "null", "-", "#DIV/0", "#REF!", "#NAME?", "NIL",
201
+ "nil", "NA", "na", "#VALUE!", "#NULL!", "NaN", "#N/A", "#NUM!", "?"], "quote":
202
+ "\"", "separator": ","}, "status": {"code": 5, "elapsed": 76, "message": "The
203
+ source has been created"}, "tags": [], "type": 0, "updated": "2012-06-28T22:34:54.872612"}'
204
+ http_version: '1.1'
205
+ recorded_at: Thu, 28 Jun 2012 22:34:38 GMT
206
+ - request:
207
+ method: get
208
+ uri: https://bigml.io/andromeda/source/4fecdbdb035d0741ef0032af?username=<USERNAME>&api_key=<API_KEY>
209
+ body:
210
+ encoding: US-ASCII
211
+ string: ''
212
+ headers:
213
+ connection:
214
+ - close
215
+ response:
216
+ status:
217
+ code: 200
218
+ message: OK
219
+ headers:
220
+ content-type:
221
+ - application/json; charset=utf-8
222
+ date:
223
+ - Thu, 28 Jun 2012 22:32:26 GMT
224
+ server:
225
+ - nginx/1.0.12
226
+ content-length:
227
+ - '1179'
228
+ connection:
229
+ - Close
230
+ body:
231
+ encoding: US-ASCII
232
+ string: ! '{"category": 0, "code": 200, "content_type": "application/octet-stream",
233
+ "created": "2012-06-28T22:34:03.361000", "credits": 0.0, "description": "",
234
+ "fields": {"000000": {"column_number": 0, "name": "sepal length", "optype":
235
+ "numeric"}, "000001": {"column_number": 1, "name": "sepal width", "optype":
236
+ "numeric"}, "000002": {"column_number": 2, "name": "petal length", "optype":
237
+ "numeric"}, "000003": {"column_number": 3, "name": "petal width", "optype":
238
+ "numeric"}, "000004": {"column_number": 4, "name": "species", "optype": "categorical"}},
239
+ "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae", "name":
240
+ "new name", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
241
+ 0, "private": true, "resource": "source/4fecdbdb035d0741ef0032af", "size":
242
+ 4608, "source_parser": {"header": true, "locale": "en_US", "missing_tokens":
243
+ ["", "N/A", "n/a", "NULL", "null", "-", "#DIV/0", "#REF!", "#NAME?", "NIL",
244
+ "nil", "NA", "na", "#VALUE!", "#NULL!", "NaN", "#N/A", "#NUM!", "?"], "quote":
245
+ "\"", "separator": ","}, "status": {"code": 5, "elapsed": 76, "message": "The
246
+ source has been created"}, "tags": [], "type": 0, "updated": "2012-06-28T22:34:54.872000"}'
247
+ http_version: '1.1'
248
+ recorded_at: Thu, 28 Jun 2012 22:34:39 GMT
249
+ recorded_with: VCR 2.2.2
@@ -17,18 +17,18 @@ http_interactions:
17
17
  content-type:
18
18
  - application/json; charset=utf-8
19
19
  date:
20
- - Wed, 20 Jun 2012 03:17:23 GMT
20
+ - Thu, 28 Jun 2012 22:29:00 GMT
21
21
  server:
22
22
  - nginx/1.0.12
23
23
  content-length:
24
- - '1281'
24
+ - '1280'
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-20T03:21:29.774000", "credits":
31
+ "application/octet-stream", "created": "2012-06-28T22:34:01.125000", "credits":
32
32
  0.0, "description": "", "fields": {"000000": {"column_number": 0, "name":
33
33
  "sepal length", "optype": "numeric"}, "000001": {"column_number": 1, "name":
34
34
  "sepal width", "optype": "numeric"}, "000002": {"column_number": 2, "name":
@@ -36,17 +36,17 @@ http_interactions:
36
36
  "petal width", "optype": "numeric"}, "000004": {"column_number": 4, "name":
37
37
  "species", "optype": "categorical"}}, "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae",
38
38
  "name": "iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
39
- 0, "private": true, "resource": "source/4fe141b91552687d43000118", "size":
39
+ 0, "private": true, "resource": "source/4fecdbd915526875f70033e8", "size":
40
40
  4608, "source_parser": {"header": true, "locale": "en_US", "missing_tokens":
41
41
  ["", "N/A", "n/a", "NULL", "null", "-", "#DIV/0", "#REF!", "#NAME?", "NIL",
42
42
  "nil", "NA", "na", "#VALUE!", "#NULL!", "NaN", "#N/A", "#NUM!", "?"], "quote":
43
- "\"", "separator": ","}, "status": {"code": 5, "elapsed": 109, "message":
44
- "The source has been created"}, "tags": [], "type": 0, "updated": "2012-06-20T03:21:29.883000"}]}'
43
+ "\"", "separator": ","}, "status": {"code": 5, "elapsed": 65, "message": "The
44
+ source has been created"}, "tags": [], "type": 0, "updated": "2012-06-28T22:34:01.213000"}]}'
45
45
  http_version: '1.1'
46
- recorded_at: Wed, 20 Jun 2012 03:21:14 GMT
46
+ recorded_at: Thu, 28 Jun 2012 22:33:47 GMT
47
47
  - request:
48
48
  method: delete
49
- uri: https://bigml.io/andromeda/source/4fe141b91552687d43000118?username=<USERNAME>&api_key=<API_KEY>
49
+ uri: https://bigml.io/andromeda/source/4fecdbd915526875f70033e8?username=<USERNAME>&api_key=<API_KEY>
50
50
  body:
51
51
  encoding: US-ASCII
52
52
  string: ''
@@ -63,7 +63,7 @@ http_interactions:
63
63
  content-type:
64
64
  - text/html; charset=utf-8
65
65
  date:
66
- - Wed, 20 Jun 2012 03:19:44 GMT
66
+ - Thu, 28 Jun 2012 22:31:36 GMT
67
67
  server:
68
68
  - nginx/1.0.12
69
69
  connection:
@@ -72,37 +72,7 @@ http_interactions:
72
72
  encoding: US-ASCII
73
73
  string: ''
74
74
  http_version: '1.1'
75
- recorded_at: Wed, 20 Jun 2012 03:21:16 GMT
76
- - request:
77
- method: get
78
- uri: https://bigml.io/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
79
- body:
80
- encoding: US-ASCII
81
- string: ''
82
- headers:
83
- connection:
84
- - close
85
- response:
86
- status:
87
- code: 200
88
- message: OK
89
- headers:
90
- content-type:
91
- - application/json; charset=utf-8
92
- date:
93
- - Wed, 20 Jun 2012 03:17:26 GMT
94
- server:
95
- - nginx/1.0.12
96
- transfer-encoding:
97
- - chunked
98
- connection:
99
- - Close
100
- body:
101
- encoding: US-ASCII
102
- string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
103
- "total_count": 0}, "objects": []}'
104
- http_version: '1.1'
105
- recorded_at: Wed, 20 Jun 2012 03:21:17 GMT
75
+ recorded_at: Thu, 28 Jun 2012 22:33:49 GMT
106
76
  - request:
107
77
  method: post
108
78
  uri: https://bigml.io/andromeda/source
@@ -124,27 +94,27 @@ http_interactions:
124
94
  content-type:
125
95
  - application/json; charset=utf-8
126
96
  date:
127
- - Wed, 20 Jun 2012 03:19:47 GMT
97
+ - Thu, 28 Jun 2012 22:29:05 GMT
128
98
  location:
129
- - http://bigml.io/andromeda/source/4fe141bf1552687d42000125
99
+ - http://bigml.io/andromeda/source/4fecdbe015526875f70033ea
130
100
  server:
131
101
  - nginx/1.0.12
132
- content-length:
133
- - '567'
102
+ transfer-encoding:
103
+ - chunked
134
104
  connection:
135
105
  - Close
136
106
  body:
137
107
  encoding: US-ASCII
138
108
  string: ! '{"category": 0, "code": 201, "content_type": "application/octet-stream",
139
- "created": "2012-06-20T03:21:35.139798", "credits": 0.0, "description": "",
109
+ "created": "2012-06-28T22:34:08.161782", "credits": 0.0, "description": "",
140
110
  "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae", "name":
141
111
  "iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
142
- 0, "private": true, "resource": "source/4fe141bf1552687d42000125", "size":
112
+ 0, "private": true, "resource": "source/4fecdbe015526875f70033ea", "size":
143
113
  4608, "source_parser": {}, "status": {"code": 1, "message": "The request has
144
114
  been queued and will be processed soon"}, "tags": [], "type": 0, "updated":
145
- "2012-06-20T03:21:35.139830"}'
115
+ "2012-06-28T22:34:08.161816"}'
146
116
  http_version: '1.1'
147
- recorded_at: Wed, 20 Jun 2012 03:21:18 GMT
117
+ recorded_at: Thu, 28 Jun 2012 22:33:52 GMT
148
118
  - request:
149
119
  method: get
150
120
  uri: https://bigml.io/andromeda/source?username=<USERNAME>&api_key=<API_KEY>
@@ -162,7 +132,7 @@ http_interactions:
162
132
  content-type:
163
133
  - application/json; charset=utf-8
164
134
  date:
165
- - Wed, 20 Jun 2012 03:17:29 GMT
135
+ - Thu, 28 Jun 2012 22:31:40 GMT
166
136
  server:
167
137
  - nginx/1.0.12
168
138
  content-length:
@@ -173,7 +143,7 @@ http_interactions:
173
143
  encoding: US-ASCII
174
144
  string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
175
145
  "total_count": 1}, "objects": [{"category": 0, "code": 200, "content_type":
176
- "application/octet-stream", "created": "2012-06-20T03:21:35.139000", "credits":
146
+ "application/octet-stream", "created": "2012-06-28T22:34:08.161000", "credits":
177
147
  0.0, "description": "", "fields": {"000000": {"column_number": 0, "name":
178
148
  "sepal length", "optype": "numeric"}, "000001": {"column_number": 1, "name":
179
149
  "sepal width", "optype": "numeric"}, "000002": {"column_number": 2, "name":
@@ -181,12 +151,12 @@ http_interactions:
181
151
  "petal width", "optype": "numeric"}, "000004": {"column_number": 4, "name":
182
152
  "species", "optype": "categorical"}}, "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae",
183
153
  "name": "iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
184
- 0, "private": true, "resource": "source/4fe141bf1552687d42000125", "size":
154
+ 0, "private": true, "resource": "source/4fecdbe015526875f70033ea", "size":
185
155
  4608, "source_parser": {"header": true, "locale": "en_US", "missing_tokens":
186
156
  ["", "N/A", "n/a", "NULL", "null", "-", "#DIV/0", "#REF!", "#NAME?", "NIL",
187
157
  "nil", "NA", "na", "#VALUE!", "#NULL!", "NaN", "#N/A", "#NUM!", "?"], "quote":
188
- "\"", "separator": ","}, "status": {"code": 5, "elapsed": 77, "message": "The
189
- source has been created"}, "tags": [], "type": 0, "updated": "2012-06-20T03:21:35.243000"}]}'
158
+ "\"", "separator": ","}, "status": {"code": 5, "elapsed": 61, "message": "The
159
+ source has been created"}, "tags": [], "type": 0, "updated": "2012-06-28T22:34:08.198000"}]}'
190
160
  http_version: '1.1'
191
- recorded_at: Wed, 20 Jun 2012 03:21:20 GMT
161
+ recorded_at: Thu, 28 Jun 2012 22:33:53 GMT
192
162
  recorded_with: VCR 2.2.2
@@ -17,7 +17,7 @@ http_interactions:
17
17
  content-type:
18
18
  - application/json; charset=utf-8
19
19
  date:
20
- - Wed, 20 Jun 2012 03:19:49 GMT
20
+ - Thu, 28 Jun 2012 22:29:08 GMT
21
21
  server:
22
22
  - nginx/1.0.12
23
23
  content-length:
@@ -28,7 +28,7 @@ http_interactions:
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-20T03:21:35.139000", "credits":
31
+ "application/octet-stream", "created": "2012-06-28T22:34:08.161000", "credits":
32
32
  0.0, "description": "", "fields": {"000000": {"column_number": 0, "name":
33
33
  "sepal length", "optype": "numeric"}, "000001": {"column_number": 1, "name":
34
34
  "sepal width", "optype": "numeric"}, "000002": {"column_number": 2, "name":
@@ -36,17 +36,17 @@ http_interactions:
36
36
  "petal width", "optype": "numeric"}, "000004": {"column_number": 4, "name":
37
37
  "species", "optype": "categorical"}}, "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae",
38
38
  "name": "iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
39
- 0, "private": true, "resource": "source/4fe141bf1552687d42000125", "size":
39
+ 0, "private": true, "resource": "source/4fecdbe015526875f70033ea", "size":
40
40
  4608, "source_parser": {"header": true, "locale": "en_US", "missing_tokens":
41
41
  ["", "N/A", "n/a", "NULL", "null", "-", "#DIV/0", "#REF!", "#NAME?", "NIL",
42
42
  "nil", "NA", "na", "#VALUE!", "#NULL!", "NaN", "#N/A", "#NUM!", "?"], "quote":
43
- "\"", "separator": ","}, "status": {"code": 5, "elapsed": 77, "message": "The
44
- source has been created"}, "tags": [], "type": 0, "updated": "2012-06-20T03:21:36.355000"}]}'
43
+ "\"", "separator": ","}, "status": {"code": 5, "elapsed": 61, "message": "The
44
+ source has been created"}, "tags": [], "type": 0, "updated": "2012-06-28T22:34:09.469000"}]}'
45
45
  http_version: '1.1'
46
- recorded_at: Wed, 20 Jun 2012 03:21:21 GMT
46
+ recorded_at: Thu, 28 Jun 2012 22:33:54 GMT
47
47
  - request:
48
48
  method: delete
49
- uri: https://bigml.io/andromeda/source/4fe141bf1552687d42000125?username=<USERNAME>&api_key=<API_KEY>
49
+ uri: https://bigml.io/andromeda/source/4fecdbe015526875f70033ea?username=<USERNAME>&api_key=<API_KEY>
50
50
  body:
51
51
  encoding: US-ASCII
52
52
  string: ''
@@ -63,7 +63,7 @@ http_interactions:
63
63
  content-type:
64
64
  - text/html; charset=utf-8
65
65
  date:
66
- - Wed, 20 Jun 2012 03:17:31 GMT
66
+ - Thu, 28 Jun 2012 22:31:44 GMT
67
67
  server:
68
68
  - nginx/1.0.12
69
69
  connection:
@@ -72,37 +72,7 @@ http_interactions:
72
72
  encoding: US-ASCII
73
73
  string: ''
74
74
  http_version: '1.1'
75
- recorded_at: Wed, 20 Jun 2012 03:21:22 GMT
76
- - request:
77
- method: get
78
- uri: https://bigml.io/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
79
- body:
80
- encoding: US-ASCII
81
- string: ''
82
- headers:
83
- connection:
84
- - close
85
- response:
86
- status:
87
- code: 200
88
- message: OK
89
- headers:
90
- content-type:
91
- - application/json; charset=utf-8
92
- date:
93
- - Wed, 20 Jun 2012 03:19:52 GMT
94
- server:
95
- - nginx/1.0.12
96
- transfer-encoding:
97
- - chunked
98
- connection:
99
- - Close
100
- body:
101
- encoding: US-ASCII
102
- string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
103
- "total_count": 0}, "objects": []}'
104
- http_version: '1.1'
105
- recorded_at: Wed, 20 Jun 2012 03:21:23 GMT
75
+ recorded_at: Thu, 28 Jun 2012 22:33:57 GMT
106
76
  - request:
107
77
  method: post
108
78
  uri: https://bigml.io/andromeda/source
@@ -124,9 +94,9 @@ http_interactions:
124
94
  content-type:
125
95
  - application/json; charset=utf-8
126
96
  date:
127
- - Wed, 20 Jun 2012 03:17:34 GMT
97
+ - Thu, 28 Jun 2012 22:29:13 GMT
128
98
  location:
129
- - http://bigml.io/andromeda/source/4fe141c51552687d470000f6
99
+ - http://bigml.io/andromeda/source/4fecdbe715526875f300334e
130
100
  server:
131
101
  - nginx/1.0.12
132
102
  content-length:
@@ -136,15 +106,15 @@ http_interactions:
136
106
  body:
137
107
  encoding: US-ASCII
138
108
  string: ! '{"category": 0, "code": 201, "content_type": "application/octet-stream",
139
- "created": "2012-06-20T03:21:41.406893", "credits": 0.0, "description": "",
109
+ "created": "2012-06-28T22:34:15.379681", "credits": 0.0, "description": "",
140
110
  "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae", "name":
141
111
  "iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
142
- 0, "private": true, "resource": "source/4fe141c51552687d470000f6", "size":
112
+ 0, "private": true, "resource": "source/4fecdbe715526875f300334e", "size":
143
113
  4608, "source_parser": {}, "status": {"code": 1, "message": "The request has
144
114
  been queued and will be processed soon"}, "tags": [], "type": 0, "updated":
145
- "2012-06-20T03:21:41.406914"}'
115
+ "2012-06-28T22:34:15.379719"}'
146
116
  http_version: '1.1'
147
- recorded_at: Wed, 20 Jun 2012 03:21:25 GMT
117
+ recorded_at: Thu, 28 Jun 2012 22:33:59 GMT
148
118
  - request:
149
119
  method: get
150
120
  uri: https://bigml.io/andromeda/source?username=<USERNAME>&api_key=<API_KEY>
@@ -162,7 +132,7 @@ http_interactions:
162
132
  content-type:
163
133
  - application/json; charset=utf-8
164
134
  date:
165
- - Wed, 20 Jun 2012 03:19:54 GMT
135
+ - Thu, 28 Jun 2012 22:31:47 GMT
166
136
  server:
167
137
  - nginx/1.0.12
168
138
  content-length:
@@ -173,7 +143,7 @@ http_interactions:
173
143
  encoding: US-ASCII
174
144
  string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
175
145
  "total_count": 1}, "objects": [{"category": 0, "code": 200, "content_type":
176
- "application/octet-stream", "created": "2012-06-20T03:21:41.406000", "credits":
146
+ "application/octet-stream", "created": "2012-06-28T22:34:15.379000", "credits":
177
147
  0.0, "description": "", "fields": {"000000": {"column_number": 0, "name":
178
148
  "sepal length", "optype": "numeric"}, "000001": {"column_number": 1, "name":
179
149
  "sepal width", "optype": "numeric"}, "000002": {"column_number": 2, "name":
@@ -181,12 +151,12 @@ http_interactions:
181
151
  "petal width", "optype": "numeric"}, "000004": {"column_number": 4, "name":
182
152
  "species", "optype": "categorical"}}, "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae",
183
153
  "name": "iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
184
- 0, "private": true, "resource": "source/4fe141c51552687d470000f6", "size":
154
+ 0, "private": true, "resource": "source/4fecdbe715526875f300334e", "size":
185
155
  4608, "source_parser": {"header": true, "locale": "en_US", "missing_tokens":
186
156
  ["", "N/A", "n/a", "NULL", "null", "-", "#DIV/0", "#REF!", "#NAME?", "NIL",
187
157
  "nil", "NA", "na", "#VALUE!", "#NULL!", "NaN", "#N/A", "#NUM!", "?"], "quote":
188
- "\"", "separator": ","}, "status": {"code": 5, "elapsed": 75, "message": "The
189
- source has been created"}, "tags": [], "type": 0, "updated": "2012-06-20T03:21:41.431000"}]}'
158
+ "\"", "separator": ","}, "status": {"code": 5, "elapsed": 63, "message": "The
159
+ source has been created"}, "tags": [], "type": 0, "updated": "2012-06-28T22:34:15.511000"}]}'
190
160
  http_version: '1.1'
191
- recorded_at: Wed, 20 Jun 2012 03:21:26 GMT
161
+ recorded_at: Thu, 28 Jun 2012 22:34:00 GMT
192
162
  recorded_with: VCR 2.2.2
@@ -17,7 +17,7 @@ http_interactions:
17
17
  content-type:
18
18
  - application/json; charset=utf-8
19
19
  date:
20
- - Wed, 20 Jun 2012 03:19:38 GMT
20
+ - Thu, 28 Jun 2012 22:28:56 GMT
21
21
  server:
22
22
  - nginx/1.0.12
23
23
  content-length:
@@ -29,37 +29,7 @@ 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: Wed, 20 Jun 2012 03:21:09 GMT
33
- - request:
34
- method: get
35
- uri: https://bigml.io/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
36
- body:
37
- encoding: US-ASCII
38
- string: ''
39
- headers:
40
- connection:
41
- - close
42
- response:
43
- status:
44
- code: 200
45
- message: OK
46
- headers:
47
- content-type:
48
- - application/json; charset=utf-8
49
- date:
50
- - Wed, 20 Jun 2012 03:17:19 GMT
51
- server:
52
- - nginx/1.0.12
53
- content-length:
54
- - '101'
55
- connection:
56
- - Close
57
- body:
58
- encoding: US-ASCII
59
- string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
60
- "total_count": 0}, "objects": []}'
61
- http_version: '1.1'
62
- recorded_at: Wed, 20 Jun 2012 03:21:10 GMT
32
+ recorded_at: Thu, 28 Jun 2012 22:33:43 GMT
63
33
  - request:
64
34
  method: post
65
35
  uri: https://bigml.io/andromeda/source
@@ -81,9 +51,9 @@ http_interactions:
81
51
  content-type:
82
52
  - application/json; charset=utf-8
83
53
  date:
84
- - Wed, 20 Jun 2012 03:19:42 GMT
54
+ - Thu, 28 Jun 2012 22:31:31 GMT
85
55
  location:
86
- - http://bigml.io/andromeda/source/4fe141b91552687d43000118
56
+ - http://bigml.io/andromeda/source/4fecdbd915526875f70033e8
87
57
  server:
88
58
  - nginx/1.0.12
89
59
  content-length:
@@ -93,13 +63,13 @@ http_interactions:
93
63
  body:
94
64
  encoding: US-ASCII
95
65
  string: ! '{"category": 0, "code": 201, "content_type": "application/octet-stream",
96
- "created": "2012-06-20T03:21:29.774604", "credits": 0.0, "description": "",
66
+ "created": "2012-06-28T22:34:01.125975", "credits": 0.0, "description": "",
97
67
  "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae", "name":
98
68
  "iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
99
- 0, "private": true, "resource": "source/4fe141b91552687d43000118", "size":
69
+ 0, "private": true, "resource": "source/4fecdbd915526875f70033e8", "size":
100
70
  4608, "source_parser": {}, "status": {"code": 1, "message": "The request has
101
71
  been queued and will be processed soon"}, "tags": [], "type": 0, "updated":
102
- "2012-06-20T03:21:29.774626"}'
72
+ "2012-06-28T22:34:01.125996"}'
103
73
  http_version: '1.1'
104
- recorded_at: Wed, 20 Jun 2012 03:21:13 GMT
74
+ recorded_at: Thu, 28 Jun 2012 22:33:45 GMT
105
75
  recorded_with: VCR 2.2.2