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.
- data/README.md +2 -1
- data/big_ml.gemspec +1 -1
- data/lib/big_ml/util/client.rb +7 -2
- data/lib/big_ml/util/config.rb +7 -2
- data/lib/big_ml/version.rb +1 -1
- data/spec/spec_helper.rb +2 -2
- data/spec/units/client_spec.rb +37 -6
- data/spec/vcr_cassettes/BigML_Dataset/no_dataset/_all/must_be_empty.yml +16 -95
- data/spec/vcr_cassettes/BigML_Dataset/one_dataset/can_be_converted_in_a_model.yml +69 -67
- data/spec/vcr_cassettes/BigML_Dataset/one_dataset/must_be_able_to_be_deleted_using_the_destroy_method.yml +72 -71
- data/spec/vcr_cassettes/BigML_Dataset/one_dataset/must_be_able_to_be_find_using_the_reference.yml +104 -103
- data/spec/vcr_cassettes/BigML_Dataset/one_dataset/must_be_able_to_remove_the_dataset.yml +66 -65
- data/spec/vcr_cassettes/BigML_Dataset/one_dataset/must_be_able_to_update_the_name.yml +148 -147
- data/spec/vcr_cassettes/BigML_Dataset/one_dataset/must_be_able_to_update_the_name_from_the_instance.yml +147 -146
- data/spec/vcr_cassettes/BigML_Dataset/one_dataset/must_have_only_one_item.yml +83 -80
- data/spec/vcr_cassettes/BigML_Dataset/one_dataset/must_have_the_same_file_name.yml +119 -74
- data/spec/vcr_cassettes/BigML_Dataset/one_dataset/was_created_successfully.yml +36 -36
- data/spec/vcr_cassettes/BigML_Model/no_model/_all/must_be_empty.yml +89 -87
- data/spec/vcr_cassettes/BigML_Model/one_model/can_be_converted_in_a_prediction.yml +101 -99
- data/spec/vcr_cassettes/BigML_Model/one_model/must_be_able_to_be_deleted_using_the_destroy_method.yml +91 -89
- data/spec/vcr_cassettes/BigML_Model/one_model/must_be_able_to_be_find_using_the_reference.yml +191 -200
- data/spec/vcr_cassettes/BigML_Model/one_model/must_be_able_to_remove_the_model.yml +109 -231
- data/spec/vcr_cassettes/BigML_Model/one_model/must_be_able_to_update_the_name.yml +272 -252
- data/spec/vcr_cassettes/BigML_Model/one_model/must_be_able_to_update_the_name_from_the_instance.yml +126 -252
- data/spec/vcr_cassettes/BigML_Model/one_model/must_have_only_one_item.yml +117 -113
- data/spec/vcr_cassettes/BigML_Model/one_model/must_have_the_same_size.yml +158 -120
- data/spec/vcr_cassettes/BigML_Model/one_model/was_created_successfully.yml +101 -56
- data/spec/vcr_cassettes/BigML_Prediction/no_prediction/_all/must_be_empty.yml +96 -94
- data/spec/vcr_cassettes/BigML_Prediction/one_prediction/must_be_able_to_be_deleted_using_the_destroy_method.yml +126 -124
- data/spec/vcr_cassettes/BigML_Prediction/one_prediction/must_be_able_to_be_find_using_the_reference.yml +147 -145
- data/spec/vcr_cassettes/BigML_Prediction/one_prediction/must_be_able_to_remove_the_prediction.yml +141 -139
- data/spec/vcr_cassettes/BigML_Prediction/one_prediction/must_be_able_to_update_the_name.yml +159 -157
- data/spec/vcr_cassettes/BigML_Prediction/one_prediction/must_be_able_to_update_the_name_from_the_instance.yml +161 -159
- data/spec/vcr_cassettes/BigML_Prediction/one_prediction/must_have_only_one_item.yml +145 -143
- data/spec/vcr_cassettes/BigML_Prediction/one_prediction/must_have_the_same_name.yml +148 -146
- data/spec/vcr_cassettes/BigML_Prediction/one_prediction/was_created_successfully.yml +75 -74
- data/spec/vcr_cassettes/BigML_Source/no_source/_all/must_be_empty.yml +25 -24
- data/spec/vcr_cassettes/BigML_Source/one_source/can_be_converted_in_a_dataset.yml +32 -32
- data/spec/vcr_cassettes/BigML_Source/one_source/must_be_able_to_be_deleted_using_the_destroy_method.yml +21 -21
- data/spec/vcr_cassettes/BigML_Source/one_source/must_be_able_to_be_find_using_the_reference.yml +48 -47
- data/spec/vcr_cassettes/BigML_Source/one_source/must_be_able_to_remove_the_source.yml +43 -42
- data/spec/vcr_cassettes/BigML_Source/one_source/must_be_able_to_update_the_name.yml +77 -76
- data/spec/vcr_cassettes/BigML_Source/one_source/must_be_able_to_update_the_name_from_the_instance.yml +78 -77
- data/spec/vcr_cassettes/BigML_Source/one_source/must_have_only_one_item.yml +53 -51
- data/spec/vcr_cassettes/BigML_Source/one_source/must_have_the_same_file_name.yml +52 -50
- data/spec/vcr_cassettes/BigML_Source/one_source/was_created_successfully.yml +14 -14
- metadata +5 -5
data/spec/vcr_cassettes/BigML_Model/one_model/must_be_able_to_update_the_name_from_the_instance.yml
CHANGED
@@ -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,126 +17,37 @@ http_interactions:
|
|
17
17
|
content-type:
|
18
18
|
- application/json; charset=utf-8
|
19
19
|
date:
|
20
|
-
-
|
20
|
+
- Sat, 14 Jul 2012 15:31:05 GMT
|
21
21
|
server:
|
22
22
|
- nginx/1.0.12
|
23
23
|
content-length:
|
24
|
-
- '
|
24
|
+
- '1293'
|
25
25
|
connection:
|
26
26
|
- Close
|
27
27
|
body:
|
28
28
|
encoding: US-ASCII
|
29
29
|
string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
|
30
|
-
"total_count":
|
31
|
-
"application/octet-stream", "created": "2012-
|
32
|
-
0.0, "description": "", "fields": {"000000": {"column_number":
|
33
|
-
"sepal length", "optype": "numeric"}, "000001": {"column_number":
|
34
|
-
"sepal width", "optype": "numeric"}, "000002": {"column_number":
|
35
|
-
"petal length", "optype": "numeric"}, "000003": {"column_number":
|
36
|
-
"petal width", "optype": "numeric"}, "000004": {"column_number":
|
37
|
-
"species", "optype": "categorical"}}, "file_name": "iris.csv",
|
38
|
-
"
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
"
|
43
|
-
"
|
44
|
-
|
45
|
-
|
46
|
-
"2012-06-28T22:27:13.381000", "credits": 0.0, "description": "", "fields":
|
47
|
-
{"000000": {"column_number": 0, "name": "sepal length", "optype": "numeric"},
|
48
|
-
"000001": {"column_number": 1, "name": "sepal width", "optype": "numeric"},
|
49
|
-
"000002": {"column_number": 2, "name": "petal length", "optype": "numeric"},
|
50
|
-
"000003": {"column_number": 3, "name": "petal width", "optype": "numeric"},
|
51
|
-
"000004": {"column_number": 4, "name": "species", "optype": "categorical"}},
|
52
|
-
"file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae", "name":
|
53
|
-
"iris.csv", "number_of_datasets": 1, "number_of_models": 0, "number_of_predictions":
|
54
|
-
0, "private": true, "resource": "source/4fecda41035d0741f1003314", "size":
|
55
|
-
4608, "source_parser": {"header": true, "locale": "en_US", "missing_tokens":
|
56
|
-
["", "N/A", "n/a", "NULL", "null", "-", "#DIV/0", "#REF!", "#NAME?", "NIL",
|
57
|
-
"nil", "NA", "na", "#VALUE!", "#NULL!", "NaN", "#N/A", "#NUM!", "?"], "quote":
|
58
|
-
"\"", "separator": ","}, "status": {"code": 5, "elapsed": 98, "message": "The
|
59
|
-
source has been created"}, "tags": [], "type": 0, "updated": "2012-06-28T22:27:34.065000"},
|
60
|
-
{"category": 0, "code": 200, "content_type": "application/octet-stream", "created":
|
61
|
-
"2012-06-28T22:26:48.297000", "credits": 0.0, "description": "", "fields":
|
62
|
-
{"000000": {"column_number": 0, "name": "sepal length", "optype": "numeric"},
|
63
|
-
"000001": {"column_number": 1, "name": "sepal width", "optype": "numeric"},
|
64
|
-
"000002": {"column_number": 2, "name": "petal length", "optype": "numeric"},
|
65
|
-
"000003": {"column_number": 3, "name": "petal width", "optype": "numeric"},
|
66
|
-
"000004": {"column_number": 4, "name": "species", "optype": "categorical"}},
|
67
|
-
"file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae", "name":
|
68
|
-
"iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
|
69
|
-
0, "private": true, "resource": "source/4fecda28035d0741ef00328a", "size":
|
70
|
-
4608, "source_parser": {"header": true, "locale": "en_US", "missing_tokens":
|
71
|
-
["", "N/A", "n/a", "NULL", "null", "-", "#DIV/0", "#REF!", "#NAME?", "NIL",
|
72
|
-
"nil", "NA", "na", "#VALUE!", "#NULL!", "NaN", "#N/A", "#NUM!", "?"], "quote":
|
73
|
-
"\"", "separator": ","}, "status": {"code": 5, "elapsed": 75, "message": "The
|
74
|
-
source has been created"}, "tags": [], "type": 0, "updated": "2012-06-28T22:28:19.498000"}]}'
|
75
|
-
http_version: '1.1'
|
76
|
-
recorded_at: Thu, 28 Jun 2012 22:28:17 GMT
|
77
|
-
- request:
|
78
|
-
method: delete
|
79
|
-
uri: https://bigml.io/andromeda/source/4fecda58035d0741f40032a6?username=<USERNAME>&api_key=<API_KEY>
|
80
|
-
body:
|
81
|
-
encoding: US-ASCII
|
82
|
-
string: ''
|
83
|
-
headers:
|
84
|
-
connection:
|
85
|
-
- close
|
86
|
-
response:
|
87
|
-
status:
|
88
|
-
code: 400
|
89
|
-
message: BAD REQUEST
|
90
|
-
headers:
|
91
|
-
content-type:
|
92
|
-
- application/json; charset=utf-8
|
93
|
-
date:
|
94
|
-
- Thu, 28 Jun 2012 22:26:05 GMT
|
95
|
-
server:
|
96
|
-
- nginx/1.0.12
|
97
|
-
content-length:
|
98
|
-
- '132'
|
99
|
-
connection:
|
100
|
-
- Close
|
101
|
-
body:
|
102
|
-
encoding: US-ASCII
|
103
|
-
string: ! '{"code": 400, "status": {"code": -1204, "extra": ["This source is
|
104
|
-
being used and cannot be deleted now"], "message": "Bad request"}}'
|
105
|
-
http_version: '1.1'
|
106
|
-
recorded_at: Thu, 28 Jun 2012 22:28:18 GMT
|
107
|
-
- request:
|
108
|
-
method: delete
|
109
|
-
uri: https://bigml.io/andromeda/source/4fecda41035d0741f1003314?username=<USERNAME>&api_key=<API_KEY>
|
110
|
-
body:
|
111
|
-
encoding: US-ASCII
|
112
|
-
string: ''
|
113
|
-
headers:
|
114
|
-
connection:
|
115
|
-
- close
|
116
|
-
response:
|
117
|
-
status:
|
118
|
-
code: 400
|
119
|
-
message: BAD REQUEST
|
120
|
-
headers:
|
121
|
-
content-type:
|
122
|
-
- application/json; charset=utf-8
|
123
|
-
date:
|
124
|
-
- Thu, 28 Jun 2012 22:23:33 GMT
|
125
|
-
server:
|
126
|
-
- nginx/1.0.12
|
127
|
-
content-length:
|
128
|
-
- '132'
|
129
|
-
connection:
|
130
|
-
- Close
|
131
|
-
body:
|
132
|
-
encoding: US-ASCII
|
133
|
-
string: ! '{"code": 400, "status": {"code": -1204, "extra": ["This source is
|
134
|
-
being used and cannot be deleted now"], "message": "Bad request"}}'
|
30
|
+
"total_count": 1}, "objects": [{"category": 0, "code": 200, "content_type":
|
31
|
+
"application/octet-stream", "created": "2012-07-14T15:31:34.282000", "credits":
|
32
|
+
0.0, "description": "", "dev": true, "fields": {"000000": {"column_number":
|
33
|
+
0, "name": "sepal length", "optype": "numeric"}, "000001": {"column_number":
|
34
|
+
1, "name": "sepal width", "optype": "numeric"}, "000002": {"column_number":
|
35
|
+
2, "name": "petal length", "optype": "numeric"}, "000003": {"column_number":
|
36
|
+
3, "name": "petal width", "optype": "numeric"}, "000004": {"column_number":
|
37
|
+
4, "name": "species", "optype": "categorical"}}, "file_name": "iris.csv",
|
38
|
+
"md5": "d1175c032e1042bec7f974c91e4a65ae", "name": "iris.csv", "number_of_datasets":
|
39
|
+
1, "number_of_models": 1, "number_of_predictions": 0, "private": true, "resource":
|
40
|
+
"source/500190d6035d075696000016", "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": 71, "message": "The source has been created"}, "tags":
|
45
|
+
[], "type": 0, "updated": "2012-07-14T15:32:41.461000"}]}'
|
135
46
|
http_version: '1.1'
|
136
|
-
recorded_at:
|
47
|
+
recorded_at: Sat, 14 Jul 2012 15:32:08 GMT
|
137
48
|
- request:
|
138
49
|
method: delete
|
139
|
-
uri: https://bigml.io/andromeda/source/
|
50
|
+
uri: https://bigml.io/dev/andromeda/source/500190d6035d075696000016?username=<USERNAME>&api_key=<API_KEY>
|
140
51
|
body:
|
141
52
|
encoding: US-ASCII
|
142
53
|
string: ''
|
@@ -153,7 +64,7 @@ http_interactions:
|
|
153
64
|
content-type:
|
154
65
|
- text/html; charset=utf-8
|
155
66
|
date:
|
156
|
-
-
|
67
|
+
- Sat, 14 Jul 2012 15:26:08 GMT
|
157
68
|
server:
|
158
69
|
- nginx/1.0.12
|
159
70
|
connection:
|
@@ -162,10 +73,10 @@ http_interactions:
|
|
162
73
|
encoding: US-ASCII
|
163
74
|
string: ''
|
164
75
|
http_version: '1.1'
|
165
|
-
recorded_at:
|
76
|
+
recorded_at: Sat, 14 Jul 2012 15:32:11 GMT
|
166
77
|
- request:
|
167
78
|
method: get
|
168
|
-
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>
|
169
80
|
body:
|
170
81
|
encoding: US-ASCII
|
171
82
|
string: ''
|
@@ -180,67 +91,29 @@ http_interactions:
|
|
180
91
|
content-type:
|
181
92
|
- application/json; charset=utf-8
|
182
93
|
date:
|
183
|
-
-
|
94
|
+
- Sat, 14 Jul 2012 15:31:09 GMT
|
184
95
|
server:
|
185
96
|
- nginx/1.0.12
|
186
97
|
content-length:
|
187
|
-
- '
|
98
|
+
- '717'
|
188
99
|
connection:
|
189
100
|
- Close
|
190
101
|
body:
|
191
102
|
encoding: US-ASCII
|
192
103
|
string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
|
193
|
-
"total_count":
|
194
|
-
"created": "2012-
|
195
|
-
"", "locale": "en_US", "name": "iris'' dataset", "number_of_models":
|
196
|
-
0, "private": true, "resource": "dataset/
|
197
|
-
150, "size": 4608, "source": "source/
|
198
|
-
|
199
|
-
[], "message": "The
|
200
|
-
|
201
|
-
{"category": 0, "code": 200, "columns": 5, "created": "2012-06-28T22:27:15.108000",
|
202
|
-
"credits": 0.00439453125, "description": "", "locale": "en_US", "name": "iris''
|
203
|
-
dataset", "number_of_models": 0, "number_of_predictions": 0, "private": true,
|
204
|
-
"resource": "dataset/4fecda43035d0741ef003291", "rows": 150, "size": 4608,
|
205
|
-
"source": "source/4fecda41035d0741f1003314", "source_status": true, "status":
|
206
|
-
{"bytes": 4608, "code": 5, "elapsed": 35602, "field_errors": [], "message":
|
207
|
-
"The dataset has been created", "row_format_errors": [], "serialized_rows":
|
208
|
-
150}, "tags": [], "updated": "2012-06-28T22:27:47.157000"}]}'
|
209
|
-
http_version: '1.1'
|
210
|
-
recorded_at: Thu, 28 Jun 2012 22:28:23 GMT
|
211
|
-
- request:
|
212
|
-
method: delete
|
213
|
-
uri: https://bigml.io/andromeda/dataset/4fecda8a15526875f800332e?username=<USERNAME>&api_key=<API_KEY>
|
214
|
-
body:
|
215
|
-
encoding: US-ASCII
|
216
|
-
string: ''
|
217
|
-
headers:
|
218
|
-
connection:
|
219
|
-
- close
|
220
|
-
response:
|
221
|
-
status:
|
222
|
-
code: 400
|
223
|
-
message: BAD REQUEST
|
224
|
-
headers:
|
225
|
-
content-type:
|
226
|
-
- application/json; charset=utf-8
|
227
|
-
date:
|
228
|
-
- Thu, 28 Jun 2012 22:26:12 GMT
|
229
|
-
server:
|
230
|
-
- nginx/1.0.12
|
231
|
-
content-length:
|
232
|
-
- '132'
|
233
|
-
connection:
|
234
|
-
- Close
|
235
|
-
body:
|
236
|
-
encoding: US-ASCII
|
237
|
-
string: ! '{"code": 400, "status": {"code": -1204, "extra": ["The dataset is
|
238
|
-
being used and cannot be deleted now"], "message": "Bad request"}}'
|
104
|
+
"total_count": 1}, "objects": [{"category": 0, "code": 200, "columns": 5,
|
105
|
+
"created": "2012-07-14T15:31:35.577000", "credits": 0.00439453125, "description":
|
106
|
+
"", "dev": true, "locale": "en_US", "name": "iris'' dataset", "number_of_models":
|
107
|
+
1, "number_of_predictions": 0, "private": true, "resource": "dataset/500190d7035d075696000018",
|
108
|
+
"rows": 150, "size": 4608, "source": "source/500190d6035d075696000016", "source_status":
|
109
|
+
false, "status": {"bytes": 4608, "code": 5, "elapsed": 150, "field_errors":
|
110
|
+
[], "message": "The dataset has been created", "row_format_errors": [], "serialized_rows":
|
111
|
+
150}, "tags": [], "updated": "2012-07-14T15:32:41.467000"}]}'
|
239
112
|
http_version: '1.1'
|
240
|
-
recorded_at:
|
113
|
+
recorded_at: Sat, 14 Jul 2012 15:32:12 GMT
|
241
114
|
- request:
|
242
115
|
method: delete
|
243
|
-
uri: https://bigml.io/andromeda/dataset/
|
116
|
+
uri: https://bigml.io/dev/andromeda/dataset/500190d7035d075696000018?username=<USERNAME>&api_key=<API_KEY>
|
244
117
|
body:
|
245
118
|
encoding: US-ASCII
|
246
119
|
string: ''
|
@@ -257,7 +130,7 @@ http_interactions:
|
|
257
130
|
content-type:
|
258
131
|
- text/html; charset=utf-8
|
259
132
|
date:
|
260
|
-
-
|
133
|
+
- Sat, 14 Jul 2012 15:26:10 GMT
|
261
134
|
server:
|
262
135
|
- nginx/1.0.12
|
263
136
|
connection:
|
@@ -266,10 +139,10 @@ http_interactions:
|
|
266
139
|
encoding: US-ASCII
|
267
140
|
string: ''
|
268
141
|
http_version: '1.1'
|
269
|
-
recorded_at:
|
142
|
+
recorded_at: Sat, 14 Jul 2012 15:32:13 GMT
|
270
143
|
- request:
|
271
144
|
method: get
|
272
|
-
uri: https://bigml.io/andromeda/model?username=<USERNAME>&api_key=<API_KEY>
|
145
|
+
uri: https://bigml.io/dev/andromeda/model?username=<USERNAME>&api_key=<API_KEY>
|
273
146
|
body:
|
274
147
|
encoding: US-ASCII
|
275
148
|
string: ''
|
@@ -284,31 +157,31 @@ http_interactions:
|
|
284
157
|
content-type:
|
285
158
|
- application/json; charset=utf-8
|
286
159
|
date:
|
287
|
-
-
|
160
|
+
- Sat, 14 Jul 2012 15:31:11 GMT
|
288
161
|
server:
|
289
162
|
- nginx/1.0.12
|
290
163
|
content-length:
|
291
|
-
- '
|
164
|
+
- '846'
|
292
165
|
connection:
|
293
166
|
- Close
|
294
167
|
body:
|
295
168
|
encoding: US-ASCII
|
296
169
|
string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
|
297
170
|
"total_count": 1}, "objects": [{"category": 0, "code": 200, "columns": 5,
|
298
|
-
"created": "2012-
|
299
|
-
"dataset/
|
300
|
-
"", "holdout": 0.0, "input_fields": ["000000", "000001", "000002",
|
301
|
-
"locale": "en_US", "max_columns": 5, "max_rows": 150, "name": "foo
|
302
|
-
"number_of_predictions": 0, "objective_fields": ["000004"], "private":
|
303
|
-
"range": [1, 150], "resource": "model/
|
304
|
-
"size": 4608, "source": "source/
|
305
|
-
|
306
|
-
created", "progress": 1}, "tags": [], "updated": "2012-
|
171
|
+
"created": "2012-07-14T15:32:41.426000", "credits": 0.017578125, "dataset":
|
172
|
+
"dataset/500190d7035d075696000018", "dataset_status": false, "description":
|
173
|
+
"", "dev": true, "holdout": 0.0, "input_fields": ["000000", "000001", "000002",
|
174
|
+
"000003"], "locale": "en_US", "max_columns": 5, "max_rows": 150, "name": "foo
|
175
|
+
name", "number_of_predictions": 0, "objective_fields": ["000004"], "private":
|
176
|
+
true, "range": [1, 150], "resource": "model/500191191552681c6000002e", "rows":
|
177
|
+
150, "size": 4608, "source": "source/500190d6035d075696000016", "source_status":
|
178
|
+
false, "status": {"code": 5, "elapsed": 151, "message": "The model has been
|
179
|
+
created", "progress": 1}, "tags": [], "updated": "2012-07-14T15:32:43.303000"}]}'
|
307
180
|
http_version: '1.1'
|
308
|
-
recorded_at:
|
181
|
+
recorded_at: Sat, 14 Jul 2012 15:32:14 GMT
|
309
182
|
- request:
|
310
183
|
method: delete
|
311
|
-
uri: https://bigml.io/andromeda/model/
|
184
|
+
uri: https://bigml.io/dev/andromeda/model/500191191552681c6000002e?username=<USERNAME>&api_key=<API_KEY>
|
312
185
|
body:
|
313
186
|
encoding: US-ASCII
|
314
187
|
string: ''
|
@@ -325,7 +198,7 @@ http_interactions:
|
|
325
198
|
content-type:
|
326
199
|
- text/html; charset=utf-8
|
327
200
|
date:
|
328
|
-
-
|
201
|
+
- Sat, 14 Jul 2012 15:26:14 GMT
|
329
202
|
server:
|
330
203
|
- nginx/1.0.12
|
331
204
|
connection:
|
@@ -334,10 +207,10 @@ http_interactions:
|
|
334
207
|
encoding: US-ASCII
|
335
208
|
string: ''
|
336
209
|
http_version: '1.1'
|
337
|
-
recorded_at:
|
210
|
+
recorded_at: Sat, 14 Jul 2012 15:32:18 GMT
|
338
211
|
- request:
|
339
212
|
method: post
|
340
|
-
uri: https://bigml.io/andromeda/source
|
213
|
+
uri: https://bigml.io/dev/andromeda/source
|
341
214
|
body:
|
342
215
|
encoding: US-ASCII
|
343
216
|
string: ''
|
@@ -345,7 +218,7 @@ http_interactions:
|
|
345
218
|
content-type:
|
346
219
|
- multipart/form-data; boundary=-----------RubyMultipartPost
|
347
220
|
content-length:
|
348
|
-
- '
|
221
|
+
- '5149'
|
349
222
|
connection:
|
350
223
|
- close
|
351
224
|
response:
|
@@ -356,33 +229,33 @@ http_interactions:
|
|
356
229
|
content-type:
|
357
230
|
- application/json; charset=utf-8
|
358
231
|
date:
|
359
|
-
-
|
232
|
+
- Sat, 14 Jul 2012 15:31:16 GMT
|
360
233
|
location:
|
361
|
-
- http://bigml.io/andromeda/source/
|
234
|
+
- http://bigml.io/andromeda/source/500191281552681c60000032
|
362
235
|
server:
|
363
236
|
- nginx/1.0.12
|
364
237
|
content-length:
|
365
|
-
- '
|
238
|
+
- '580'
|
366
239
|
connection:
|
367
240
|
- Close
|
368
241
|
body:
|
369
242
|
encoding: US-ASCII
|
370
243
|
string: ! '{"category": 0, "code": 201, "content_type": "application/octet-stream",
|
371
|
-
"created": "2012-
|
372
|
-
"file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae",
|
373
|
-
"iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
|
374
|
-
0, "private": true, "resource": "source/
|
244
|
+
"created": "2012-07-14T15:32:56.600498", "credits": 0.0, "description": "",
|
245
|
+
"dev": true, "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae",
|
246
|
+
"name": "iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
|
247
|
+
0, "private": true, "resource": "source/500191281552681c60000032", "size":
|
375
248
|
4608, "source_parser": {}, "status": {"code": 1, "message": "The request has
|
376
249
|
been queued and will be processed soon"}, "tags": [], "type": 0, "updated":
|
377
|
-
"2012-
|
250
|
+
"2012-07-14T15:32:56.600529"}'
|
378
251
|
http_version: '1.1'
|
379
|
-
recorded_at:
|
252
|
+
recorded_at: Sat, 14 Jul 2012 15:32:19 GMT
|
380
253
|
- request:
|
381
254
|
method: post
|
382
|
-
uri: https://bigml.io/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
|
255
|
+
uri: https://bigml.io/dev/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
|
383
256
|
body:
|
384
257
|
encoding: UTF-8
|
385
|
-
string: ! '{"source":"source/
|
258
|
+
string: ! '{"source":"source/500191281552681c60000032"}'
|
386
259
|
headers:
|
387
260
|
content-type:
|
388
261
|
- application/json
|
@@ -396,37 +269,37 @@ http_interactions:
|
|
396
269
|
content-type:
|
397
270
|
- application/json; charset=utf-8
|
398
271
|
date:
|
399
|
-
-
|
272
|
+
- Sat, 14 Jul 2012 15:26:18 GMT
|
400
273
|
location:
|
401
|
-
- http://bigml.io/andromeda/dataset/
|
274
|
+
- http://bigml.io/andromeda/dataset/500190ea035d0741ca000038
|
402
275
|
server:
|
403
276
|
- nginx/1.0.12
|
404
277
|
content-length:
|
405
|
-
- '
|
278
|
+
- '934'
|
406
279
|
connection:
|
407
280
|
- Close
|
408
281
|
body:
|
409
282
|
encoding: US-ASCII
|
410
|
-
string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-
|
411
|
-
"credits": 0.00439453125, "description": "", "
|
412
|
-
0, "name": "sepal length", "optype": "numeric"}, "000001":
|
413
|
-
1, "name": "sepal width", "optype": "numeric"}, "000002":
|
414
|
-
2, "name": "petal length", "optype": "numeric"}, "000003":
|
415
|
-
3, "name": "petal width", "optype": "numeric"}, "000004":
|
416
|
-
4, "name": "species", "optype": "categorical"}}, "locale":
|
417
|
-
"iris'' dataset", "number_of_models": 0, "number_of_predictions":
|
418
|
-
true, "resource": "dataset/
|
419
|
-
"source": "source/
|
420
|
-
{"code": 1, "message": "The dataset is being processed and
|
421
|
-
soon"}, "tags": [], "updated": "2012-
|
283
|
+
string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-07-14T15:31:54.232262",
|
284
|
+
"credits": 0.00439453125, "description": "", "dev": true, "fields": {"000000":
|
285
|
+
{"column_number": 0, "name": "sepal length", "optype": "numeric"}, "000001":
|
286
|
+
{"column_number": 1, "name": "sepal width", "optype": "numeric"}, "000002":
|
287
|
+
{"column_number": 2, "name": "petal length", "optype": "numeric"}, "000003":
|
288
|
+
{"column_number": 3, "name": "petal width", "optype": "numeric"}, "000004":
|
289
|
+
{"column_number": 4, "name": "species", "optype": "categorical"}}, "locale":
|
290
|
+
"en_US", "name": "iris'' dataset", "number_of_models": 0, "number_of_predictions":
|
291
|
+
0, "private": true, "resource": "dataset/500190ea035d0741ca000038", "rows":
|
292
|
+
0, "size": 4608, "source": "source/500191281552681c60000032", "source_status":
|
293
|
+
true, "status": {"code": 1, "message": "The dataset is being processed and
|
294
|
+
will be created soon"}, "tags": [], "updated": "2012-07-14T15:31:54.232282"}'
|
422
295
|
http_version: '1.1'
|
423
|
-
recorded_at:
|
296
|
+
recorded_at: Sat, 14 Jul 2012 15:32:21 GMT
|
424
297
|
- request:
|
425
298
|
method: post
|
426
|
-
uri: https://bigml.io/andromeda/model?username=<USERNAME>&api_key=<API_KEY>
|
299
|
+
uri: https://bigml.io/dev/andromeda/model?username=<USERNAME>&api_key=<API_KEY>
|
427
300
|
body:
|
428
301
|
encoding: UTF-8
|
429
|
-
string: ! '{"dataset":"dataset/
|
302
|
+
string: ! '{"dataset":"dataset/500190ea035d0741ca000038"}'
|
430
303
|
headers:
|
431
304
|
content-type:
|
432
305
|
- application/json
|
@@ -440,30 +313,31 @@ http_interactions:
|
|
440
313
|
content-type:
|
441
314
|
- application/json; charset=utf-8
|
442
315
|
date:
|
443
|
-
-
|
316
|
+
- Sat, 14 Jul 2012 15:31:19 GMT
|
444
317
|
location:
|
445
|
-
- http://bigml.io/andromeda/model/
|
318
|
+
- http://bigml.io/andromeda/model/500190eb035d074059000053
|
446
319
|
server:
|
447
320
|
- nginx/1.0.12
|
448
321
|
content-length:
|
449
|
-
- '
|
322
|
+
- '704'
|
450
323
|
connection:
|
451
324
|
- Close
|
452
325
|
body:
|
453
326
|
encoding: US-ASCII
|
454
|
-
string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-
|
455
|
-
"credits": 0.017578125, "dataset": "dataset/
|
456
|
-
true, "description": "", "holdout": 0.0, "input_fields": [],
|
457
|
-
"max_columns": 5, "max_rows": 150, "name": "iris'' dataset
|
458
|
-
|
459
|
-
"
|
460
|
-
"
|
461
|
-
|
327
|
+
string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-07-14T15:31:55.641221",
|
328
|
+
"credits": 0.017578125, "dataset": "dataset/500190ea035d0741ca000038", "dataset_status":
|
329
|
+
true, "description": "", "dev": true, "holdout": 0.0, "input_fields": [],
|
330
|
+
"locale": "en_US", "max_columns": 5, "max_rows": 150, "name": "iris'' dataset
|
331
|
+
model", "number_of_predictions": 0, "objective_fields": [], "private": true,
|
332
|
+
"range": [1, 150], "resource": "model/500190eb035d074059000053", "rows": 150,
|
333
|
+
"size": 4608, "source": "source/500191281552681c60000032", "source_status":
|
334
|
+
true, "status": {"code": 1, "message": "The model is being processed and will
|
335
|
+
be created soon"}, "tags": [], "updated": "2012-07-14T15:31:55.641247"}'
|
462
336
|
http_version: '1.1'
|
463
|
-
recorded_at:
|
337
|
+
recorded_at: Sat, 14 Jul 2012 15:32:22 GMT
|
464
338
|
- request:
|
465
339
|
method: put
|
466
|
-
uri: https://bigml.io/andromeda/model/
|
340
|
+
uri: https://bigml.io/dev/andromeda/model/500190eb035d074059000053?username=<USERNAME>&api_key=<API_KEY>
|
467
341
|
body:
|
468
342
|
encoding: UTF-8
|
469
343
|
string: ! '{"name":"foo name"}'
|
@@ -480,20 +354,20 @@ http_interactions:
|
|
480
354
|
content-type:
|
481
355
|
- application/json; charset=utf-8
|
482
356
|
date:
|
483
|
-
-
|
357
|
+
- Sat, 14 Jul 2012 15:26:21 GMT
|
484
358
|
server:
|
485
359
|
- nginx/1.0.12
|
486
|
-
|
487
|
-
-
|
360
|
+
transfer-encoding:
|
361
|
+
- chunked
|
488
362
|
connection:
|
489
363
|
- Close
|
490
364
|
body:
|
491
365
|
encoding: US-ASCII
|
492
|
-
string: ! '{"category": 0, "code": 202, "columns": 5, "created": "2012-
|
493
|
-
"credits": 0.017578125, "dataset": "dataset/
|
494
|
-
true, "description": "", "holdout": 0.0, "input_fields": ["000000",
|
495
|
-
"000002", "000003"], "locale": "en_US", "max_columns": 5, "max_rows":
|
496
|
-
"model": {"fields": {"000000": {"column_number": 0, "datatype": "double",
|
366
|
+
string: ! '{"category": 0, "code": 202, "columns": 5, "created": "2012-07-14T15:31:55.641000",
|
367
|
+
"credits": 0.017578125, "dataset": "dataset/500190ea035d0741ca000038", "dataset_status":
|
368
|
+
true, "description": "", "dev": true, "holdout": 0.0, "input_fields": ["000000",
|
369
|
+
"000001", "000002", "000003"], "locale": "en_US", "max_columns": 5, "max_rows":
|
370
|
+
150, "model": {"fields": {"000000": {"column_number": 0, "datatype": "double",
|
497
371
|
"name": "sepal length", "optype": "numeric", "preferred": true, "summary":
|
498
372
|
{"maximum": 7.9, "median": 5.77889, "minimum": 4.3, "missing_count": 0, "population":
|
499
373
|
150, "splits": [4.51526, 4.67252, 4.81113, 4.89582, 4.96139, 5.01131, 5.05992,
|
@@ -567,15 +441,15 @@ http_interactions:
|
|
567
441
|
50], ["Iris-versicolor", 50], ["Iris-setosa", 50]], "output": "Iris-virginica",
|
568
442
|
"predicate": true}, "row_range": {"size": 150, "start": 0}}, "name": "foo
|
569
443
|
name", "number_of_predictions": 0, "objective_fields": ["000004"], "private":
|
570
|
-
true, "range": [1, 150], "resource": "model/
|
571
|
-
150, "size": 4608, "source": "source/
|
572
|
-
true, "status": {"code": 5, "elapsed":
|
573
|
-
created", "progress": 1}, "tags": [], "updated": "2012-
|
444
|
+
true, "range": [1, 150], "resource": "model/500190eb035d074059000053", "rows":
|
445
|
+
150, "size": 4608, "source": "source/500191281552681c60000032", "source_status":
|
446
|
+
true, "status": {"code": 5, "elapsed": 139, "message": "The model has been
|
447
|
+
created", "progress": 1}, "tags": [], "updated": "2012-07-14T15:33:01.060706"}'
|
574
448
|
http_version: '1.1'
|
575
|
-
recorded_at:
|
449
|
+
recorded_at: Sat, 14 Jul 2012 15:32:24 GMT
|
576
450
|
- request:
|
577
451
|
method: get
|
578
|
-
uri: https://bigml.io/andromeda/model/
|
452
|
+
uri: https://bigml.io/dev/andromeda/model/500190eb035d074059000053?username=<USERNAME>&api_key=<API_KEY>
|
579
453
|
body:
|
580
454
|
encoding: US-ASCII
|
581
455
|
string: ''
|
@@ -590,20 +464,20 @@ http_interactions:
|
|
590
464
|
content-type:
|
591
465
|
- application/json; charset=utf-8
|
592
466
|
date:
|
593
|
-
-
|
467
|
+
- Sat, 14 Jul 2012 15:31:22 GMT
|
594
468
|
server:
|
595
469
|
- nginx/1.0.12
|
596
|
-
|
597
|
-
-
|
470
|
+
transfer-encoding:
|
471
|
+
- chunked
|
598
472
|
connection:
|
599
473
|
- Close
|
600
474
|
body:
|
601
475
|
encoding: US-ASCII
|
602
|
-
string: ! '{"category": 0, "code": 200, "columns": 5, "created": "2012-
|
603
|
-
"credits": 0.017578125, "dataset": "dataset/
|
604
|
-
true, "description": "", "holdout": 0.0, "input_fields": ["000000",
|
605
|
-
"000002", "000003"], "locale": "en_US", "max_columns": 5, "max_rows":
|
606
|
-
"model": {"fields": {"000000": {"column_number": 0, "datatype": "double",
|
476
|
+
string: ! '{"category": 0, "code": 200, "columns": 5, "created": "2012-07-14T15:31:55.641000",
|
477
|
+
"credits": 0.017578125, "dataset": "dataset/500190ea035d0741ca000038", "dataset_status":
|
478
|
+
true, "description": "", "dev": true, "holdout": 0.0, "input_fields": ["000000",
|
479
|
+
"000001", "000002", "000003"], "locale": "en_US", "max_columns": 5, "max_rows":
|
480
|
+
150, "model": {"fields": {"000000": {"column_number": 0, "datatype": "double",
|
607
481
|
"name": "sepal length", "optype": "numeric", "preferred": true, "summary":
|
608
482
|
{"maximum": 7.9, "median": 5.77889, "minimum": 4.3, "missing_count": 0, "population":
|
609
483
|
150, "splits": [4.51526, 4.67252, 4.81113, 4.89582, 4.96139, 5.01131, 5.05992,
|
@@ -677,10 +551,10 @@ http_interactions:
|
|
677
551
|
50], ["Iris-versicolor", 50], ["Iris-setosa", 50]], "output": "Iris-virginica",
|
678
552
|
"predicate": true}, "row_range": {"size": 150, "start": 0}}, "name": "foo
|
679
553
|
name", "number_of_predictions": 0, "objective_fields": ["000004"], "private":
|
680
|
-
true, "range": [1, 150], "resource": "model/
|
681
|
-
150, "size": 4608, "source": "source/
|
682
|
-
true, "status": {"code": 5, "elapsed":
|
683
|
-
created", "progress": 1}, "tags": [], "updated": "2012-
|
554
|
+
true, "range": [1, 150], "resource": "model/500190eb035d074059000053", "rows":
|
555
|
+
150, "size": 4608, "source": "source/500191281552681c60000032", "source_status":
|
556
|
+
true, "status": {"code": 5, "elapsed": 139, "message": "The model has been
|
557
|
+
created", "progress": 1}, "tags": [], "updated": "2012-07-14T15:33:01.179000"}'
|
684
558
|
http_version: '1.1'
|
685
|
-
recorded_at:
|
559
|
+
recorded_at: Sat, 14 Jul 2012 15:32:25 GMT
|
686
560
|
recorded_with: VCR 2.2.2
|