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:27:04 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:33:34.787000", "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": 0, "number_of_predictions": 0, "private": true, "resource":
|
40
|
+
"source/5001914e1552681edf000044", "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": 74, "message": "The source has been created"}, "tags":
|
45
|
+
[], "type": 0, "updated": "2012-07-14T15:32:35.337000"}]}'
|
45
46
|
http_version: '1.1'
|
46
|
-
recorded_at:
|
47
|
+
recorded_at: Sat, 14 Jul 2012 15:33:07 GMT
|
47
48
|
- request:
|
48
49
|
method: delete
|
49
|
-
uri: https://bigml.io/andromeda/source/
|
50
|
+
uri: https://bigml.io/dev/andromeda/source/5001914e1552681edf000044?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:32:06 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:33:09 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:27:07 GMT
|
94
95
|
server:
|
95
96
|
- nginx/1.0.12
|
96
97
|
content-length:
|
97
|
-
- '
|
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:33:36.703000", "credits": 0.00439453125, "description":
|
106
|
+
"", "dev": true, "locale": "en_US", "name": "iris'' dataset", "number_of_models":
|
107
|
+
0, "number_of_predictions": 0, "private": true, "resource": "dataset/50019150155268369a000005",
|
108
|
+
"rows": 150, "size": 4608, "source": "source/5001914e1552681edf000044", "source_status":
|
109
|
+
false, "status": {"bytes": 4608, "code": 5, "elapsed": 154, "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:32:35.343000"}]}'
|
111
112
|
http_version: '1.1'
|
112
|
-
recorded_at:
|
113
|
+
recorded_at: Sat, 14 Jul 2012 15:33:10 GMT
|
113
114
|
- request:
|
114
115
|
method: delete
|
115
|
-
uri: https://bigml.io/andromeda/dataset/
|
116
|
+
uri: https://bigml.io/dev/andromeda/dataset/50019150155268369a000005?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:32:15 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:33:18 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,11 +157,11 @@ http_interactions:
|
|
156
157
|
content-type:
|
157
158
|
- application/json; charset=utf-8
|
158
159
|
date:
|
159
|
-
-
|
160
|
+
- Sat, 14 Jul 2012 15:27:16 GMT
|
160
161
|
server:
|
161
162
|
- nginx/1.0.12
|
162
|
-
|
163
|
-
-
|
163
|
+
transfer-encoding:
|
164
|
+
- chunked
|
164
165
|
connection:
|
165
166
|
- Close
|
166
167
|
body:
|
@@ -168,10 +169,10 @@ http_interactions:
|
|
168
169
|
string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
|
169
170
|
"total_count": 0}, "objects": []}'
|
170
171
|
http_version: '1.1'
|
171
|
-
recorded_at:
|
172
|
+
recorded_at: Sat, 14 Jul 2012 15:33:19 GMT
|
172
173
|
- request:
|
173
174
|
method: post
|
174
|
-
uri: https://bigml.io/andromeda/source
|
175
|
+
uri: https://bigml.io/dev/andromeda/source
|
175
176
|
body:
|
176
177
|
encoding: US-ASCII
|
177
178
|
string: ''
|
@@ -179,7 +180,7 @@ http_interactions:
|
|
179
180
|
content-type:
|
180
181
|
- multipart/form-data; boundary=-----------RubyMultipartPost
|
181
182
|
content-length:
|
182
|
-
- '
|
183
|
+
- '5149'
|
183
184
|
connection:
|
184
185
|
- close
|
185
186
|
response:
|
@@ -190,33 +191,33 @@ http_interactions:
|
|
190
191
|
content-type:
|
191
192
|
- application/json; charset=utf-8
|
192
193
|
date:
|
193
|
-
-
|
194
|
+
- Sat, 14 Jul 2012 15:32:19 GMT
|
194
195
|
location:
|
195
|
-
- http://bigml.io/andromeda/source/
|
196
|
+
- http://bigml.io/andromeda/source/50019125035d074059000057
|
196
197
|
server:
|
197
198
|
- nginx/1.0.12
|
198
199
|
content-length:
|
199
|
-
- '
|
200
|
+
- '580'
|
200
201
|
connection:
|
201
202
|
- Close
|
202
203
|
body:
|
203
204
|
encoding: US-ASCII
|
204
205
|
string: ! '{"category": 0, "code": 201, "content_type": "application/octet-stream",
|
205
|
-
"created": "2012-
|
206
|
-
"file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae",
|
207
|
-
"iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
|
208
|
-
0, "private": true, "resource": "source/
|
206
|
+
"created": "2012-07-14T15:32:53.736582", "credits": 0.0, "description": "",
|
207
|
+
"dev": true, "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae",
|
208
|
+
"name": "iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
|
209
|
+
0, "private": true, "resource": "source/50019125035d074059000057", "size":
|
209
210
|
4608, "source_parser": {}, "status": {"code": 1, "message": "The request has
|
210
211
|
been queued and will be processed soon"}, "tags": [], "type": 0, "updated":
|
211
|
-
"2012-
|
212
|
+
"2012-07-14T15:32:53.736606"}'
|
212
213
|
http_version: '1.1'
|
213
|
-
recorded_at:
|
214
|
+
recorded_at: Sat, 14 Jul 2012 15:33:22 GMT
|
214
215
|
- request:
|
215
216
|
method: post
|
216
|
-
uri: https://bigml.io/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
|
217
|
+
uri: https://bigml.io/dev/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
|
217
218
|
body:
|
218
219
|
encoding: UTF-8
|
219
|
-
string: ! '{"source":"source/
|
220
|
+
string: ! '{"source":"source/50019125035d074059000057"}'
|
220
221
|
headers:
|
221
222
|
content-type:
|
222
223
|
- application/json
|
@@ -230,37 +231,37 @@ http_interactions:
|
|
230
231
|
content-type:
|
231
232
|
- application/json; charset=utf-8
|
232
233
|
date:
|
233
|
-
-
|
234
|
+
- Sat, 14 Jul 2012 15:27:22 GMT
|
234
235
|
location:
|
235
|
-
- http://bigml.io/andromeda/dataset/
|
236
|
+
- http://bigml.io/andromeda/dataset/50019128035d0741ca000041
|
236
237
|
server:
|
237
238
|
- nginx/1.0.12
|
238
239
|
content-length:
|
239
|
-
- '
|
240
|
+
- '934'
|
240
241
|
connection:
|
241
242
|
- Close
|
242
243
|
body:
|
243
244
|
encoding: US-ASCII
|
244
|
-
string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-
|
245
|
-
"credits": 0.00439453125, "description": "", "
|
246
|
-
0, "name": "sepal length", "optype": "numeric"}, "000001":
|
247
|
-
1, "name": "sepal width", "optype": "numeric"}, "000002":
|
248
|
-
2, "name": "petal length", "optype": "numeric"}, "000003":
|
249
|
-
3, "name": "petal width", "optype": "numeric"}, "000004":
|
250
|
-
4, "name": "species", "optype": "categorical"}}, "locale":
|
251
|
-
"iris'' dataset", "number_of_models": 0, "number_of_predictions":
|
252
|
-
true, "resource": "dataset/
|
253
|
-
"source": "source/
|
254
|
-
{"code": 1, "message": "The dataset is being processed and
|
255
|
-
soon"}, "tags": [], "updated": "2012-
|
245
|
+
string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-07-14T15:32:56.959161",
|
246
|
+
"credits": 0.00439453125, "description": "", "dev": true, "fields": {"000000":
|
247
|
+
{"column_number": 0, "name": "sepal length", "optype": "numeric"}, "000001":
|
248
|
+
{"column_number": 1, "name": "sepal width", "optype": "numeric"}, "000002":
|
249
|
+
{"column_number": 2, "name": "petal length", "optype": "numeric"}, "000003":
|
250
|
+
{"column_number": 3, "name": "petal width", "optype": "numeric"}, "000004":
|
251
|
+
{"column_number": 4, "name": "species", "optype": "categorical"}}, "locale":
|
252
|
+
"en_US", "name": "iris'' dataset", "number_of_models": 0, "number_of_predictions":
|
253
|
+
0, "private": true, "resource": "dataset/50019128035d0741ca000041", "rows":
|
254
|
+
0, "size": 4608, "source": "source/50019125035d074059000057", "source_status":
|
255
|
+
true, "status": {"code": 1, "message": "The dataset is being processed and
|
256
|
+
will be created soon"}, "tags": [], "updated": "2012-07-14T15:32:56.959186"}'
|
256
257
|
http_version: '1.1'
|
257
|
-
recorded_at:
|
258
|
+
recorded_at: Sat, 14 Jul 2012 15:33:25 GMT
|
258
259
|
- request:
|
259
260
|
method: post
|
260
|
-
uri: https://bigml.io/andromeda/model?username=<USERNAME>&api_key=<API_KEY>
|
261
|
+
uri: https://bigml.io/dev/andromeda/model?username=<USERNAME>&api_key=<API_KEY>
|
261
262
|
body:
|
262
263
|
encoding: UTF-8
|
263
|
-
string: ! '{"dataset":"dataset/
|
264
|
+
string: ! '{"dataset":"dataset/50019128035d0741ca000041"}'
|
264
265
|
headers:
|
265
266
|
content-type:
|
266
267
|
- application/json
|
@@ -274,33 +275,34 @@ http_interactions:
|
|
274
275
|
content-type:
|
275
276
|
- application/json; charset=utf-8
|
276
277
|
date:
|
277
|
-
-
|
278
|
+
- Sat, 14 Jul 2012 15:32:29 GMT
|
278
279
|
location:
|
279
|
-
- http://bigml.io/andromeda/model/
|
280
|
+
- http://bigml.io/andromeda/model/500191701552681c60000036
|
280
281
|
server:
|
281
282
|
- nginx/1.0.12
|
282
283
|
content-length:
|
283
|
-
- '
|
284
|
+
- '704'
|
284
285
|
connection:
|
285
286
|
- Close
|
286
287
|
body:
|
287
288
|
encoding: US-ASCII
|
288
|
-
string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-
|
289
|
-
"credits": 0.017578125, "dataset": "dataset/
|
290
|
-
true, "description": "", "holdout": 0.0, "input_fields": [],
|
291
|
-
"max_columns": 5, "max_rows": 150, "name": "iris'' dataset
|
292
|
-
|
293
|
-
"
|
294
|
-
"
|
295
|
-
|
289
|
+
string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-07-14T15:34:08.814659",
|
290
|
+
"credits": 0.017578125, "dataset": "dataset/50019128035d0741ca000041", "dataset_status":
|
291
|
+
true, "description": "", "dev": true, "holdout": 0.0, "input_fields": [],
|
292
|
+
"locale": "en_US", "max_columns": 5, "max_rows": 150, "name": "iris'' dataset
|
293
|
+
model", "number_of_predictions": 0, "objective_fields": [], "private": true,
|
294
|
+
"range": [1, 150], "resource": "model/500191701552681c60000036", "rows": 150,
|
295
|
+
"size": 4608, "source": "source/50019125035d074059000057", "source_status":
|
296
|
+
true, "status": {"code": 1, "message": "The model is being processed and will
|
297
|
+
be created soon"}, "tags": [], "updated": "2012-07-14T15:34:08.814688"}'
|
296
298
|
http_version: '1.1'
|
297
|
-
recorded_at:
|
299
|
+
recorded_at: Sat, 14 Jul 2012 15:33:32 GMT
|
298
300
|
- request:
|
299
301
|
method: post
|
300
|
-
uri: https://bigml.io/andromeda/prediction?username=<USERNAME>&api_key=<API_KEY>
|
302
|
+
uri: https://bigml.io/dev/andromeda/prediction?username=<USERNAME>&api_key=<API_KEY>
|
301
303
|
body:
|
302
304
|
encoding: UTF-8
|
303
|
-
string: ! '{"model":"model/
|
305
|
+
string: ! '{"model":"model/500191701552681c60000036","input_data":{"000001":3}}'
|
304
306
|
headers:
|
305
307
|
content-type:
|
306
308
|
- application/json
|
@@ -314,33 +316,33 @@ http_interactions:
|
|
314
316
|
content-type:
|
315
317
|
- application/json; charset=utf-8
|
316
318
|
date:
|
317
|
-
-
|
319
|
+
- Sat, 14 Jul 2012 15:27:31 GMT
|
318
320
|
location:
|
319
|
-
- http://bigml.io/andromeda/prediction/
|
321
|
+
- http://bigml.io/andromeda/prediction/500191731552683695000001
|
320
322
|
server:
|
321
323
|
- nginx/1.0.12
|
322
324
|
content-length:
|
323
|
-
- '
|
325
|
+
- '1235'
|
324
326
|
connection:
|
325
327
|
- Close
|
326
328
|
body:
|
327
329
|
encoding: US-ASCII
|
328
|
-
string: ! '{"category": 0, "code": 201, "created": "2012-
|
329
|
-
"credits": 0.01, "dataset": "dataset/
|
330
|
-
true, "description": "", "fields": {"000001": {"column_number":
|
331
|
-
"double", "name": "sepal width", "optype": "numeric", "preferred":
|
332
|
-
"000002": {"column_number": 2, "datatype": "double", "name": "petal
|
333
|
-
"optype": "numeric", "preferred": true}, "000004": {"column_number":
|
334
|
-
"string", "name": "species", "optype": "categorical", "preferred":
|
335
|
-
"input_data": {"000001": 3}, "locale": "en_US", "model": "model/
|
330
|
+
string: ! '{"category": 0, "code": 201, "created": "2012-07-14T15:34:11.358753",
|
331
|
+
"credits": 0.01, "dataset": "dataset/50019128035d0741ca000041", "dataset_status":
|
332
|
+
true, "description": "", "dev": true, "fields": {"000001": {"column_number":
|
333
|
+
1, "datatype": "double", "name": "sepal width", "optype": "numeric", "preferred":
|
334
|
+
true}, "000002": {"column_number": 2, "datatype": "double", "name": "petal
|
335
|
+
length", "optype": "numeric", "preferred": true}, "000004": {"column_number":
|
336
|
+
4, "datatype": "string", "name": "species", "optype": "categorical", "preferred":
|
337
|
+
true}}, "input_data": {"000001": 3}, "locale": "en_US", "model": "model/500191701552681c60000036",
|
336
338
|
"model_status": true, "name": "Prediction for species", "objective_fields":
|
337
339
|
["000004"], "prediction": {"000004": "Iris-virginica"}, "prediction_path":
|
338
340
|
{"bad_fields": [], "next_predicates": [{"field": "000002", "operator": ">",
|
339
341
|
"value": 2.45}, {"field": "000002", "operator": "<=", "value": 2.45}], "path":
|
340
|
-
[], "unknown_fields": []}, "private": true, "resource": "prediction/
|
341
|
-
"source": "source/
|
342
|
+
[], "unknown_fields": []}, "private": true, "resource": "prediction/500191731552683695000001",
|
343
|
+
"source": "source/50019125035d074059000057", "source_status": true, "status":
|
342
344
|
{"code": 5, "message": "The prediction has been created"}, "tags": [], "updated":
|
343
|
-
"2012-
|
345
|
+
"2012-07-14T15:34:11.358774"}'
|
344
346
|
http_version: '1.1'
|
345
|
-
recorded_at:
|
347
|
+
recorded_at: Sat, 14 Jul 2012 15:33:34 GMT
|
346
348
|
recorded_with: VCR 2.2.2
|