big_ml 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.rspec +1 -1
- data/.rvmrc.example +1 -1
- data/.travis.yml +1 -1
- data/README.md +6 -5
- data/lib/big_ml.rb +5 -0
- data/lib/big_ml/base.rb +31 -0
- data/lib/big_ml/batch_prediction.rb +39 -0
- data/lib/big_ml/ensemble.rb +32 -0
- data/lib/big_ml/evaluation.rb +31 -0
- data/lib/big_ml/prediction.rb +2 -2
- data/lib/big_ml/util/client.rb +1 -0
- data/lib/big_ml/util/config.rb +4 -1
- data/lib/big_ml/util/request.rb +9 -4
- data/lib/big_ml/version.rb +1 -1
- data/spec/integration/dataset_spec.rb +21 -23
- data/spec/integration/ensemble_spec.rb +73 -0
- data/spec/integration/evaluation_spec.rb +64 -0
- data/spec/integration/model_spec.rb +23 -25
- data/spec/integration/prediction_spec.rb +20 -22
- data/spec/integration/source_spec.rb +22 -24
- data/spec/spec_helper.rb +4 -3
- data/spec/units/client_spec.rb +58 -26
- data/spec/units/source_spec.rb +3 -3
- data/spec/vcr_cassettes/BigML_Dataset/one_dataset/can_be_converted_in_a_model.yml +180 -99
- data/spec/vcr_cassettes/BigML_Dataset/one_dataset/must_be_able_to_be_find_using_the_reference.yml +144 -163
- data/spec/vcr_cassettes/BigML_Ensemble/no_ensemble/_all/must_be_empty.yml +223 -0
- data/spec/vcr_cassettes/BigML_Ensemble/one_ensemble/can_be_converted_in_a_prediction.yml +1074 -0
- data/spec/vcr_cassettes/BigML_Ensemble/one_ensemble/must_be_able_to_be_deleted_using_the_destroy_method.yml +1082 -0
- data/spec/vcr_cassettes/BigML_Ensemble/one_ensemble/must_be_able_to_be_find_using_the_reference.yml +734 -0
- data/spec/vcr_cassettes/BigML_Ensemble/one_ensemble/must_be_able_to_remove_the_ensemble.yml +1215 -0
- data/spec/vcr_cassettes/BigML_Ensemble/one_ensemble/must_be_able_to_set_number_of_models.yml +853 -0
- data/spec/vcr_cassettes/BigML_Ensemble/one_ensemble/must_be_able_to_update_the_name.yml +1226 -0
- data/spec/vcr_cassettes/BigML_Ensemble/one_ensemble/must_be_able_to_update_the_name_from_the_instance.yml +1226 -0
- data/spec/vcr_cassettes/BigML_Ensemble/one_ensemble/must_have_only_one_item.yml +686 -0
- data/spec/vcr_cassettes/BigML_Ensemble/one_ensemble/must_have_the_same_size.yml +732 -0
- data/spec/vcr_cassettes/BigML_Ensemble/one_ensemble/was_created_successfully.yml +495 -0
- data/spec/vcr_cassettes/BigML_Evaluation/no_evaluation/_all/must_be_empty.yml +600 -0
- data/spec/vcr_cassettes/BigML_Evaluation/one_evaluation/must_be_able_to_be_deleted_using_the_destroy_method.yml +1127 -0
- data/spec/vcr_cassettes/BigML_Evaluation/one_evaluation/must_be_able_to_be_find_using_the_reference.yml +1151 -0
- data/spec/vcr_cassettes/BigML_Evaluation/one_evaluation/must_be_able_to_remove_the_evaluation.yml +1203 -0
- data/spec/vcr_cassettes/BigML_Evaluation/one_evaluation/must_be_able_to_update_the_name.yml +1374 -0
- data/spec/vcr_cassettes/BigML_Evaluation/one_evaluation/must_be_able_to_update_the_name_from_the_instance.yml +1373 -0
- data/spec/vcr_cassettes/BigML_Evaluation/one_evaluation/must_have_only_one_item.yml +1103 -0
- data/spec/vcr_cassettes/BigML_Evaluation/one_evaluation/must_have_the_same_name.yml +1108 -0
- data/spec/vcr_cassettes/BigML_Evaluation/one_evaluation/was_created_successfully.yml +922 -0
- data/spec/vcr_cassettes/BigML_Model/one_model/must_be_able_to_be_find_using_the_reference.yml +269 -282
- data/spec/vcr_cassettes/BigML_Prediction/one_prediction/must_be_able_to_be_find_using_the_reference.yml +360 -312
- data/spec/vcr_cassettes/BigML_Source/one_source/must_be_able_to_be_find_using_the_reference.yml +75 -72
- data/spec/vcr_cassettes/BigML_Util_Client/response_handling/debug_mode/raises_on_bad_request.yml +38 -0
- data/spec/vcr_cassettes/BigML_Util_Client/response_handling/normal_mode/does_not_raise_on_bad_request.yml +38 -0
- metadata +74 -43
@@ -0,0 +1,600 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://bigml.io/dev/andromeda/source?username=<USERNAME>&api_key=<API_KEY>
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers: {}
|
10
|
+
response:
|
11
|
+
status:
|
12
|
+
code: 200
|
13
|
+
message: OK
|
14
|
+
headers:
|
15
|
+
access-control-allow-methods:
|
16
|
+
- POST,GET,PUT,DELETE
|
17
|
+
access-control-allow-origin:
|
18
|
+
- "*"
|
19
|
+
content-type:
|
20
|
+
- application/json
|
21
|
+
date:
|
22
|
+
- Wed, 25 Jun 2014 14:17:25 GMT
|
23
|
+
server:
|
24
|
+
- nginx/1.0.12
|
25
|
+
vary:
|
26
|
+
- Accept-Encoding
|
27
|
+
content-length:
|
28
|
+
- '1002'
|
29
|
+
connection:
|
30
|
+
- Close
|
31
|
+
body:
|
32
|
+
encoding: UTF-8
|
33
|
+
string: '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
|
34
|
+
"total_count": 1}, "objects": [{"category": 0, "code": 200, "content_type":
|
35
|
+
"application/octet-stream", "created": "2014-06-25T14:16:35.374000", "credits":
|
36
|
+
0.0, "description": "", "dev": true, "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae",
|
37
|
+
"name": "iris.csv", "number_of_datasets": 1, "number_of_ensembles": 0, "number_of_models":
|
38
|
+
1, "number_of_predictions": 0, "private": true, "resource": "source/53aad9c3ffa04408550016af",
|
39
|
+
"shared": false, "size": 4608, "source_parser": {"header": true, "locale":
|
40
|
+
"en_US", "missing_tokens": ["", "NaN", "NULL", "N/A", "null", "-", "#REF!",
|
41
|
+
"#VALUE!", "?", "#NULL!", "#NUM!", "#DIV/0", "n/a", "#NAME?", "NIL", "nil",
|
42
|
+
"na", "#N/A", "NA"], "quote": "\"", "separator": ","}, "status": {"code":
|
43
|
+
5, "elapsed": 298, "message": "The source has been created"}, "subscription":
|
44
|
+
false, "tags": [], "term_analysis": {"enabled": true}, "type": 0, "updated":
|
45
|
+
"2014-06-25T14:16:38.690000"}]}'
|
46
|
+
http_version: '1.1'
|
47
|
+
recorded_at: Wed, 25 Jun 2014 14:17:25 GMT
|
48
|
+
- request:
|
49
|
+
method: delete
|
50
|
+
uri: https://bigml.io/dev/andromeda/source/53aad9c3ffa04408550016af?username=<USERNAME>&api_key=<API_KEY>
|
51
|
+
body:
|
52
|
+
encoding: US-ASCII
|
53
|
+
string: ''
|
54
|
+
headers: {}
|
55
|
+
response:
|
56
|
+
status:
|
57
|
+
code: 204
|
58
|
+
message: NO CONTENT
|
59
|
+
headers:
|
60
|
+
access-control-allow-methods:
|
61
|
+
- POST,GET,PUT,DELETE
|
62
|
+
access-control-allow-origin:
|
63
|
+
- "*"
|
64
|
+
content-length:
|
65
|
+
- '0'
|
66
|
+
content-type:
|
67
|
+
- text/html; charset=utf-8
|
68
|
+
date:
|
69
|
+
- Wed, 25 Jun 2014 14:17:26 GMT
|
70
|
+
server:
|
71
|
+
- nginx/1.0.12
|
72
|
+
connection:
|
73
|
+
- Close
|
74
|
+
body:
|
75
|
+
encoding: US-ASCII
|
76
|
+
string: ''
|
77
|
+
http_version: '1.1'
|
78
|
+
recorded_at: Wed, 25 Jun 2014 14:17:26 GMT
|
79
|
+
- request:
|
80
|
+
method: get
|
81
|
+
uri: https://bigml.io/dev/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
|
82
|
+
body:
|
83
|
+
encoding: US-ASCII
|
84
|
+
string: ''
|
85
|
+
headers: {}
|
86
|
+
response:
|
87
|
+
status:
|
88
|
+
code: 200
|
89
|
+
message: OK
|
90
|
+
headers:
|
91
|
+
access-control-allow-methods:
|
92
|
+
- POST,GET,PUT,DELETE
|
93
|
+
access-control-allow-origin:
|
94
|
+
- "*"
|
95
|
+
content-type:
|
96
|
+
- application/json
|
97
|
+
date:
|
98
|
+
- Wed, 25 Jun 2014 14:17:26 GMT
|
99
|
+
server:
|
100
|
+
- nginx/1.0.12
|
101
|
+
vary:
|
102
|
+
- Accept-Encoding
|
103
|
+
transfer-encoding:
|
104
|
+
- chunked
|
105
|
+
connection:
|
106
|
+
- Close
|
107
|
+
body:
|
108
|
+
encoding: UTF-8
|
109
|
+
string: '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
|
110
|
+
"total_count": 1}, "objects": [{"all_fields": true, "category": 0, "cluster":
|
111
|
+
null, "cluster_status": true, "code": 200, "columns": 5, "created": "2014-06-25T14:16:36.957000",
|
112
|
+
"credits": 0.00439453125, "description": "", "dev": true, "field_types": {"categorical":
|
113
|
+
1, "datetime": 0, "numeric": 4, "preferred": 5, "text": 0, "total": 5}, "locale":
|
114
|
+
"en_US", "missing_numeric_rows": 0, "name": "iris'' dataset", "number_of_batchcentroids":
|
115
|
+
0, "number_of_batchpredictions": 0, "number_of_clusters": 0, "number_of_ensembles":
|
116
|
+
0, "number_of_evaluations": 0, "number_of_models": 1, "number_of_predictions":
|
117
|
+
0, "objective_field": {"column_number": 4, "datatype": "string", "id": "000004",
|
118
|
+
"name": "species", "optype": "categorical", "order": 4, "term_analysis": {"enabled":
|
119
|
+
true}}, "price": 0.0, "private": true, "ranges": null, "replacements": null,
|
120
|
+
"resource": "dataset/53aad9c40af5e81535000e8b", "rows": 150, "sample_rates":
|
121
|
+
null, "seeds": null, "shared": false, "size": 4608, "source": "source/53aad9c3ffa04408550016af",
|
122
|
+
"source_status": false, "status": {"bytes": 4608, "code": 5, "elapsed": 433,
|
123
|
+
"field_errors": [], "message": "The dataset has been created", "row_format_errors":
|
124
|
+
[], "serialized_rows": 150}, "subscription": false, "tags": [], "term_limit":
|
125
|
+
32, "updated": "2014-06-25T14:16:40.949000"}]}'
|
126
|
+
http_version: '1.1'
|
127
|
+
recorded_at: Wed, 25 Jun 2014 14:17:26 GMT
|
128
|
+
- request:
|
129
|
+
method: delete
|
130
|
+
uri: https://bigml.io/dev/andromeda/dataset/53aad9c40af5e81535000e8b?username=<USERNAME>&api_key=<API_KEY>
|
131
|
+
body:
|
132
|
+
encoding: US-ASCII
|
133
|
+
string: ''
|
134
|
+
headers: {}
|
135
|
+
response:
|
136
|
+
status:
|
137
|
+
code: 204
|
138
|
+
message: NO CONTENT
|
139
|
+
headers:
|
140
|
+
access-control-allow-methods:
|
141
|
+
- POST,GET,PUT,DELETE
|
142
|
+
access-control-allow-origin:
|
143
|
+
- "*"
|
144
|
+
content-length:
|
145
|
+
- '0'
|
146
|
+
content-type:
|
147
|
+
- text/html; charset=utf-8
|
148
|
+
date:
|
149
|
+
- Wed, 25 Jun 2014 14:17:26 GMT
|
150
|
+
server:
|
151
|
+
- nginx/1.0.12
|
152
|
+
connection:
|
153
|
+
- Close
|
154
|
+
body:
|
155
|
+
encoding: US-ASCII
|
156
|
+
string: ''
|
157
|
+
http_version: '1.1'
|
158
|
+
recorded_at: Wed, 25 Jun 2014 14:17:26 GMT
|
159
|
+
- request:
|
160
|
+
method: get
|
161
|
+
uri: https://bigml.io/dev/andromeda/model?username=<USERNAME>&api_key=<API_KEY>
|
162
|
+
body:
|
163
|
+
encoding: US-ASCII
|
164
|
+
string: ''
|
165
|
+
headers: {}
|
166
|
+
response:
|
167
|
+
status:
|
168
|
+
code: 200
|
169
|
+
message: OK
|
170
|
+
headers:
|
171
|
+
access-control-allow-methods:
|
172
|
+
- POST,GET,PUT,DELETE
|
173
|
+
access-control-allow-origin:
|
174
|
+
- "*"
|
175
|
+
content-type:
|
176
|
+
- application/json
|
177
|
+
date:
|
178
|
+
- Wed, 25 Jun 2014 14:17:26 GMT
|
179
|
+
server:
|
180
|
+
- nginx/1.0.12
|
181
|
+
vary:
|
182
|
+
- Accept-Encoding
|
183
|
+
transfer-encoding:
|
184
|
+
- chunked
|
185
|
+
connection:
|
186
|
+
- Close
|
187
|
+
body:
|
188
|
+
encoding: UTF-8
|
189
|
+
string: '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
|
190
|
+
"total_count": 1}, "objects": [{"balance_objective": false, "category": 0,
|
191
|
+
"code": 200, "columns": 5, "created": "2014-06-25T14:16:38.680000", "credits":
|
192
|
+
0.017578125, "credits_per_prediction": 0.0, "dataset": "dataset/53aad9c40af5e81535000e8b",
|
193
|
+
"dataset_field_types": {"categorical": 1, "datetime": 0, "numeric": 4, "preferred":
|
194
|
+
5, "text": 0, "total": 5}, "dataset_status": false, "dataset_type": 0, "description":
|
195
|
+
"", "dev": true, "ensemble": false, "ensemble_id": "", "ensemble_index": 0,
|
196
|
+
"locale": "en_US", "max_columns": 5, "max_rows": 150, "name": "iris'' dataset
|
197
|
+
model", "node_threshold": 512, "number_of_batchpredictions": 0, "number_of_evaluations":
|
198
|
+
0, "number_of_predictions": 0, "number_of_public_predictions": 0, "objective_field":
|
199
|
+
"000004", "objective_fields": ["000004"], "ordering": 0, "out_of_bag": false,
|
200
|
+
"price": 0.0, "private": true, "randomize": false, "range": [1, 150], "replacement":
|
201
|
+
false, "resource": "model/53aad9c60af5e8152f000a26", "rows": 150, "sample_rate":
|
202
|
+
1.0, "selective_pruning": true, "shared": false, "size": 4608, "source": "source/53aad9c3ffa04408550016af",
|
203
|
+
"source_status": false, "stat_pruning": true, "status": {"code": 5, "elapsed":
|
204
|
+
319, "message": "The model has been created", "progress": 1.0}, "subscription":
|
205
|
+
false, "tags": ["species"], "updated": "2014-06-25T14:16:40.959000", "white_box":
|
206
|
+
false}]}'
|
207
|
+
http_version: '1.1'
|
208
|
+
recorded_at: Wed, 25 Jun 2014 14:17:26 GMT
|
209
|
+
- request:
|
210
|
+
method: delete
|
211
|
+
uri: https://bigml.io/dev/andromeda/model/53aad9c60af5e8152f000a26?username=<USERNAME>&api_key=<API_KEY>
|
212
|
+
body:
|
213
|
+
encoding: US-ASCII
|
214
|
+
string: ''
|
215
|
+
headers: {}
|
216
|
+
response:
|
217
|
+
status:
|
218
|
+
code: 204
|
219
|
+
message: NO CONTENT
|
220
|
+
headers:
|
221
|
+
access-control-allow-methods:
|
222
|
+
- POST,GET,PUT,DELETE
|
223
|
+
access-control-allow-origin:
|
224
|
+
- "*"
|
225
|
+
content-length:
|
226
|
+
- '0'
|
227
|
+
content-type:
|
228
|
+
- text/html; charset=utf-8
|
229
|
+
date:
|
230
|
+
- Wed, 25 Jun 2014 14:17:26 GMT
|
231
|
+
server:
|
232
|
+
- nginx/1.0.12
|
233
|
+
connection:
|
234
|
+
- Close
|
235
|
+
body:
|
236
|
+
encoding: US-ASCII
|
237
|
+
string: ''
|
238
|
+
http_version: '1.1'
|
239
|
+
recorded_at: Wed, 25 Jun 2014 14:17:27 GMT
|
240
|
+
- request:
|
241
|
+
method: get
|
242
|
+
uri: https://bigml.io/dev/andromeda/evaluation?username=<USERNAME>&api_key=<API_KEY>
|
243
|
+
body:
|
244
|
+
encoding: US-ASCII
|
245
|
+
string: ''
|
246
|
+
headers: {}
|
247
|
+
response:
|
248
|
+
status:
|
249
|
+
code: 200
|
250
|
+
message: OK
|
251
|
+
headers:
|
252
|
+
access-control-allow-methods:
|
253
|
+
- POST,GET,PUT,DELETE
|
254
|
+
access-control-allow-origin:
|
255
|
+
- "*"
|
256
|
+
content-type:
|
257
|
+
- application/json
|
258
|
+
date:
|
259
|
+
- Wed, 25 Jun 2014 14:17:27 GMT
|
260
|
+
server:
|
261
|
+
- nginx/1.0.12
|
262
|
+
vary:
|
263
|
+
- Accept-Encoding
|
264
|
+
transfer-encoding:
|
265
|
+
- chunked
|
266
|
+
connection:
|
267
|
+
- Close
|
268
|
+
body:
|
269
|
+
encoding: UTF-8
|
270
|
+
string: '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
|
271
|
+
"total_count": 7}, "objects": [{"category": 0, "code": 500, "combiner": 0,
|
272
|
+
"created": "2014-06-25T14:16:40.615000", "credits": 0.0, "dataset": "dataset/53aad9c40af5e81535000e8b",
|
273
|
+
"dataset_status": false, "dataset_type": 0, "datasets": [], "description":
|
274
|
+
"", "dev": true, "ensemble": "", "locale": "en-US", "max_rows": 150, "missing_strategy":
|
275
|
+
0, "model": "model/53aad9c60af5e8152f000a26", "model_status": false, "model_type":
|
276
|
+
0, "name": "Evaluation of iris'' dataset model with iris'' dataset", "number_of_models":
|
277
|
+
1, "ordering": 0, "out_of_bag": false, "private": true, "range": [1, 150],
|
278
|
+
"replacement": false, "resource": "evaluation/53aad9c8ffa04408550016b2", "rows":
|
279
|
+
150, "sample_rate": 1.0, "sampled_rows": 150, "shared": false, "size": 4608,
|
280
|
+
"status": {"code": -1, "message": "The evaluation cannot be perfomed"}, "subscription":
|
281
|
+
false, "tags": [], "type": 0, "updated": "2014-06-25T14:16:40.957000"}, {"category":
|
282
|
+
0, "code": 200, "combiner": 0, "created": "2014-06-25T14:16:25.626000", "credits":
|
283
|
+
1.5, "dataset": "dataset/53aad9b50af5e81535000e7d", "dataset_status": false,
|
284
|
+
"dataset_type": 0, "datasets": [], "description": "", "dev": true, "ensemble":
|
285
|
+
"", "locale": "en-US", "max_rows": 150, "missing_strategy": 0, "model": "model/53aad9b70af5e81535000e83",
|
286
|
+
"model_status": false, "model_type": 0, "name": "Evaluation of iris'' dataset
|
287
|
+
model with iris'' dataset", "number_of_models": 1, "ordering": 0, "out_of_bag":
|
288
|
+
false, "private": true, "range": [1, 150], "replacement": false, "resource":
|
289
|
+
"evaluation/53aad9b90af5e81535000e86", "rows": 150, "sample_rate": 1.0, "sampled_rows":
|
290
|
+
150, "shared": false, "size": 4608, "status": {"code": 5, "elapsed": 472,
|
291
|
+
"message": "The evaluation has been performed", "progress": 1.0}, "subscription":
|
292
|
+
false, "tags": [], "type": 0, "updated": "2014-06-25T14:16:26.505000"}, {"category":
|
293
|
+
0, "code": 200, "combiner": 0, "created": "2014-06-25T14:16:18.215000", "credits":
|
294
|
+
1.5, "dataset": "dataset/53aad9aeffa0440852000813", "dataset_status": false,
|
295
|
+
"dataset_type": 0, "datasets": [], "description": "", "dev": true, "ensemble":
|
296
|
+
"", "locale": "en-US", "max_rows": 150, "missing_strategy": 0, "model": "model/53aad9b0ffa04408550016a1",
|
297
|
+
"model_status": false, "model_type": 0, "name": "Evaluation of iris'' dataset
|
298
|
+
model with iris'' dataset", "number_of_models": 1, "ordering": 0, "out_of_bag":
|
299
|
+
false, "private": true, "range": [1, 150], "replacement": false, "resource":
|
300
|
+
"evaluation/53aad9b20af5e815310006d4", "rows": 150, "sample_rate": 1.0, "sampled_rows":
|
301
|
+
150, "shared": false, "size": 4608, "status": {"code": 5, "elapsed": 598,
|
302
|
+
"message": "The evaluation has been performed", "progress": 1.0}, "subscription":
|
303
|
+
false, "tags": [], "type": 0, "updated": "2014-06-25T14:16:19.151000"}, {"category":
|
304
|
+
0, "code": 500, "combiner": 0, "created": "2014-06-25T14:16:11.004000", "credits":
|
305
|
+
0.0, "dataset": "dataset/53aad9a7ffa044085d000800", "dataset_status": false,
|
306
|
+
"dataset_type": 0, "datasets": [], "description": "", "dev": true, "ensemble":
|
307
|
+
"", "locale": "en-US", "max_rows": 150, "missing_strategy": 0, "model": "model/53aad9a9ffa044085500169e",
|
308
|
+
"model_status": false, "model_type": 0, "name": "Evaluation of iris'' dataset
|
309
|
+
model with iris'' dataset", "number_of_models": 1, "ordering": 0, "out_of_bag":
|
310
|
+
false, "private": true, "range": [1, 150], "replacement": false, "resource":
|
311
|
+
"evaluation/53aad9abffa04408570008d2", "rows": 150, "sample_rate": 1.0, "sampled_rows":
|
312
|
+
150, "shared": false, "size": 4608, "status": {"code": -1, "elapsed": 1868,
|
313
|
+
"error": -40, "message": "Unexpected problem accessing storage", "progress":
|
314
|
+
0}, "subscription": false, "tags": [], "type": 0, "updated": "2014-06-25T14:16:24.717000"},
|
315
|
+
{"category": 0, "code": 200, "combiner": 0, "created": "2014-06-25T14:16:03.662000",
|
316
|
+
"credits": 1.5, "dataset": "dataset/53aad99fffa0440855001696", "dataset_status":
|
317
|
+
false, "dataset_type": 0, "datasets": [], "description": "", "dev": true,
|
318
|
+
"ensemble": "", "locale": "en-US", "max_rows": 150, "missing_strategy": 0,
|
319
|
+
"model": "model/53aad9a1ffa0440855001699", "model_status": false, "model_type":
|
320
|
+
0, "name": "Evaluation of iris'' dataset model with iris'' dataset", "number_of_models":
|
321
|
+
1, "ordering": 0, "out_of_bag": false, "private": true, "range": [1, 150],
|
322
|
+
"replacement": false, "resource": "evaluation/53aad9a30af5e81535000e71", "rows":
|
323
|
+
150, "sample_rate": 1.0, "sampled_rows": 150, "shared": false, "size": 4608,
|
324
|
+
"status": {"code": 5, "elapsed": 592, "message": "The evaluation has been
|
325
|
+
performed", "progress": 1.0}, "subscription": false, "tags": [], "type": 0,
|
326
|
+
"updated": "2014-06-25T14:16:04.620000"}, {"category": 0, "code": 500, "combiner":
|
327
|
+
0, "created": "2014-06-25T14:15:55.794000", "credits": 0.0, "dataset": "dataset/53aad9980af5e8152c00148f",
|
328
|
+
"dataset_status": false, "dataset_type": 0, "datasets": [], "description":
|
329
|
+
"", "dev": true, "ensemble": "", "locale": "en-US", "max_rows": 150, "missing_strategy":
|
330
|
+
0, "model": "model/53aad9990af5e81535000e6e", "model_status": false, "model_type":
|
331
|
+
0, "name": "Evaluation of iris'' dataset model with iris'' dataset", "number_of_models":
|
332
|
+
1, "ordering": 0, "out_of_bag": false, "private": true, "range": [1, 150],
|
333
|
+
"replacement": false, "resource": "evaluation/53aad99bffa0440852000810", "rows":
|
334
|
+
150, "sample_rate": 1.0, "sampled_rows": 150, "shared": false, "size": 4608,
|
335
|
+
"status": {"code": -1, "elapsed": 1695, "error": -40, "message": "Unexpected
|
336
|
+
problem accessing storage", "progress": 0}, "subscription": false, "tags":
|
337
|
+
[], "type": 0, "updated": "2014-06-25T14:16:15.240000"}, {"category": 0, "code":
|
338
|
+
500, "combiner": 0, "created": "2014-06-25T14:15:48.704000", "credits": 0.0,
|
339
|
+
"dataset": "dataset/53aad991ffa04408570008cd", "dataset_status": false, "dataset_type":
|
340
|
+
0, "datasets": [], "description": "", "dev": true, "ensemble": "", "locale":
|
341
|
+
"en-US", "max_rows": 150, "missing_strategy": 0, "model": "model/53aad9920af5e8152c001487",
|
342
|
+
"model_status": false, "model_type": 0, "name": "Evaluation of iris'' dataset
|
343
|
+
model with iris'' dataset", "number_of_models": 1, "ordering": 0, "out_of_bag":
|
344
|
+
false, "private": true, "range": [1, 150], "replacement": false, "resource":
|
345
|
+
"evaluation/53aad9940af5e8152c00148a", "rows": 150, "sample_rate": 1.0, "sampled_rows":
|
346
|
+
150, "shared": false, "size": 4608, "status": {"code": -1, "elapsed": 1644,
|
347
|
+
"error": -40, "message": "Unexpected problem accessing storage", "progress":
|
348
|
+
0}, "subscription": false, "tags": [], "type": 0, "updated": "2014-06-25T14:15:59.483000"}]}'
|
349
|
+
http_version: '1.1'
|
350
|
+
recorded_at: Wed, 25 Jun 2014 14:17:27 GMT
|
351
|
+
- request:
|
352
|
+
method: delete
|
353
|
+
uri: https://bigml.io/dev/andromeda/evaluation/53aad9c8ffa04408550016b2?username=<USERNAME>&api_key=<API_KEY>
|
354
|
+
body:
|
355
|
+
encoding: US-ASCII
|
356
|
+
string: ''
|
357
|
+
headers: {}
|
358
|
+
response:
|
359
|
+
status:
|
360
|
+
code: 204
|
361
|
+
message: NO CONTENT
|
362
|
+
headers:
|
363
|
+
access-control-allow-methods:
|
364
|
+
- POST,GET,PUT,DELETE
|
365
|
+
access-control-allow-origin:
|
366
|
+
- "*"
|
367
|
+
content-length:
|
368
|
+
- '0'
|
369
|
+
content-type:
|
370
|
+
- text/html; charset=utf-8
|
371
|
+
date:
|
372
|
+
- Wed, 25 Jun 2014 14:17:27 GMT
|
373
|
+
server:
|
374
|
+
- nginx/1.0.12
|
375
|
+
connection:
|
376
|
+
- Close
|
377
|
+
body:
|
378
|
+
encoding: US-ASCII
|
379
|
+
string: ''
|
380
|
+
http_version: '1.1'
|
381
|
+
recorded_at: Wed, 25 Jun 2014 14:17:27 GMT
|
382
|
+
- request:
|
383
|
+
method: delete
|
384
|
+
uri: https://bigml.io/dev/andromeda/evaluation/53aad9b90af5e81535000e86?username=<USERNAME>&api_key=<API_KEY>
|
385
|
+
body:
|
386
|
+
encoding: US-ASCII
|
387
|
+
string: ''
|
388
|
+
headers: {}
|
389
|
+
response:
|
390
|
+
status:
|
391
|
+
code: 204
|
392
|
+
message: NO CONTENT
|
393
|
+
headers:
|
394
|
+
access-control-allow-methods:
|
395
|
+
- POST,GET,PUT,DELETE
|
396
|
+
access-control-allow-origin:
|
397
|
+
- "*"
|
398
|
+
content-length:
|
399
|
+
- '0'
|
400
|
+
content-type:
|
401
|
+
- text/html; charset=utf-8
|
402
|
+
date:
|
403
|
+
- Wed, 25 Jun 2014 14:17:27 GMT
|
404
|
+
server:
|
405
|
+
- nginx/1.0.12
|
406
|
+
connection:
|
407
|
+
- Close
|
408
|
+
body:
|
409
|
+
encoding: US-ASCII
|
410
|
+
string: ''
|
411
|
+
http_version: '1.1'
|
412
|
+
recorded_at: Wed, 25 Jun 2014 14:17:27 GMT
|
413
|
+
- request:
|
414
|
+
method: delete
|
415
|
+
uri: https://bigml.io/dev/andromeda/evaluation/53aad9b20af5e815310006d4?username=<USERNAME>&api_key=<API_KEY>
|
416
|
+
body:
|
417
|
+
encoding: US-ASCII
|
418
|
+
string: ''
|
419
|
+
headers: {}
|
420
|
+
response:
|
421
|
+
status:
|
422
|
+
code: 204
|
423
|
+
message: NO CONTENT
|
424
|
+
headers:
|
425
|
+
access-control-allow-methods:
|
426
|
+
- POST,GET,PUT,DELETE
|
427
|
+
access-control-allow-origin:
|
428
|
+
- "*"
|
429
|
+
content-length:
|
430
|
+
- '0'
|
431
|
+
content-type:
|
432
|
+
- text/html; charset=utf-8
|
433
|
+
date:
|
434
|
+
- Wed, 25 Jun 2014 14:17:27 GMT
|
435
|
+
server:
|
436
|
+
- nginx/1.0.12
|
437
|
+
connection:
|
438
|
+
- Close
|
439
|
+
body:
|
440
|
+
encoding: US-ASCII
|
441
|
+
string: ''
|
442
|
+
http_version: '1.1'
|
443
|
+
recorded_at: Wed, 25 Jun 2014 14:17:27 GMT
|
444
|
+
- request:
|
445
|
+
method: delete
|
446
|
+
uri: https://bigml.io/dev/andromeda/evaluation/53aad9abffa04408570008d2?username=<USERNAME>&api_key=<API_KEY>
|
447
|
+
body:
|
448
|
+
encoding: US-ASCII
|
449
|
+
string: ''
|
450
|
+
headers: {}
|
451
|
+
response:
|
452
|
+
status:
|
453
|
+
code: 204
|
454
|
+
message: NO CONTENT
|
455
|
+
headers:
|
456
|
+
access-control-allow-methods:
|
457
|
+
- POST,GET,PUT,DELETE
|
458
|
+
access-control-allow-origin:
|
459
|
+
- "*"
|
460
|
+
content-length:
|
461
|
+
- '0'
|
462
|
+
content-type:
|
463
|
+
- text/html; charset=utf-8
|
464
|
+
date:
|
465
|
+
- Wed, 25 Jun 2014 14:17:27 GMT
|
466
|
+
server:
|
467
|
+
- nginx/1.0.12
|
468
|
+
connection:
|
469
|
+
- Close
|
470
|
+
body:
|
471
|
+
encoding: US-ASCII
|
472
|
+
string: ''
|
473
|
+
http_version: '1.1'
|
474
|
+
recorded_at: Wed, 25 Jun 2014 14:17:28 GMT
|
475
|
+
- request:
|
476
|
+
method: delete
|
477
|
+
uri: https://bigml.io/dev/andromeda/evaluation/53aad9a30af5e81535000e71?username=<USERNAME>&api_key=<API_KEY>
|
478
|
+
body:
|
479
|
+
encoding: US-ASCII
|
480
|
+
string: ''
|
481
|
+
headers: {}
|
482
|
+
response:
|
483
|
+
status:
|
484
|
+
code: 204
|
485
|
+
message: NO CONTENT
|
486
|
+
headers:
|
487
|
+
access-control-allow-methods:
|
488
|
+
- POST,GET,PUT,DELETE
|
489
|
+
access-control-allow-origin:
|
490
|
+
- "*"
|
491
|
+
content-length:
|
492
|
+
- '0'
|
493
|
+
content-type:
|
494
|
+
- text/html; charset=utf-8
|
495
|
+
date:
|
496
|
+
- Wed, 25 Jun 2014 14:17:28 GMT
|
497
|
+
server:
|
498
|
+
- nginx/1.0.12
|
499
|
+
connection:
|
500
|
+
- Close
|
501
|
+
body:
|
502
|
+
encoding: US-ASCII
|
503
|
+
string: ''
|
504
|
+
http_version: '1.1'
|
505
|
+
recorded_at: Wed, 25 Jun 2014 14:17:28 GMT
|
506
|
+
- request:
|
507
|
+
method: delete
|
508
|
+
uri: https://bigml.io/dev/andromeda/evaluation/53aad99bffa0440852000810?username=<USERNAME>&api_key=<API_KEY>
|
509
|
+
body:
|
510
|
+
encoding: US-ASCII
|
511
|
+
string: ''
|
512
|
+
headers: {}
|
513
|
+
response:
|
514
|
+
status:
|
515
|
+
code: 204
|
516
|
+
message: NO CONTENT
|
517
|
+
headers:
|
518
|
+
access-control-allow-methods:
|
519
|
+
- POST,GET,PUT,DELETE
|
520
|
+
access-control-allow-origin:
|
521
|
+
- "*"
|
522
|
+
content-length:
|
523
|
+
- '0'
|
524
|
+
content-type:
|
525
|
+
- text/html; charset=utf-8
|
526
|
+
date:
|
527
|
+
- Wed, 25 Jun 2014 14:17:28 GMT
|
528
|
+
server:
|
529
|
+
- nginx/1.0.12
|
530
|
+
connection:
|
531
|
+
- Close
|
532
|
+
body:
|
533
|
+
encoding: US-ASCII
|
534
|
+
string: ''
|
535
|
+
http_version: '1.1'
|
536
|
+
recorded_at: Wed, 25 Jun 2014 14:17:28 GMT
|
537
|
+
- request:
|
538
|
+
method: delete
|
539
|
+
uri: https://bigml.io/dev/andromeda/evaluation/53aad9940af5e8152c00148a?username=<USERNAME>&api_key=<API_KEY>
|
540
|
+
body:
|
541
|
+
encoding: US-ASCII
|
542
|
+
string: ''
|
543
|
+
headers: {}
|
544
|
+
response:
|
545
|
+
status:
|
546
|
+
code: 204
|
547
|
+
message: NO CONTENT
|
548
|
+
headers:
|
549
|
+
access-control-allow-methods:
|
550
|
+
- POST,GET,PUT,DELETE
|
551
|
+
access-control-allow-origin:
|
552
|
+
- "*"
|
553
|
+
content-length:
|
554
|
+
- '0'
|
555
|
+
content-type:
|
556
|
+
- text/html; charset=utf-8
|
557
|
+
date:
|
558
|
+
- Wed, 25 Jun 2014 14:17:28 GMT
|
559
|
+
server:
|
560
|
+
- nginx/1.0.12
|
561
|
+
connection:
|
562
|
+
- Close
|
563
|
+
body:
|
564
|
+
encoding: US-ASCII
|
565
|
+
string: ''
|
566
|
+
http_version: '1.1'
|
567
|
+
recorded_at: Wed, 25 Jun 2014 14:17:28 GMT
|
568
|
+
- request:
|
569
|
+
method: get
|
570
|
+
uri: https://bigml.io/dev/andromeda/evaluation?username=<USERNAME>&api_key=<API_KEY>
|
571
|
+
body:
|
572
|
+
encoding: US-ASCII
|
573
|
+
string: ''
|
574
|
+
headers: {}
|
575
|
+
response:
|
576
|
+
status:
|
577
|
+
code: 200
|
578
|
+
message: OK
|
579
|
+
headers:
|
580
|
+
access-control-allow-methods:
|
581
|
+
- POST,GET,PUT,DELETE
|
582
|
+
access-control-allow-origin:
|
583
|
+
- "*"
|
584
|
+
content-type:
|
585
|
+
- application/json
|
586
|
+
date:
|
587
|
+
- Wed, 25 Jun 2014 14:17:28 GMT
|
588
|
+
server:
|
589
|
+
- nginx/1.0.12
|
590
|
+
transfer-encoding:
|
591
|
+
- chunked
|
592
|
+
connection:
|
593
|
+
- Close
|
594
|
+
body:
|
595
|
+
encoding: UTF-8
|
596
|
+
string: '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
|
597
|
+
"total_count": 0}, "objects": []}'
|
598
|
+
http_version: '1.1'
|
599
|
+
recorded_at: Wed, 25 Jun 2014 14:17:28 GMT
|
600
|
+
recorded_with: VCR 2.9.2
|