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:32 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:02.555000", "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/5001907a035d0741ca00002e", "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": 69, "message": "The source has been created"}, "tags":
|
45
|
+
[], "type": 0, "updated": "2012-07-14T15:31:10.080000"}]}'
|
45
46
|
http_version: '1.1'
|
46
|
-
recorded_at:
|
47
|
+
recorded_at: Sat, 14 Jul 2012 15:30:35 GMT
|
47
48
|
- request:
|
48
49
|
method: delete
|
49
|
-
uri: https://bigml.io/andromeda/source/
|
50
|
+
uri: https://bigml.io/dev/andromeda/source/5001907a035d0741ca00002e?username=<USERNAME>&api_key=<API_KEY>
|
50
51
|
body:
|
51
52
|
encoding: US-ASCII
|
52
53
|
string: ''
|
@@ -55,28 +56,27 @@ http_interactions:
|
|
55
56
|
- close
|
56
57
|
response:
|
57
58
|
status:
|
58
|
-
code:
|
59
|
-
message:
|
59
|
+
code: 204
|
60
|
+
message: NO CONTENT
|
60
61
|
headers:
|
62
|
+
content-length:
|
63
|
+
- '0'
|
61
64
|
content-type:
|
62
|
-
-
|
65
|
+
- text/html; charset=utf-8
|
63
66
|
date:
|
64
|
-
-
|
67
|
+
- Sat, 14 Jul 2012 15:24:36 GMT
|
65
68
|
server:
|
66
69
|
- nginx/1.0.12
|
67
|
-
content-length:
|
68
|
-
- '132'
|
69
70
|
connection:
|
70
71
|
- Close
|
71
72
|
body:
|
72
73
|
encoding: US-ASCII
|
73
|
-
string:
|
74
|
-
being used and cannot be deleted now"], "message": "Bad request"}}'
|
74
|
+
string: ''
|
75
75
|
http_version: '1.1'
|
76
|
-
recorded_at:
|
76
|
+
recorded_at: Sat, 14 Jul 2012 15:30:39 GMT
|
77
77
|
- request:
|
78
78
|
method: get
|
79
|
-
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>
|
80
80
|
body:
|
81
81
|
encoding: US-ASCII
|
82
82
|
string: ''
|
@@ -91,29 +91,37 @@ http_interactions:
|
|
91
91
|
content-type:
|
92
92
|
- application/json; charset=utf-8
|
93
93
|
date:
|
94
|
-
-
|
94
|
+
- Sat, 14 Jul 2012 15:29:37 GMT
|
95
95
|
server:
|
96
96
|
- nginx/1.0.12
|
97
97
|
content-length:
|
98
|
-
- '
|
98
|
+
- '1335'
|
99
99
|
connection:
|
100
100
|
- Close
|
101
101
|
body:
|
102
102
|
encoding: US-ASCII
|
103
103
|
string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
|
104
|
-
"total_count":
|
105
|
-
"created": "2012-
|
106
|
-
"", "locale": "en_US", "name": "iris'' dataset", "number_of_models":
|
107
|
-
0, "private": true, "resource": "dataset/
|
108
|
-
150, "size": 4608, "source": "source/
|
109
|
-
|
110
|
-
[], "message": "The
|
111
|
-
|
104
|
+
"total_count": 2}, "objects": [{"category": 0, "code": 200, "columns": 5,
|
105
|
+
"created": "2012-07-14T15:30:04.037000", "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/5001907c035d0741ca000031",
|
108
|
+
"rows": 150, "size": 4608, "source": "source/5001907a035d0741ca00002e", "source_status":
|
109
|
+
false, "status": {"bytes": 4608, "code": 5, "elapsed": 184, "field_errors":
|
110
|
+
[], "message": "The dataset has been created", "row_format_errors": [], "serialized_rows":
|
111
|
+
150}, "tags": [], "updated": "2012-07-14T15:31:10.087000"}, {"category": 0,
|
112
|
+
"code": 200, "columns": 5, "created": "2012-07-14T15:29:48.713000", "credits":
|
113
|
+
0.00439453125, "description": "", "dev": true, "locale": "en_US", "name":
|
114
|
+
"iris'' dataset", "number_of_models": 0, "number_of_predictions": 0, "private":
|
115
|
+
true, "resource": "dataset/5001906c035d0741ca00002a", "rows": 150, "size":
|
116
|
+
4608, "source": "source/500190aa1552681edf000035", "source_status": false,
|
117
|
+
"status": {"bytes": 4608, "code": 5, "elapsed": 207, "field_errors": [], "message":
|
118
|
+
"The dataset has been created", "row_format_errors": [], "serialized_rows":
|
119
|
+
150}, "tags": [], "updated": "2012-07-14T15:31:02.803000"}]}'
|
112
120
|
http_version: '1.1'
|
113
|
-
recorded_at:
|
121
|
+
recorded_at: Sat, 14 Jul 2012 15:30:40 GMT
|
114
122
|
- request:
|
115
123
|
method: delete
|
116
|
-
uri: https://bigml.io/andromeda/dataset/
|
124
|
+
uri: https://bigml.io/dev/andromeda/dataset/5001907c035d0741ca000031?username=<USERNAME>&api_key=<API_KEY>
|
117
125
|
body:
|
118
126
|
encoding: US-ASCII
|
119
127
|
string: ''
|
@@ -122,28 +130,56 @@ http_interactions:
|
|
122
130
|
- close
|
123
131
|
response:
|
124
132
|
status:
|
125
|
-
code:
|
126
|
-
message:
|
133
|
+
code: 204
|
134
|
+
message: NO CONTENT
|
127
135
|
headers:
|
136
|
+
content-length:
|
137
|
+
- '0'
|
128
138
|
content-type:
|
129
|
-
-
|
139
|
+
- text/html; charset=utf-8
|
130
140
|
date:
|
131
|
-
-
|
141
|
+
- Sat, 14 Jul 2012 15:24:39 GMT
|
132
142
|
server:
|
133
143
|
- nginx/1.0.12
|
144
|
+
connection:
|
145
|
+
- Close
|
146
|
+
body:
|
147
|
+
encoding: US-ASCII
|
148
|
+
string: ''
|
149
|
+
http_version: '1.1'
|
150
|
+
recorded_at: Sat, 14 Jul 2012 15:30:42 GMT
|
151
|
+
- request:
|
152
|
+
method: delete
|
153
|
+
uri: https://bigml.io/dev/andromeda/dataset/5001906c035d0741ca00002a?username=<USERNAME>&api_key=<API_KEY>
|
154
|
+
body:
|
155
|
+
encoding: US-ASCII
|
156
|
+
string: ''
|
157
|
+
headers:
|
158
|
+
connection:
|
159
|
+
- close
|
160
|
+
response:
|
161
|
+
status:
|
162
|
+
code: 204
|
163
|
+
message: NO CONTENT
|
164
|
+
headers:
|
134
165
|
content-length:
|
135
|
-
- '
|
166
|
+
- '0'
|
167
|
+
content-type:
|
168
|
+
- text/html; charset=utf-8
|
169
|
+
date:
|
170
|
+
- Sat, 14 Jul 2012 15:29:41 GMT
|
171
|
+
server:
|
172
|
+
- nginx/1.0.12
|
136
173
|
connection:
|
137
174
|
- Close
|
138
175
|
body:
|
139
176
|
encoding: US-ASCII
|
140
|
-
string:
|
141
|
-
being used and cannot be deleted now"], "message": "Bad request"}}'
|
177
|
+
string: ''
|
142
178
|
http_version: '1.1'
|
143
|
-
recorded_at:
|
179
|
+
recorded_at: Sat, 14 Jul 2012 15:30:44 GMT
|
144
180
|
- request:
|
145
181
|
method: get
|
146
|
-
uri: https://bigml.io/andromeda/model?username=<USERNAME>&api_key=<API_KEY>
|
182
|
+
uri: https://bigml.io/dev/andromeda/model?username=<USERNAME>&api_key=<API_KEY>
|
147
183
|
body:
|
148
184
|
encoding: US-ASCII
|
149
185
|
string: ''
|
@@ -158,30 +194,31 @@ http_interactions:
|
|
158
194
|
content-type:
|
159
195
|
- application/json; charset=utf-8
|
160
196
|
date:
|
161
|
-
-
|
197
|
+
- Sat, 14 Jul 2012 15:24:42 GMT
|
162
198
|
server:
|
163
199
|
- nginx/1.0.12
|
164
200
|
content-length:
|
165
|
-
- '
|
201
|
+
- '857'
|
166
202
|
connection:
|
167
203
|
- Close
|
168
204
|
body:
|
169
205
|
encoding: US-ASCII
|
170
206
|
string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
|
171
207
|
"total_count": 1}, "objects": [{"category": 0, "code": 200, "columns": 5,
|
172
|
-
"created": "2012-
|
173
|
-
"dataset/
|
174
|
-
"", "holdout": 0.0, "input_fields":
|
175
|
-
5, "max_rows": 150, "name": "iris''
|
176
|
-
|
177
|
-
"
|
178
|
-
"
|
179
|
-
|
208
|
+
"created": "2012-07-14T15:31:10.074000", "credits": 0.017578125, "dataset":
|
209
|
+
"dataset/5001907c035d0741ca000031", "dataset_status": false, "description":
|
210
|
+
"", "dev": true, "holdout": 0.0, "input_fields": ["000000", "000001", "000002",
|
211
|
+
"000003"], "locale": "en_US", "max_columns": 5, "max_rows": 150, "name": "iris''
|
212
|
+
dataset model", "number_of_predictions": 0, "objective_fields": ["000004"],
|
213
|
+
"private": true, "range": [1, 150], "resource": "model/500190be1552681edf000039",
|
214
|
+
"rows": 150, "size": 4608, "source": "source/5001907a035d0741ca00002e", "source_status":
|
215
|
+
false, "status": {"code": 5, "elapsed": 137, "message": "The model has been
|
216
|
+
created", "progress": 1}, "tags": [], "updated": "2012-07-14T15:31:11.447000"}]}'
|
180
217
|
http_version: '1.1'
|
181
|
-
recorded_at:
|
218
|
+
recorded_at: Sat, 14 Jul 2012 15:30:45 GMT
|
182
219
|
- request:
|
183
220
|
method: delete
|
184
|
-
uri: https://bigml.io/andromeda/model/
|
221
|
+
uri: https://bigml.io/dev/andromeda/model/500190be1552681edf000039?username=<USERNAME>&api_key=<API_KEY>
|
185
222
|
body:
|
186
223
|
encoding: US-ASCII
|
187
224
|
string: ''
|
@@ -198,7 +235,7 @@ http_interactions:
|
|
198
235
|
content-type:
|
199
236
|
- text/html; charset=utf-8
|
200
237
|
date:
|
201
|
-
-
|
238
|
+
- Sat, 14 Jul 2012 15:29:44 GMT
|
202
239
|
server:
|
203
240
|
- nginx/1.0.12
|
204
241
|
connection:
|
@@ -207,10 +244,10 @@ http_interactions:
|
|
207
244
|
encoding: US-ASCII
|
208
245
|
string: ''
|
209
246
|
http_version: '1.1'
|
210
|
-
recorded_at:
|
247
|
+
recorded_at: Sat, 14 Jul 2012 15:30:47 GMT
|
211
248
|
- request:
|
212
249
|
method: post
|
213
|
-
uri: https://bigml.io/andromeda/source
|
250
|
+
uri: https://bigml.io/dev/andromeda/source
|
214
251
|
body:
|
215
252
|
encoding: US-ASCII
|
216
253
|
string: ''
|
@@ -218,7 +255,7 @@ http_interactions:
|
|
218
255
|
content-type:
|
219
256
|
- multipart/form-data; boundary=-----------RubyMultipartPost
|
220
257
|
content-length:
|
221
|
-
- '
|
258
|
+
- '5149'
|
222
259
|
connection:
|
223
260
|
- close
|
224
261
|
response:
|
@@ -229,33 +266,33 @@ http_interactions:
|
|
229
266
|
content-type:
|
230
267
|
- application/json; charset=utf-8
|
231
268
|
date:
|
232
|
-
-
|
269
|
+
- Sat, 14 Jul 2012 15:24:46 GMT
|
233
270
|
location:
|
234
|
-
- http://bigml.io/andromeda/source/
|
271
|
+
- http://bigml.io/andromeda/source/500190ce1552681ee400002b
|
235
272
|
server:
|
236
273
|
- nginx/1.0.12
|
237
274
|
content-length:
|
238
|
-
- '
|
275
|
+
- '580'
|
239
276
|
connection:
|
240
277
|
- Close
|
241
278
|
body:
|
242
279
|
encoding: US-ASCII
|
243
280
|
string: ! '{"category": 0, "code": 201, "content_type": "application/octet-stream",
|
244
|
-
"created": "2012-
|
245
|
-
"file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae",
|
246
|
-
"iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
|
247
|
-
0, "private": true, "resource": "source/
|
281
|
+
"created": "2012-07-14T15:31:26.353245", "credits": 0.0, "description": "",
|
282
|
+
"dev": true, "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae",
|
283
|
+
"name": "iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
|
284
|
+
0, "private": true, "resource": "source/500190ce1552681ee400002b", "size":
|
248
285
|
4608, "source_parser": {}, "status": {"code": 1, "message": "The request has
|
249
286
|
been queued and will be processed soon"}, "tags": [], "type": 0, "updated":
|
250
|
-
"2012-
|
287
|
+
"2012-07-14T15:31:26.353270"}'
|
251
288
|
http_version: '1.1'
|
252
|
-
recorded_at:
|
289
|
+
recorded_at: Sat, 14 Jul 2012 15:30:49 GMT
|
253
290
|
- request:
|
254
291
|
method: post
|
255
|
-
uri: https://bigml.io/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
|
292
|
+
uri: https://bigml.io/dev/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
|
256
293
|
body:
|
257
294
|
encoding: UTF-8
|
258
|
-
string: ! '{"source":"source/
|
295
|
+
string: ! '{"source":"source/500190ce1552681ee400002b"}'
|
259
296
|
headers:
|
260
297
|
content-type:
|
261
298
|
- application/json
|
@@ -269,37 +306,37 @@ http_interactions:
|
|
269
306
|
content-type:
|
270
307
|
- application/json; charset=utf-8
|
271
308
|
date:
|
272
|
-
-
|
309
|
+
- Sat, 14 Jul 2012 15:29:48 GMT
|
273
310
|
location:
|
274
|
-
- http://bigml.io/andromeda/dataset/
|
311
|
+
- http://bigml.io/andromeda/dataset/5001908f035d075696000012
|
275
312
|
server:
|
276
313
|
- nginx/1.0.12
|
277
314
|
content-length:
|
278
|
-
- '
|
315
|
+
- '934'
|
279
316
|
connection:
|
280
317
|
- Close
|
281
318
|
body:
|
282
319
|
encoding: US-ASCII
|
283
|
-
string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-
|
284
|
-
"credits": 0.00439453125, "description": "", "
|
285
|
-
0, "name": "sepal length", "optype": "numeric"}, "000001":
|
286
|
-
1, "name": "sepal width", "optype": "numeric"}, "000002":
|
287
|
-
2, "name": "petal length", "optype": "numeric"}, "000003":
|
288
|
-
3, "name": "petal width", "optype": "numeric"}, "000004":
|
289
|
-
4, "name": "species", "optype": "categorical"}}, "locale":
|
290
|
-
"iris'' dataset", "number_of_models": 0, "number_of_predictions":
|
291
|
-
true, "resource": "dataset/
|
292
|
-
"source": "source/
|
293
|
-
{"code": 1, "message": "The dataset is being processed and
|
294
|
-
soon"}, "tags": [], "updated": "2012-
|
320
|
+
string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-07-14T15:30:23.797310",
|
321
|
+
"credits": 0.00439453125, "description": "", "dev": true, "fields": {"000000":
|
322
|
+
{"column_number": 0, "name": "sepal length", "optype": "numeric"}, "000001":
|
323
|
+
{"column_number": 1, "name": "sepal width", "optype": "numeric"}, "000002":
|
324
|
+
{"column_number": 2, "name": "petal length", "optype": "numeric"}, "000003":
|
325
|
+
{"column_number": 3, "name": "petal width", "optype": "numeric"}, "000004":
|
326
|
+
{"column_number": 4, "name": "species", "optype": "categorical"}}, "locale":
|
327
|
+
"en_US", "name": "iris'' dataset", "number_of_models": 0, "number_of_predictions":
|
328
|
+
0, "private": true, "resource": "dataset/5001908f035d075696000012", "rows":
|
329
|
+
0, "size": 4608, "source": "source/500190ce1552681ee400002b", "source_status":
|
330
|
+
true, "status": {"code": 1, "message": "The dataset is being processed and
|
331
|
+
will be created soon"}, "tags": [], "updated": "2012-07-14T15:30:23.797330"}'
|
295
332
|
http_version: '1.1'
|
296
|
-
recorded_at:
|
333
|
+
recorded_at: Sat, 14 Jul 2012 15:30:51 GMT
|
297
334
|
- request:
|
298
335
|
method: post
|
299
|
-
uri: https://bigml.io/andromeda/model?username=<USERNAME>&api_key=<API_KEY>
|
336
|
+
uri: https://bigml.io/dev/andromeda/model?username=<USERNAME>&api_key=<API_KEY>
|
300
337
|
body:
|
301
338
|
encoding: UTF-8
|
302
|
-
string: ! '{"dataset":"dataset/
|
339
|
+
string: ! '{"dataset":"dataset/5001908f035d075696000012"}'
|
303
340
|
headers:
|
304
341
|
content-type:
|
305
342
|
- application/json
|
@@ -313,31 +350,31 @@ http_interactions:
|
|
313
350
|
content-type:
|
314
351
|
- application/json; charset=utf-8
|
315
352
|
date:
|
316
|
-
-
|
353
|
+
- Sat, 14 Jul 2012 15:24:49 GMT
|
317
354
|
location:
|
318
|
-
- http://bigml.io/andromeda/model/
|
355
|
+
- http://bigml.io/andromeda/model/50019091035d075696000014
|
319
356
|
server:
|
320
357
|
- nginx/1.0.12
|
321
358
|
content-length:
|
322
|
-
- '
|
359
|
+
- '704'
|
323
360
|
connection:
|
324
361
|
- Close
|
325
362
|
body:
|
326
363
|
encoding: US-ASCII
|
327
|
-
string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-
|
328
|
-
"credits": 0.017578125, "dataset": "dataset/
|
329
|
-
true, "description": "", "
|
330
|
-
"
|
331
|
-
|
332
|
-
"
|
333
|
-
"
|
334
|
-
true, "status": {"code":
|
335
|
-
[], "updated": "2012-
|
364
|
+
string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-07-14T15:30:25.290305",
|
365
|
+
"credits": 0.017578125, "dataset": "dataset/5001908f035d075696000012", "dataset_status":
|
366
|
+
true, "description": "", "dev": true, "holdout": 0.0, "input_fields": [],
|
367
|
+
"locale": "en_US", "max_columns": 5, "max_rows": 150, "name": "iris'' dataset
|
368
|
+
model", "number_of_predictions": 0, "objective_fields": [], "private": true,
|
369
|
+
"range": [1, 150], "resource": "model/50019091035d075696000014", "rows": 150,
|
370
|
+
"size": 4608, "source": "source/500190ce1552681ee400002b", "source_status":
|
371
|
+
true, "status": {"code": 1, "message": "The model is being processed and will
|
372
|
+
be created soon"}, "tags": [], "updated": "2012-07-14T15:30:25.290330"}'
|
336
373
|
http_version: '1.1'
|
337
|
-
recorded_at:
|
374
|
+
recorded_at: Sat, 14 Jul 2012 15:30:52 GMT
|
338
375
|
- request:
|
339
376
|
method: get
|
340
|
-
uri: https://bigml.io/andromeda/model?username=<USERNAME>&api_key=<API_KEY>
|
377
|
+
uri: https://bigml.io/dev/andromeda/model?username=<USERNAME>&api_key=<API_KEY>
|
341
378
|
body:
|
342
379
|
encoding: US-ASCII
|
343
380
|
string: ''
|
@@ -352,25 +389,26 @@ http_interactions:
|
|
352
389
|
content-type:
|
353
390
|
- application/json; charset=utf-8
|
354
391
|
date:
|
355
|
-
-
|
392
|
+
- Sat, 14 Jul 2012 15:29:50 GMT
|
356
393
|
server:
|
357
394
|
- nginx/1.0.12
|
358
395
|
content-length:
|
359
|
-
- '
|
396
|
+
- '855'
|
360
397
|
connection:
|
361
398
|
- Close
|
362
399
|
body:
|
363
400
|
encoding: US-ASCII
|
364
401
|
string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
|
365
402
|
"total_count": 1}, "objects": [{"category": 0, "code": 200, "columns": 5,
|
366
|
-
"created": "2012-
|
367
|
-
"dataset/
|
368
|
-
"", "holdout": 0.0, "input_fields":
|
369
|
-
5, "max_rows": 150, "name": "iris''
|
370
|
-
|
371
|
-
"
|
372
|
-
"
|
373
|
-
|
403
|
+
"created": "2012-07-14T15:30:25.290000", "credits": 0.017578125, "dataset":
|
404
|
+
"dataset/5001908f035d075696000012", "dataset_status": true, "description":
|
405
|
+
"", "dev": true, "holdout": 0.0, "input_fields": ["000000", "000001", "000002",
|
406
|
+
"000003"], "locale": "en_US", "max_columns": 5, "max_rows": 150, "name": "iris''
|
407
|
+
dataset model", "number_of_predictions": 0, "objective_fields": ["000004"],
|
408
|
+
"private": true, "range": [1, 150], "resource": "model/50019091035d075696000014",
|
409
|
+
"rows": 150, "size": 4608, "source": "source/500190ce1552681ee400002b", "source_status":
|
410
|
+
true, "status": {"code": 5, "elapsed": 132, "message": "The model has been
|
411
|
+
created", "progress": 1}, "tags": [], "updated": "2012-07-14T15:30:25.444000"}]}'
|
374
412
|
http_version: '1.1'
|
375
|
-
recorded_at:
|
413
|
+
recorded_at: Sat, 14 Jul 2012 15:30:53 GMT
|
376
414
|
recorded_with: VCR 2.2.2
|