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
@@ -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
|
-
-
|
20
|
+
- Sat, 14 Jul 2012 15:29:15 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
30
|
"total_count": 1}, "objects": [{"category": 0, "code": 200, "content_type":
|
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
|
-
"
|
31
|
+
"application/octet-stream", "created": "2012-07-14T15:30:50.846000", "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/500190aa1552681edf000035", "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": 92, "message": "The source has been created"}, "tags":
|
45
|
+
[], "type": 0, "updated": "2012-07-14T15:29:50.575000"}]}'
|
45
46
|
http_version: '1.1'
|
46
|
-
recorded_at:
|
47
|
+
recorded_at: Sat, 14 Jul 2012 15:30:18 GMT
|
47
48
|
- request:
|
48
49
|
method: delete
|
49
|
-
uri: https://bigml.io/andromeda/source/
|
50
|
+
uri: https://bigml.io/dev/andromeda/source/500190aa1552681edf000035?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
|
-
-
|
67
|
+
- Sat, 14 Jul 2012 15:24:18 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:
|
76
|
+
recorded_at: Sat, 14 Jul 2012 15:30:21 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
|
-
-
|
94
|
+
- Sat, 14 Jul 2012 15:29:19 GMT
|
94
95
|
server:
|
95
96
|
- nginx/1.0.12
|
96
|
-
|
97
|
-
-
|
97
|
+
content-length:
|
98
|
+
- '717'
|
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-
|
105
|
-
"", "locale": "en_US", "name": "iris'' dataset", "number_of_models":
|
106
|
-
0, "private": true, "resource": "dataset/
|
107
|
-
150, "size": 4608, "source": "source/
|
108
|
-
false, "status": {"bytes": 4608, "code": 5, "elapsed":
|
105
|
+
"created": "2012-07-14T15:29:48.713000", "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/5001906c035d0741ca00002a",
|
108
|
+
"rows": 150, "size": 4608, "source": "source/500190aa1552681edf000035", "source_status":
|
109
|
+
false, "status": {"bytes": 4608, "code": 5, "elapsed": 207, "field_errors":
|
109
110
|
[], "message": "The dataset has been created", "row_format_errors": [], "serialized_rows":
|
110
|
-
150}, "tags": [], "updated": "2012-
|
111
|
+
150}, "tags": [], "updated": "2012-07-14T15:29:50.581000"}]}'
|
111
112
|
http_version: '1.1'
|
112
|
-
recorded_at:
|
113
|
+
recorded_at: Sat, 14 Jul 2012 15:30:22 GMT
|
113
114
|
- request:
|
114
115
|
method: delete
|
115
|
-
uri: https://bigml.io/andromeda/dataset/
|
116
|
+
uri: https://bigml.io/dev/andromeda/dataset/5001906c035d0741ca00002a?username=<USERNAME>&api_key=<API_KEY>
|
116
117
|
body:
|
117
118
|
encoding: US-ASCII
|
118
119
|
string: ''
|
@@ -121,27 +122,29 @@ http_interactions:
|
|
121
122
|
- close
|
122
123
|
response:
|
123
124
|
status:
|
124
|
-
code:
|
125
|
-
message:
|
125
|
+
code: 404
|
126
|
+
message: NOT FOUND
|
126
127
|
headers:
|
127
|
-
content-length:
|
128
|
-
- '0'
|
129
128
|
content-type:
|
130
|
-
-
|
129
|
+
- application/json; charset=utf-8
|
131
130
|
date:
|
132
|
-
-
|
131
|
+
- Sat, 14 Jul 2012 15:24:20 GMT
|
133
132
|
server:
|
134
133
|
- nginx/1.0.12
|
134
|
+
content-length:
|
135
|
+
- '168'
|
135
136
|
connection:
|
136
137
|
- Close
|
137
138
|
body:
|
138
139
|
encoding: US-ASCII
|
139
|
-
string: ''
|
140
|
+
string: ! '{"code": 404, "status": {"code": -1201, "extra": ["Couldn''t find
|
141
|
+
an instance of ''Model'' which matched ''id=5001906e035d0741ca00002c''."],
|
142
|
+
"message": "Id does not exist"}}'
|
140
143
|
http_version: '1.1'
|
141
|
-
recorded_at:
|
144
|
+
recorded_at: Sat, 14 Jul 2012 15:30:23 GMT
|
142
145
|
- request:
|
143
146
|
method: get
|
144
|
-
uri: https://bigml.io/andromeda/model?username=<USERNAME>&api_key=<API_KEY>
|
147
|
+
uri: https://bigml.io/dev/andromeda/model?username=<USERNAME>&api_key=<API_KEY>
|
145
148
|
body:
|
146
149
|
encoding: US-ASCII
|
147
150
|
string: ''
|
@@ -156,31 +159,31 @@ http_interactions:
|
|
156
159
|
content-type:
|
157
160
|
- application/json; charset=utf-8
|
158
161
|
date:
|
159
|
-
-
|
162
|
+
- Sat, 14 Jul 2012 15:29:21 GMT
|
160
163
|
server:
|
161
164
|
- nginx/1.0.12
|
162
165
|
content-length:
|
163
|
-
- '
|
166
|
+
- '856'
|
164
167
|
connection:
|
165
168
|
- Close
|
166
169
|
body:
|
167
170
|
encoding: US-ASCII
|
168
171
|
string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
|
169
172
|
"total_count": 1}, "objects": [{"category": 0, "code": 200, "columns": 5,
|
170
|
-
"created": "2012-
|
171
|
-
"dataset/
|
172
|
-
"", "holdout": 0.0, "input_fields": ["000000", "000001", "000002",
|
173
|
-
"locale": "en_US", "max_columns": 5, "max_rows": 150, "name": "iris''
|
174
|
-
model", "number_of_predictions": 0, "objective_fields": ["000004"],
|
175
|
-
true, "range": [1, 150], "resource": "model/
|
176
|
-
150, "size": 4608, "source": "source/
|
177
|
-
false, "status": {"code": 5, "elapsed":
|
178
|
-
created", "progress": 1}, "tags": [], "updated": "2012-
|
173
|
+
"created": "2012-07-14T15:29:50.570000", "credits": 0.017578125, "dataset":
|
174
|
+
"dataset/5001906c035d0741ca00002a", "dataset_status": true, "description":
|
175
|
+
"", "dev": true, "holdout": 0.0, "input_fields": ["000000", "000001", "000002",
|
176
|
+
"000003"], "locale": "en_US", "max_columns": 5, "max_rows": 150, "name": "iris''
|
177
|
+
dataset model", "number_of_predictions": 0, "objective_fields": ["000004"],
|
178
|
+
"private": true, "range": [1, 150], "resource": "model/5001906e035d0741ca00002c",
|
179
|
+
"rows": 150, "size": 4608, "source": "source/500190aa1552681edf000035", "source_status":
|
180
|
+
false, "status": {"code": 5, "elapsed": 136, "message": "The model has been
|
181
|
+
created", "progress": 1}, "tags": [], "updated": "2012-07-14T15:29:50.751000"}]}'
|
179
182
|
http_version: '1.1'
|
180
|
-
recorded_at:
|
183
|
+
recorded_at: Sat, 14 Jul 2012 15:30:24 GMT
|
181
184
|
- request:
|
182
185
|
method: delete
|
183
|
-
uri: https://bigml.io/andromeda/model/
|
186
|
+
uri: https://bigml.io/dev/andromeda/model/5001906e035d0741ca00002c?username=<USERNAME>&api_key=<API_KEY>
|
184
187
|
body:
|
185
188
|
encoding: US-ASCII
|
186
189
|
string: ''
|
@@ -197,7 +200,7 @@ http_interactions:
|
|
197
200
|
content-type:
|
198
201
|
- text/html; charset=utf-8
|
199
202
|
date:
|
200
|
-
-
|
203
|
+
- Sat, 14 Jul 2012 15:24:25 GMT
|
201
204
|
server:
|
202
205
|
- nginx/1.0.12
|
203
206
|
connection:
|
@@ -206,10 +209,10 @@ http_interactions:
|
|
206
209
|
encoding: US-ASCII
|
207
210
|
string: ''
|
208
211
|
http_version: '1.1'
|
209
|
-
recorded_at:
|
212
|
+
recorded_at: Sat, 14 Jul 2012 15:30:28 GMT
|
210
213
|
- request:
|
211
214
|
method: post
|
212
|
-
uri: https://bigml.io/andromeda/source
|
215
|
+
uri: https://bigml.io/dev/andromeda/source
|
213
216
|
body:
|
214
217
|
encoding: US-ASCII
|
215
218
|
string: ''
|
@@ -217,7 +220,7 @@ http_interactions:
|
|
217
220
|
content-type:
|
218
221
|
- multipart/form-data; boundary=-----------RubyMultipartPost
|
219
222
|
content-length:
|
220
|
-
- '
|
223
|
+
- '5149'
|
221
224
|
connection:
|
222
225
|
- close
|
223
226
|
response:
|
@@ -228,33 +231,33 @@ http_interactions:
|
|
228
231
|
content-type:
|
229
232
|
- application/json; charset=utf-8
|
230
233
|
date:
|
231
|
-
-
|
234
|
+
- Sat, 14 Jul 2012 15:29:26 GMT
|
232
235
|
location:
|
233
|
-
- http://bigml.io/andromeda/source/
|
236
|
+
- http://bigml.io/andromeda/source/5001907a035d0741ca00002e
|
234
237
|
server:
|
235
238
|
- nginx/1.0.12
|
236
239
|
content-length:
|
237
|
-
- '
|
240
|
+
- '580'
|
238
241
|
connection:
|
239
242
|
- Close
|
240
243
|
body:
|
241
244
|
encoding: US-ASCII
|
242
245
|
string: ! '{"category": 0, "code": 201, "content_type": "application/octet-stream",
|
243
|
-
"created": "2012-
|
244
|
-
"file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae",
|
245
|
-
"iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
|
246
|
-
0, "private": true, "resource": "source/
|
246
|
+
"created": "2012-07-14T15:30:02.555328", "credits": 0.0, "description": "",
|
247
|
+
"dev": true, "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae",
|
248
|
+
"name": "iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
|
249
|
+
0, "private": true, "resource": "source/5001907a035d0741ca00002e", "size":
|
247
250
|
4608, "source_parser": {}, "status": {"code": 1, "message": "The request has
|
248
251
|
been queued and will be processed soon"}, "tags": [], "type": 0, "updated":
|
249
|
-
"2012-
|
252
|
+
"2012-07-14T15:30:02.555351"}'
|
250
253
|
http_version: '1.1'
|
251
|
-
recorded_at:
|
254
|
+
recorded_at: Sat, 14 Jul 2012 15:30:29 GMT
|
252
255
|
- request:
|
253
256
|
method: post
|
254
|
-
uri: https://bigml.io/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
|
257
|
+
uri: https://bigml.io/dev/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
|
255
258
|
body:
|
256
259
|
encoding: UTF-8
|
257
|
-
string: ! '{"source":"source/
|
260
|
+
string: ! '{"source":"source/5001907a035d0741ca00002e"}'
|
258
261
|
headers:
|
259
262
|
content-type:
|
260
263
|
- application/json
|
@@ -268,37 +271,37 @@ http_interactions:
|
|
268
271
|
content-type:
|
269
272
|
- application/json; charset=utf-8
|
270
273
|
date:
|
271
|
-
-
|
274
|
+
- Sat, 14 Jul 2012 15:24:28 GMT
|
272
275
|
location:
|
273
|
-
- http://bigml.io/andromeda/dataset/
|
276
|
+
- http://bigml.io/andromeda/dataset/5001907c035d0741ca000031
|
274
277
|
server:
|
275
278
|
- nginx/1.0.12
|
276
279
|
content-length:
|
277
|
-
- '
|
280
|
+
- '934'
|
278
281
|
connection:
|
279
282
|
- Close
|
280
283
|
body:
|
281
284
|
encoding: US-ASCII
|
282
|
-
string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-
|
283
|
-
"credits": 0.00439453125, "description": "", "
|
284
|
-
0, "name": "sepal length", "optype": "numeric"}, "000001":
|
285
|
-
1, "name": "sepal width", "optype": "numeric"}, "000002":
|
286
|
-
2, "name": "petal length", "optype": "numeric"}, "000003":
|
287
|
-
3, "name": "petal width", "optype": "numeric"}, "000004":
|
288
|
-
4, "name": "species", "optype": "categorical"}}, "locale":
|
289
|
-
"iris'' dataset", "number_of_models": 0, "number_of_predictions":
|
290
|
-
true, "resource": "dataset/
|
291
|
-
"source": "source/
|
292
|
-
{"code": 1, "message": "The dataset is being processed and
|
293
|
-
soon"}, "tags": [], "updated": "2012-
|
285
|
+
string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-07-14T15:30:04.037906",
|
286
|
+
"credits": 0.00439453125, "description": "", "dev": true, "fields": {"000000":
|
287
|
+
{"column_number": 0, "name": "sepal length", "optype": "numeric"}, "000001":
|
288
|
+
{"column_number": 1, "name": "sepal width", "optype": "numeric"}, "000002":
|
289
|
+
{"column_number": 2, "name": "petal length", "optype": "numeric"}, "000003":
|
290
|
+
{"column_number": 3, "name": "petal width", "optype": "numeric"}, "000004":
|
291
|
+
{"column_number": 4, "name": "species", "optype": "categorical"}}, "locale":
|
292
|
+
"en_US", "name": "iris'' dataset", "number_of_models": 0, "number_of_predictions":
|
293
|
+
0, "private": true, "resource": "dataset/5001907c035d0741ca000031", "rows":
|
294
|
+
0, "size": 4608, "source": "source/5001907a035d0741ca00002e", "source_status":
|
295
|
+
true, "status": {"code": 1, "message": "The dataset is being processed and
|
296
|
+
will be created soon"}, "tags": [], "updated": "2012-07-14T15:30:04.037925"}'
|
294
297
|
http_version: '1.1'
|
295
|
-
recorded_at:
|
298
|
+
recorded_at: Sat, 14 Jul 2012 15:30:31 GMT
|
296
299
|
- request:
|
297
300
|
method: post
|
298
|
-
uri: https://bigml.io/andromeda/model?username=<USERNAME>&api_key=<API_KEY>
|
301
|
+
uri: https://bigml.io/dev/andromeda/model?username=<USERNAME>&api_key=<API_KEY>
|
299
302
|
body:
|
300
303
|
encoding: UTF-8
|
301
|
-
string: ! '{"dataset":"dataset/
|
304
|
+
string: ! '{"dataset":"dataset/5001907c035d0741ca000031"}'
|
302
305
|
headers:
|
303
306
|
content-type:
|
304
307
|
- application/json
|
@@ -312,31 +315,31 @@ http_interactions:
|
|
312
315
|
content-type:
|
313
316
|
- application/json; charset=utf-8
|
314
317
|
date:
|
315
|
-
-
|
318
|
+
- Sat, 14 Jul 2012 15:29:30 GMT
|
316
319
|
location:
|
317
|
-
- http://bigml.io/andromeda/model/
|
320
|
+
- http://bigml.io/andromeda/model/500190be1552681edf000039
|
318
321
|
server:
|
319
322
|
- nginx/1.0.12
|
320
323
|
content-length:
|
321
|
-
- '
|
324
|
+
- '704'
|
322
325
|
connection:
|
323
326
|
- Close
|
324
327
|
body:
|
325
328
|
encoding: US-ASCII
|
326
|
-
string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-
|
327
|
-
"credits": 0.017578125, "dataset": "dataset/
|
328
|
-
true, "description": "", "
|
329
|
-
"
|
330
|
-
|
331
|
-
"
|
332
|
-
"
|
333
|
-
true, "status": {"code":
|
334
|
-
[], "updated": "2012-
|
329
|
+
string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-07-14T15:31:10.074721",
|
330
|
+
"credits": 0.017578125, "dataset": "dataset/5001907c035d0741ca000031", "dataset_status":
|
331
|
+
true, "description": "", "dev": true, "holdout": 0.0, "input_fields": [],
|
332
|
+
"locale": "en_US", "max_columns": 5, "max_rows": 150, "name": "iris'' dataset
|
333
|
+
model", "number_of_predictions": 0, "objective_fields": [], "private": true,
|
334
|
+
"range": [1, 150], "resource": "model/500190be1552681edf000039", "rows": 150,
|
335
|
+
"size": 4608, "source": "source/5001907a035d0741ca00002e", "source_status":
|
336
|
+
true, "status": {"code": 1, "message": "The model is being processed and will
|
337
|
+
be created soon"}, "tags": [], "updated": "2012-07-14T15:31:10.074766"}'
|
335
338
|
http_version: '1.1'
|
336
|
-
recorded_at:
|
339
|
+
recorded_at: Sat, 14 Jul 2012 15:30:33 GMT
|
337
340
|
- request:
|
338
341
|
method: get
|
339
|
-
uri: https://bigml.io/andromeda/model?username=<USERNAME>&api_key=<API_KEY>
|
342
|
+
uri: https://bigml.io/dev/andromeda/model?username=<USERNAME>&api_key=<API_KEY>
|
340
343
|
body:
|
341
344
|
encoding: US-ASCII
|
342
345
|
string: ''
|
@@ -351,25 +354,26 @@ http_interactions:
|
|
351
354
|
content-type:
|
352
355
|
- application/json; charset=utf-8
|
353
356
|
date:
|
354
|
-
-
|
357
|
+
- Sat, 14 Jul 2012 15:24:31 GMT
|
355
358
|
server:
|
356
359
|
- nginx/1.0.12
|
357
360
|
content-length:
|
358
|
-
- '
|
361
|
+
- '855'
|
359
362
|
connection:
|
360
363
|
- Close
|
361
364
|
body:
|
362
365
|
encoding: US-ASCII
|
363
366
|
string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
|
364
367
|
"total_count": 1}, "objects": [{"category": 0, "code": 200, "columns": 5,
|
365
|
-
"created": "2012-
|
366
|
-
"dataset/
|
367
|
-
"", "holdout": 0.0, "input_fields":
|
368
|
-
5, "max_rows": 150, "name": "iris''
|
369
|
-
|
370
|
-
"
|
371
|
-
"
|
372
|
-
|
368
|
+
"created": "2012-07-14T15:31:10.074000", "credits": 0.017578125, "dataset":
|
369
|
+
"dataset/5001907c035d0741ca000031", "dataset_status": true, "description":
|
370
|
+
"", "dev": true, "holdout": 0.0, "input_fields": ["000000", "000001", "000002",
|
371
|
+
"000003"], "locale": "en_US", "max_columns": 5, "max_rows": 150, "name": "iris''
|
372
|
+
dataset model", "number_of_predictions": 0, "objective_fields": ["000004"],
|
373
|
+
"private": true, "range": [1, 150], "resource": "model/500190be1552681edf000039",
|
374
|
+
"rows": 150, "size": 4608, "source": "source/5001907a035d0741ca00002e", "source_status":
|
375
|
+
true, "status": {"code": 5, "elapsed": 137, "message": "The model has been
|
376
|
+
created", "progress": 1}, "tags": [], "updated": "2012-07-14T15:31:10.292000"}]}'
|
373
377
|
http_version: '1.1'
|
374
|
-
recorded_at:
|
378
|
+
recorded_at: Sat, 14 Jul 2012 15:30:34 GMT
|
375
379
|
recorded_with: VCR 2.2.2
|