big_ml 0.1.1 → 0.1.2
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.
- 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_Prediction/one_prediction/must_be_able_to_remove_the_prediction.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,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:20:06 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
|
-
1, "
|
40
|
-
|
41
|
-
|
42
|
-
"
|
43
|
-
"
|
44
|
-
|
31
|
+
"application/octet-stream", "created": "2012-07-14T15:26:38.657000", "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": 1, "private": true, "resource":
|
40
|
+
"source/50018fae1552681d68000035", "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": 93, "message": "The source has been created"}, "tags":
|
45
|
+
[], "type": 0, "updated": "2012-07-14T15:25:39.865000"}]}'
|
45
46
|
http_version: '1.1'
|
46
|
-
recorded_at:
|
47
|
+
recorded_at: Sat, 14 Jul 2012 15:26:09 GMT
|
47
48
|
- request:
|
48
49
|
method: delete
|
49
|
-
uri: https://bigml.io/andromeda/source/
|
50
|
+
uri: https://bigml.io/dev/andromeda/source/50018fae1552681d68000035?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:25:09 GMT
|
67
68
|
server:
|
68
69
|
- nginx/1.0.12
|
69
70
|
connection:
|
@@ -72,10 +73,10 @@ http_interactions:
|
|
72
73
|
encoding: US-ASCII
|
73
74
|
string: ''
|
74
75
|
http_version: '1.1'
|
75
|
-
recorded_at:
|
76
|
+
recorded_at: Sat, 14 Jul 2012 15:26:12 GMT
|
76
77
|
- request:
|
77
78
|
method: get
|
78
|
-
uri: https://bigml.io/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
|
79
|
+
uri: https://bigml.io/dev/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
|
79
80
|
body:
|
80
81
|
encoding: US-ASCII
|
81
82
|
string: ''
|
@@ -90,29 +91,29 @@ http_interactions:
|
|
90
91
|
content-type:
|
91
92
|
- application/json; charset=utf-8
|
92
93
|
date:
|
93
|
-
-
|
94
|
+
- Sat, 14 Jul 2012 15:20:10 GMT
|
94
95
|
server:
|
95
96
|
- nginx/1.0.12
|
96
|
-
|
97
|
-
-
|
97
|
+
transfer-encoding:
|
98
|
+
- chunked
|
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
|
-
1, "private": true, "resource": "dataset/
|
107
|
-
150, "size": 4608, "source": "source/
|
108
|
-
false, "status": {"bytes": 4608, "code": 5, "elapsed":
|
105
|
+
"created": "2012-07-14T15:26:39.967000", "credits": 0.00439453125, "description":
|
106
|
+
"", "dev": true, "locale": "en_US", "name": "iris'' dataset", "number_of_models":
|
107
|
+
1, "number_of_predictions": 1, "private": true, "resource": "dataset/50018faf1552681c60000023",
|
108
|
+
"rows": 150, "size": 4608, "source": "source/50018fae1552681d68000035", "source_status":
|
109
|
+
false, "status": {"bytes": 4608, "code": 5, "elapsed": 178, "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:25:39.886000"}]}'
|
111
112
|
http_version: '1.1'
|
112
|
-
recorded_at:
|
113
|
+
recorded_at: Sat, 14 Jul 2012 15:26:13 GMT
|
113
114
|
- request:
|
114
115
|
method: delete
|
115
|
-
uri: https://bigml.io/andromeda/dataset/
|
116
|
+
uri: https://bigml.io/dev/andromeda/dataset/50018faf1552681c60000023?username=<USERNAME>&api_key=<API_KEY>
|
116
117
|
body:
|
117
118
|
encoding: US-ASCII
|
118
119
|
string: ''
|
@@ -129,7 +130,7 @@ http_interactions:
|
|
129
130
|
content-type:
|
130
131
|
- text/html; charset=utf-8
|
131
132
|
date:
|
132
|
-
-
|
133
|
+
- Sat, 14 Jul 2012 15:25:12 GMT
|
133
134
|
server:
|
134
135
|
- nginx/1.0.12
|
135
136
|
connection:
|
@@ -138,10 +139,10 @@ http_interactions:
|
|
138
139
|
encoding: US-ASCII
|
139
140
|
string: ''
|
140
141
|
http_version: '1.1'
|
141
|
-
recorded_at:
|
142
|
+
recorded_at: Sat, 14 Jul 2012 15:26:16 GMT
|
142
143
|
- request:
|
143
144
|
method: get
|
144
|
-
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>
|
145
146
|
body:
|
146
147
|
encoding: US-ASCII
|
147
148
|
string: ''
|
@@ -156,31 +157,31 @@ http_interactions:
|
|
156
157
|
content-type:
|
157
158
|
- application/json; charset=utf-8
|
158
159
|
date:
|
159
|
-
-
|
160
|
+
- Sat, 14 Jul 2012 15:20:14 GMT
|
160
161
|
server:
|
161
162
|
- nginx/1.0.12
|
162
163
|
content-length:
|
163
|
-
- '
|
164
|
+
- '857'
|
164
165
|
connection:
|
165
166
|
- Close
|
166
167
|
body:
|
167
168
|
encoding: US-ASCII
|
168
169
|
string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
|
169
170
|
"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": 1, "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-
|
171
|
+
"created": "2012-07-14T15:25:37.571000", "credits": 0.017578125, "dataset":
|
172
|
+
"dataset/50018faf1552681c60000023", "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": "iris''
|
175
|
+
dataset model", "number_of_predictions": 1, "objective_fields": ["000004"],
|
176
|
+
"private": true, "range": [1, 150], "resource": "model/50018f71035d07404e000036",
|
177
|
+
"rows": 150, "size": 4608, "source": "source/50018fae1552681d68000035", "source_status":
|
178
|
+
false, "status": {"code": 5, "elapsed": 148, "message": "The model has been
|
179
|
+
created", "progress": 1}, "tags": [], "updated": "2012-07-14T15:25:39.891000"}]}'
|
179
180
|
http_version: '1.1'
|
180
|
-
recorded_at:
|
181
|
+
recorded_at: Sat, 14 Jul 2012 15:26:17 GMT
|
181
182
|
- request:
|
182
183
|
method: delete
|
183
|
-
uri: https://bigml.io/andromeda/model/
|
184
|
+
uri: https://bigml.io/dev/andromeda/model/50018f71035d07404e000036?username=<USERNAME>&api_key=<API_KEY>
|
184
185
|
body:
|
185
186
|
encoding: US-ASCII
|
186
187
|
string: ''
|
@@ -197,7 +198,7 @@ http_interactions:
|
|
197
198
|
content-type:
|
198
199
|
- text/html; charset=utf-8
|
199
200
|
date:
|
200
|
-
-
|
201
|
+
- Sat, 14 Jul 2012 15:25:16 GMT
|
201
202
|
server:
|
202
203
|
- nginx/1.0.12
|
203
204
|
connection:
|
@@ -206,10 +207,10 @@ http_interactions:
|
|
206
207
|
encoding: US-ASCII
|
207
208
|
string: ''
|
208
209
|
http_version: '1.1'
|
209
|
-
recorded_at:
|
210
|
+
recorded_at: Sat, 14 Jul 2012 15:26:19 GMT
|
210
211
|
- request:
|
211
212
|
method: get
|
212
|
-
uri: https://bigml.io/andromeda/prediction?username=<USERNAME>&api_key=<API_KEY>
|
213
|
+
uri: https://bigml.io/dev/andromeda/prediction?username=<USERNAME>&api_key=<API_KEY>
|
213
214
|
body:
|
214
215
|
encoding: US-ASCII
|
215
216
|
string: ''
|
@@ -224,36 +225,36 @@ http_interactions:
|
|
224
225
|
content-type:
|
225
226
|
- application/json; charset=utf-8
|
226
227
|
date:
|
227
|
-
-
|
228
|
+
- Sat, 14 Jul 2012 15:20:18 GMT
|
228
229
|
server:
|
229
230
|
- nginx/1.0.12
|
230
231
|
content-length:
|
231
|
-
- '
|
232
|
+
- '1325'
|
232
233
|
connection:
|
233
234
|
- Close
|
234
235
|
body:
|
235
236
|
encoding: US-ASCII
|
236
237
|
string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
|
237
|
-
"total_count": 1}, "objects": [{"category": 0, "code": 200, "created": "2012-
|
238
|
-
"credits": 0.01, "dataset": "dataset/
|
239
|
-
false, "description": "", "fields": {"000001": {"column_number":
|
240
|
-
"double", "name": "sepal width", "optype": "numeric", "preferred":
|
241
|
-
"000002": {"column_number": 2, "datatype": "double", "name": "petal
|
242
|
-
"optype": "numeric", "preferred": true}, "000004": {"column_number":
|
243
|
-
"string", "name": "species", "optype": "categorical", "preferred":
|
244
|
-
"input_data": {"000001": 3}, "locale": "en_US", "model": "model/
|
238
|
+
"total_count": 1}, "objects": [{"category": 0, "code": 200, "created": "2012-07-14T15:25:39.731000",
|
239
|
+
"credits": 0.01, "dataset": "dataset/50018faf1552681c60000023", "dataset_status":
|
240
|
+
false, "description": "", "dev": true, "fields": {"000001": {"column_number":
|
241
|
+
1, "datatype": "double", "name": "sepal width", "optype": "numeric", "preferred":
|
242
|
+
true}, "000002": {"column_number": 2, "datatype": "double", "name": "petal
|
243
|
+
length", "optype": "numeric", "preferred": true}, "000004": {"column_number":
|
244
|
+
4, "datatype": "string", "name": "species", "optype": "categorical", "preferred":
|
245
|
+
true}}, "input_data": {"000001": 3}, "locale": "en_US", "model": "model/50018f71035d07404e000036",
|
245
246
|
"model_status": false, "name": "foo name", "objective_fields": ["000004"],
|
246
247
|
"prediction": {"000004": "Iris-virginica"}, "prediction_path": {"bad_fields":
|
247
248
|
[], "next_predicates": [{"field": "000002", "operator": ">", "value": 2.45},
|
248
249
|
{"field": "000002", "operator": "<=", "value": 2.45}], "path": [], "unknown_fields":
|
249
|
-
[]}, "private": true, "resource": "prediction/
|
250
|
-
"source/
|
251
|
-
5, "message": "The prediction has been created"}, "tags": [], "updated": "2012-
|
250
|
+
[]}, "private": true, "resource": "prediction/50018f73035d075696000008", "source":
|
251
|
+
"source/50018fae1552681d68000035", "source_status": false, "status": {"code":
|
252
|
+
5, "message": "The prediction has been created"}, "tags": [], "updated": "2012-07-14T15:26:45.183000"}]}'
|
252
253
|
http_version: '1.1'
|
253
|
-
recorded_at:
|
254
|
+
recorded_at: Sat, 14 Jul 2012 15:26:21 GMT
|
254
255
|
- request:
|
255
256
|
method: delete
|
256
|
-
uri: https://bigml.io/andromeda/prediction/
|
257
|
+
uri: https://bigml.io/dev/andromeda/prediction/50018f73035d075696000008?username=<USERNAME>&api_key=<API_KEY>
|
257
258
|
body:
|
258
259
|
encoding: US-ASCII
|
259
260
|
string: ''
|
@@ -270,7 +271,7 @@ http_interactions:
|
|
270
271
|
content-type:
|
271
272
|
- text/html; charset=utf-8
|
272
273
|
date:
|
273
|
-
-
|
274
|
+
- Sat, 14 Jul 2012 15:25:19 GMT
|
274
275
|
server:
|
275
276
|
- nginx/1.0.12
|
276
277
|
connection:
|
@@ -279,10 +280,10 @@ http_interactions:
|
|
279
280
|
encoding: US-ASCII
|
280
281
|
string: ''
|
281
282
|
http_version: '1.1'
|
282
|
-
recorded_at:
|
283
|
+
recorded_at: Sat, 14 Jul 2012 15:26:22 GMT
|
283
284
|
- request:
|
284
285
|
method: post
|
285
|
-
uri: https://bigml.io/andromeda/source
|
286
|
+
uri: https://bigml.io/dev/andromeda/source
|
286
287
|
body:
|
287
288
|
encoding: US-ASCII
|
288
289
|
string: ''
|
@@ -290,7 +291,7 @@ http_interactions:
|
|
290
291
|
content-type:
|
291
292
|
- multipart/form-data; boundary=-----------RubyMultipartPost
|
292
293
|
content-length:
|
293
|
-
- '
|
294
|
+
- '5149'
|
294
295
|
connection:
|
295
296
|
- close
|
296
297
|
response:
|
@@ -301,33 +302,33 @@ http_interactions:
|
|
301
302
|
content-type:
|
302
303
|
- application/json; charset=utf-8
|
303
304
|
date:
|
304
|
-
-
|
305
|
+
- Sat, 14 Jul 2012 15:20:21 GMT
|
305
306
|
location:
|
306
|
-
- http://bigml.io/andromeda/source/
|
307
|
+
- http://bigml.io/andromeda/source/50018f85035d0741ca00001f
|
307
308
|
server:
|
308
309
|
- nginx/1.0.12
|
309
310
|
content-length:
|
310
|
-
- '
|
311
|
+
- '580'
|
311
312
|
connection:
|
312
313
|
- Close
|
313
314
|
body:
|
314
315
|
encoding: US-ASCII
|
315
316
|
string: ! '{"category": 0, "code": 201, "content_type": "application/octet-stream",
|
316
|
-
"created": "2012-
|
317
|
-
"file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae",
|
318
|
-
"iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
|
319
|
-
0, "private": true, "resource": "source/
|
317
|
+
"created": "2012-07-14T15:25:57.167411", "credits": 0.0, "description": "",
|
318
|
+
"dev": true, "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae",
|
319
|
+
"name": "iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
|
320
|
+
0, "private": true, "resource": "source/50018f85035d0741ca00001f", "size":
|
320
321
|
4608, "source_parser": {}, "status": {"code": 1, "message": "The request has
|
321
322
|
been queued and will be processed soon"}, "tags": [], "type": 0, "updated":
|
322
|
-
"2012-
|
323
|
+
"2012-07-14T15:25:57.167437"}'
|
323
324
|
http_version: '1.1'
|
324
|
-
recorded_at:
|
325
|
+
recorded_at: Sat, 14 Jul 2012 15:26:24 GMT
|
325
326
|
- request:
|
326
327
|
method: post
|
327
|
-
uri: https://bigml.io/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
|
328
|
+
uri: https://bigml.io/dev/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
|
328
329
|
body:
|
329
330
|
encoding: UTF-8
|
330
|
-
string: ! '{"source":"source/
|
331
|
+
string: ! '{"source":"source/50018f85035d0741ca00001f"}'
|
331
332
|
headers:
|
332
333
|
content-type:
|
333
334
|
- application/json
|
@@ -341,37 +342,37 @@ http_interactions:
|
|
341
342
|
content-type:
|
342
343
|
- application/json; charset=utf-8
|
343
344
|
date:
|
344
|
-
-
|
345
|
+
- Sat, 14 Jul 2012 15:25:23 GMT
|
345
346
|
location:
|
346
|
-
- http://bigml.io/andromeda/dataset/
|
347
|
+
- http://bigml.io/andromeda/dataset/50018f86035d07569600000b
|
347
348
|
server:
|
348
349
|
- nginx/1.0.12
|
349
350
|
content-length:
|
350
|
-
- '
|
351
|
+
- '934'
|
351
352
|
connection:
|
352
353
|
- Close
|
353
354
|
body:
|
354
355
|
encoding: US-ASCII
|
355
|
-
string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-
|
356
|
-
"credits": 0.00439453125, "description": "", "
|
357
|
-
0, "name": "sepal length", "optype": "numeric"}, "000001":
|
358
|
-
1, "name": "sepal width", "optype": "numeric"}, "000002":
|
359
|
-
2, "name": "petal length", "optype": "numeric"}, "000003":
|
360
|
-
3, "name": "petal width", "optype": "numeric"}, "000004":
|
361
|
-
4, "name": "species", "optype": "categorical"}}, "locale":
|
362
|
-
"iris'' dataset", "number_of_models": 0, "number_of_predictions":
|
363
|
-
true, "resource": "dataset/
|
364
|
-
"source": "source/
|
365
|
-
{"code": 1, "message": "The dataset is being processed and
|
366
|
-
soon"}, "tags": [], "updated": "2012-
|
356
|
+
string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-07-14T15:25:58.758127",
|
357
|
+
"credits": 0.00439453125, "description": "", "dev": true, "fields": {"000000":
|
358
|
+
{"column_number": 0, "name": "sepal length", "optype": "numeric"}, "000001":
|
359
|
+
{"column_number": 1, "name": "sepal width", "optype": "numeric"}, "000002":
|
360
|
+
{"column_number": 2, "name": "petal length", "optype": "numeric"}, "000003":
|
361
|
+
{"column_number": 3, "name": "petal width", "optype": "numeric"}, "000004":
|
362
|
+
{"column_number": 4, "name": "species", "optype": "categorical"}}, "locale":
|
363
|
+
"en_US", "name": "iris'' dataset", "number_of_models": 0, "number_of_predictions":
|
364
|
+
0, "private": true, "resource": "dataset/50018f86035d07569600000b", "rows":
|
365
|
+
0, "size": 4608, "source": "source/50018f85035d0741ca00001f", "source_status":
|
366
|
+
true, "status": {"code": 1, "message": "The dataset is being processed and
|
367
|
+
will be created soon"}, "tags": [], "updated": "2012-07-14T15:25:58.758145"}'
|
367
368
|
http_version: '1.1'
|
368
|
-
recorded_at:
|
369
|
+
recorded_at: Sat, 14 Jul 2012 15:26:26 GMT
|
369
370
|
- request:
|
370
371
|
method: post
|
371
|
-
uri: https://bigml.io/andromeda/model?username=<USERNAME>&api_key=<API_KEY>
|
372
|
+
uri: https://bigml.io/dev/andromeda/model?username=<USERNAME>&api_key=<API_KEY>
|
372
373
|
body:
|
373
374
|
encoding: UTF-8
|
374
|
-
string: ! '{"dataset":"dataset/
|
375
|
+
string: ! '{"dataset":"dataset/50018f86035d07569600000b"}'
|
375
376
|
headers:
|
376
377
|
content-type:
|
377
378
|
- application/json
|
@@ -385,33 +386,34 @@ http_interactions:
|
|
385
386
|
content-type:
|
386
387
|
- application/json; charset=utf-8
|
387
388
|
date:
|
388
|
-
-
|
389
|
+
- Sat, 14 Jul 2012 15:20:24 GMT
|
389
390
|
location:
|
390
|
-
- http://bigml.io/andromeda/model/
|
391
|
+
- http://bigml.io/andromeda/model/50018fc81552681edf00002c
|
391
392
|
server:
|
392
393
|
- nginx/1.0.12
|
393
394
|
content-length:
|
394
|
-
- '
|
395
|
+
- '704'
|
395
396
|
connection:
|
396
397
|
- Close
|
397
398
|
body:
|
398
399
|
encoding: US-ASCII
|
399
|
-
string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-
|
400
|
-
"credits": 0.017578125, "dataset": "dataset/
|
401
|
-
true, "description": "", "holdout": 0.0, "input_fields": [],
|
402
|
-
"max_columns": 5, "max_rows": 150, "name": "iris'' dataset
|
403
|
-
|
404
|
-
"
|
405
|
-
"
|
406
|
-
|
400
|
+
string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-07-14T15:27:04.667189",
|
401
|
+
"credits": 0.017578125, "dataset": "dataset/50018f86035d07569600000b", "dataset_status":
|
402
|
+
true, "description": "", "dev": true, "holdout": 0.0, "input_fields": [],
|
403
|
+
"locale": "en_US", "max_columns": 5, "max_rows": 150, "name": "iris'' dataset
|
404
|
+
model", "number_of_predictions": 0, "objective_fields": [], "private": true,
|
405
|
+
"range": [1, 150], "resource": "model/50018fc81552681edf00002c", "rows": 150,
|
406
|
+
"size": 4608, "source": "source/50018f85035d0741ca00001f", "source_status":
|
407
|
+
true, "status": {"code": 1, "message": "The model is being processed and will
|
408
|
+
be created soon"}, "tags": [], "updated": "2012-07-14T15:27:04.667217"}'
|
407
409
|
http_version: '1.1'
|
408
|
-
recorded_at:
|
410
|
+
recorded_at: Sat, 14 Jul 2012 15:26:27 GMT
|
409
411
|
- request:
|
410
412
|
method: post
|
411
|
-
uri: https://bigml.io/andromeda/prediction?username=<USERNAME>&api_key=<API_KEY>
|
413
|
+
uri: https://bigml.io/dev/andromeda/prediction?username=<USERNAME>&api_key=<API_KEY>
|
412
414
|
body:
|
413
415
|
encoding: UTF-8
|
414
|
-
string: ! '{"model":"model/
|
416
|
+
string: ! '{"model":"model/50018fc81552681edf00002c","input_data":{"000001":3}}'
|
415
417
|
headers:
|
416
418
|
content-type:
|
417
419
|
- application/json
|
@@ -425,38 +427,38 @@ http_interactions:
|
|
425
427
|
content-type:
|
426
428
|
- application/json; charset=utf-8
|
427
429
|
date:
|
428
|
-
-
|
430
|
+
- Sat, 14 Jul 2012 15:25:26 GMT
|
429
431
|
location:
|
430
|
-
- http://bigml.io/andromeda/prediction/
|
432
|
+
- http://bigml.io/andromeda/prediction/50018fca1552681d6800003b
|
431
433
|
server:
|
432
434
|
- nginx/1.0.12
|
433
435
|
content-length:
|
434
|
-
- '
|
436
|
+
- '1235'
|
435
437
|
connection:
|
436
438
|
- Close
|
437
439
|
body:
|
438
440
|
encoding: US-ASCII
|
439
|
-
string: ! '{"category": 0, "code": 201, "created": "2012-
|
440
|
-
"credits": 0.01, "dataset": "dataset/
|
441
|
-
true, "description": "", "fields": {"000001": {"column_number":
|
442
|
-
"double", "name": "sepal width", "optype": "numeric", "preferred":
|
443
|
-
"000002": {"column_number": 2, "datatype": "double", "name": "petal
|
444
|
-
"optype": "numeric", "preferred": true}, "000004": {"column_number":
|
445
|
-
"string", "name": "species", "optype": "categorical", "preferred":
|
446
|
-
"input_data": {"000001": 3}, "locale": "en_US", "model": "model/
|
441
|
+
string: ! '{"category": 0, "code": 201, "created": "2012-07-14T15:27:06.401438",
|
442
|
+
"credits": 0.01, "dataset": "dataset/50018f86035d07569600000b", "dataset_status":
|
443
|
+
true, "description": "", "dev": true, "fields": {"000001": {"column_number":
|
444
|
+
1, "datatype": "double", "name": "sepal width", "optype": "numeric", "preferred":
|
445
|
+
true}, "000002": {"column_number": 2, "datatype": "double", "name": "petal
|
446
|
+
length", "optype": "numeric", "preferred": true}, "000004": {"column_number":
|
447
|
+
4, "datatype": "string", "name": "species", "optype": "categorical", "preferred":
|
448
|
+
true}}, "input_data": {"000001": 3}, "locale": "en_US", "model": "model/50018fc81552681edf00002c",
|
447
449
|
"model_status": true, "name": "Prediction for species", "objective_fields":
|
448
450
|
["000004"], "prediction": {"000004": "Iris-virginica"}, "prediction_path":
|
449
451
|
{"bad_fields": [], "next_predicates": [{"field": "000002", "operator": ">",
|
450
452
|
"value": 2.45}, {"field": "000002", "operator": "<=", "value": 2.45}], "path":
|
451
|
-
[], "unknown_fields": []}, "private": true, "resource": "prediction/
|
452
|
-
"source": "source/
|
453
|
+
[], "unknown_fields": []}, "private": true, "resource": "prediction/50018fca1552681d6800003b",
|
454
|
+
"source": "source/50018f85035d0741ca00001f", "source_status": true, "status":
|
453
455
|
{"code": 5, "message": "The prediction has been created"}, "tags": [], "updated":
|
454
|
-
"2012-
|
456
|
+
"2012-07-14T15:27:06.401459"}'
|
455
457
|
http_version: '1.1'
|
456
|
-
recorded_at:
|
458
|
+
recorded_at: Sat, 14 Jul 2012 15:26:29 GMT
|
457
459
|
- request:
|
458
460
|
method: delete
|
459
|
-
uri: https://bigml.io/andromeda/prediction/
|
461
|
+
uri: https://bigml.io/dev/andromeda/prediction/50018fca1552681d6800003b?username=<USERNAME>&api_key=<API_KEY>
|
460
462
|
body:
|
461
463
|
encoding: US-ASCII
|
462
464
|
string: ''
|
@@ -473,7 +475,7 @@ http_interactions:
|
|
473
475
|
content-type:
|
474
476
|
- text/html; charset=utf-8
|
475
477
|
date:
|
476
|
-
-
|
478
|
+
- Sat, 14 Jul 2012 15:20:27 GMT
|
477
479
|
server:
|
478
480
|
- nginx/1.0.12
|
479
481
|
connection:
|
@@ -482,10 +484,10 @@ http_interactions:
|
|
482
484
|
encoding: US-ASCII
|
483
485
|
string: ''
|
484
486
|
http_version: '1.1'
|
485
|
-
recorded_at:
|
487
|
+
recorded_at: Sat, 14 Jul 2012 15:26:30 GMT
|
486
488
|
- request:
|
487
489
|
method: get
|
488
|
-
uri: https://bigml.io/andromeda/prediction/
|
490
|
+
uri: https://bigml.io/dev/andromeda/prediction/50018fca1552681d6800003b?username=<USERNAME>&api_key=<API_KEY>
|
489
491
|
body:
|
490
492
|
encoding: US-ASCII
|
491
493
|
string: ''
|
@@ -500,7 +502,7 @@ http_interactions:
|
|
500
502
|
content-type:
|
501
503
|
- application/json; charset=utf-8
|
502
504
|
date:
|
503
|
-
-
|
505
|
+
- Sat, 14 Jul 2012 15:25:28 GMT
|
504
506
|
server:
|
505
507
|
- nginx/1.0.12
|
506
508
|
content-length:
|
@@ -510,13 +512,13 @@ http_interactions:
|
|
510
512
|
body:
|
511
513
|
encoding: US-ASCII
|
512
514
|
string: ! '{"code": 404, "status": {"code": -1201, "extra": ["Couldn''t find
|
513
|
-
an instance of ''Prediction'' which matched ''pk=
|
515
|
+
an instance of ''Prediction'' which matched ''pk=50018fca1552681d6800003b''."],
|
514
516
|
"message": "Id does not exist"}}'
|
515
517
|
http_version: '1.1'
|
516
|
-
recorded_at:
|
518
|
+
recorded_at: Sat, 14 Jul 2012 15:26:31 GMT
|
517
519
|
- request:
|
518
520
|
method: get
|
519
|
-
uri: https://bigml.io/andromeda/prediction?username=<USERNAME>&api_key=<API_KEY>
|
521
|
+
uri: https://bigml.io/dev/andromeda/prediction?username=<USERNAME>&api_key=<API_KEY>
|
520
522
|
body:
|
521
523
|
encoding: US-ASCII
|
522
524
|
string: ''
|
@@ -531,7 +533,7 @@ http_interactions:
|
|
531
533
|
content-type:
|
532
534
|
- application/json; charset=utf-8
|
533
535
|
date:
|
534
|
-
-
|
536
|
+
- Sat, 14 Jul 2012 15:20:33 GMT
|
535
537
|
server:
|
536
538
|
- nginx/1.0.12
|
537
539
|
content-length:
|
@@ -543,5 +545,5 @@ http_interactions:
|
|
543
545
|
string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
|
544
546
|
"total_count": 0}, "objects": []}'
|
545
547
|
http_version: '1.1'
|
546
|
-
recorded_at:
|
548
|
+
recorded_at: Sat, 14 Jul 2012 15:26:36 GMT
|
547
549
|
recorded_with: VCR 2.2.2
|