big_ml 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. data/CHANGELOG.md +5 -0
  2. data/README.md +55 -18
  3. data/big_ml.gemspec +1 -0
  4. data/lib/big_ml/base.rb +21 -11
  5. data/lib/big_ml/dataset.rb +10 -4
  6. data/lib/big_ml/model.rb +16 -10
  7. data/lib/big_ml/prediction.rb +6 -4
  8. data/lib/big_ml/source.rb +10 -4
  9. data/lib/big_ml/{authenticable.rb → util/authenticable.rb} +0 -0
  10. data/lib/big_ml/util/client.rb +26 -0
  11. data/lib/big_ml/util/config.rb +32 -0
  12. data/lib/big_ml/{request.rb → util/request.rb} +0 -0
  13. data/lib/big_ml/version.rb +1 -1
  14. data/lib/big_ml.rb +8 -4
  15. data/spec/integration/dataset_spec.rb +17 -0
  16. data/spec/integration/model_spec.rb +17 -0
  17. data/spec/integration/prediction_spec.rb +11 -0
  18. data/spec/integration/source_spec.rb +19 -6
  19. data/spec/units/client_spec.rb +5 -5
  20. data/spec/vcr_cassettes/BigML_Dataset/no_dataset/_all/must_be_empty.yml +53 -17
  21. data/spec/vcr_cassettes/BigML_Dataset/one_dataset/can_be_converted_in_a_model.yml +232 -0
  22. data/spec/vcr_cassettes/BigML_Dataset/one_dataset/must_be_able_to_be_deleted_using_the_destroy_method.yml +288 -0
  23. data/spec/vcr_cassettes/BigML_Dataset/one_dataset/must_be_able_to_be_find_using_the_reference.yml +49 -49
  24. data/spec/vcr_cassettes/BigML_Dataset/one_dataset/must_be_able_to_remove_the_dataset.yml +41 -77
  25. data/spec/vcr_cassettes/BigML_Dataset/one_dataset/must_be_able_to_update_the_name.yml +57 -57
  26. data/spec/vcr_cassettes/BigML_Dataset/one_dataset/must_be_able_to_update_the_name_from_the_instance.yml +360 -0
  27. data/spec/vcr_cassettes/BigML_Dataset/one_dataset/must_have_only_one_item.yml +44 -44
  28. data/spec/vcr_cassettes/BigML_Dataset/one_dataset/must_have_the_same_file_name.yml +44 -44
  29. data/spec/vcr_cassettes/BigML_Dataset/one_dataset/was_created_successfully.yml +22 -22
  30. data/spec/vcr_cassettes/BigML_Model/no_model/_all/must_be_empty.yml +133 -21
  31. data/spec/vcr_cassettes/BigML_Model/one_model/can_be_converted_in_a_prediction.yml +346 -0
  32. data/spec/vcr_cassettes/BigML_Model/one_model/{must_have_the_same_file_name.yml → must_be_able_to_be_deleted_using_the_destroy_method.yml} +90 -107
  33. data/spec/vcr_cassettes/BigML_Model/one_model/must_be_able_to_be_find_using_the_reference.yml +172 -161
  34. data/spec/vcr_cassettes/BigML_Model/one_model/must_be_able_to_remove_the_model.yml +194 -70
  35. data/spec/vcr_cassettes/BigML_Model/one_model/must_be_able_to_update_the_name.yml +225 -243
  36. data/spec/vcr_cassettes/BigML_Model/one_model/must_be_able_to_update_the_name_from_the_instance.yml +686 -0
  37. data/spec/vcr_cassettes/BigML_Model/one_model/must_have_only_one_item.yml +169 -52
  38. data/spec/vcr_cassettes/BigML_Model/one_model/must_have_the_same_size.yml +91 -90
  39. data/spec/vcr_cassettes/BigML_Model/one_model/was_created_successfully.yml +35 -114
  40. data/spec/vcr_cassettes/BigML_Prediction/no_prediction/_all/must_be_empty.yml +141 -89
  41. data/spec/vcr_cassettes/BigML_Prediction/one_prediction/must_be_able_to_be_deleted_using_the_destroy_method.yml +474 -0
  42. data/spec/vcr_cassettes/BigML_Prediction/one_prediction/must_be_able_to_be_find_using_the_reference.yml +88 -88
  43. data/spec/vcr_cassettes/BigML_Prediction/one_prediction/must_be_able_to_remove_the_prediction.yml +88 -88
  44. data/spec/vcr_cassettes/BigML_Prediction/one_prediction/must_be_able_to_update_the_name.yml +97 -97
  45. data/spec/vcr_cassettes/BigML_Prediction/one_prediction/must_be_able_to_update_the_name_from_the_instance.yml +545 -0
  46. data/spec/vcr_cassettes/BigML_Prediction/one_prediction/must_have_only_one_item.yml +90 -90
  47. data/spec/vcr_cassettes/BigML_Prediction/one_prediction/must_have_the_same_name.yml +161 -78
  48. data/spec/vcr_cassettes/BigML_Prediction/one_prediction/was_created_successfully.yml +45 -45
  49. data/spec/vcr_cassettes/BigML_Source/no_source/_all/must_be_empty.yml +12 -42
  50. data/spec/vcr_cassettes/BigML_Source/one_source/can_be_converted_in_a_dataset.yml +119 -0
  51. data/spec/vcr_cassettes/BigML_Source/one_source/must_be_able_to_be_deleted_using_the_destroy_method.yml +135 -0
  52. data/spec/vcr_cassettes/BigML_Source/one_source/must_be_able_to_be_find_using_the_reference.yml +22 -52
  53. data/spec/vcr_cassettes/BigML_Source/one_source/must_be_able_to_remove_the_source.yml +43 -30
  54. data/spec/vcr_cassettes/BigML_Source/one_source/must_be_able_to_update_the_name.yml +38 -68
  55. data/spec/vcr_cassettes/BigML_Source/one_source/must_be_able_to_update_the_name_from_the_instance.yml +249 -0
  56. data/spec/vcr_cassettes/BigML_Source/one_source/must_have_only_one_item.yml +24 -54
  57. data/spec/vcr_cassettes/BigML_Source/one_source/must_have_the_same_file_name.yml +21 -51
  58. data/spec/vcr_cassettes/BigML_Source/one_source/was_created_successfully.yml +8 -38
  59. metadata +50 -9
  60. data/.rvmrc +0 -1
  61. data/lib/big_ml/client.rb +0 -29
  62. data/lib/big_ml/config.rb +0 -30
@@ -17,19 +17,62 @@ http_interactions:
17
17
  content-type:
18
18
  - application/json; charset=utf-8
19
19
  date:
20
- - Wed, 20 Jun 2012 03:56:06 GMT
20
+ - Thu, 28 Jun 2012 22:21:53 GMT
21
21
  server:
22
22
  - nginx/1.0.12
23
23
  content-length:
24
- - '101'
24
+ - '1281'
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
- "total_count": 0}, "objects": []}'
30
+ "total_count": 1}, "objects": [{"category": 0, "code": 200, "content_type":
31
+ "application/octet-stream", "created": "2012-06-28T22:26:02.354000", "credits":
32
+ 0.0, "description": "", "fields": {"000000": {"column_number": 0, "name":
33
+ "sepal length", "optype": "numeric"}, "000001": {"column_number": 1, "name":
34
+ "sepal width", "optype": "numeric"}, "000002": {"column_number": 2, "name":
35
+ "petal length", "optype": "numeric"}, "000003": {"column_number": 3, "name":
36
+ "petal width", "optype": "numeric"}, "000004": {"column_number": 4, "name":
37
+ "species", "optype": "categorical"}}, "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae",
38
+ "name": "iris.csv", "number_of_datasets": 1, "number_of_models": 1, "number_of_predictions":
39
+ 0, "private": true, "resource": "source/4fecd9fa035d0741ed0032f8", "size":
40
+ 4608, "source_parser": {"header": true, "locale": "en_US", "missing_tokens":
41
+ ["", "N/A", "n/a", "NULL", "null", "-", "#DIV/0", "#REF!", "#NAME?", "NIL",
42
+ "nil", "NA", "na", "#VALUE!", "#NULL!", "NaN", "#N/A", "#NUM!", "?"], "quote":
43
+ "\"", "separator": ","}, "status": {"code": 5, "elapsed": 282, "message":
44
+ "The source has been created"}, "tags": [], "type": 0, "updated": "2012-06-28T22:26:54.600000"}]}'
31
45
  http_version: '1.1'
32
- recorded_at: Wed, 20 Jun 2012 03:57:37 GMT
46
+ recorded_at: Thu, 28 Jun 2012 22:26:39 GMT
47
+ - request:
48
+ method: delete
49
+ uri: https://bigml.io/andromeda/source/4fecd9fa035d0741ed0032f8?username=<USERNAME>&api_key=<API_KEY>
50
+ body:
51
+ encoding: US-ASCII
52
+ string: ''
53
+ headers:
54
+ connection:
55
+ - close
56
+ response:
57
+ status:
58
+ code: 204
59
+ message: NO CONTENT
60
+ headers:
61
+ content-length:
62
+ - '0'
63
+ content-type:
64
+ - text/html; charset=utf-8
65
+ date:
66
+ - Thu, 28 Jun 2012 22:24:30 GMT
67
+ server:
68
+ - nginx/1.0.12
69
+ connection:
70
+ - Close
71
+ body:
72
+ encoding: US-ASCII
73
+ string: ''
74
+ http_version: '1.1'
75
+ recorded_at: Thu, 28 Jun 2012 22:26:43 GMT
33
76
  - request:
34
77
  method: get
35
78
  uri: https://bigml.io/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
@@ -47,7 +90,7 @@ http_interactions:
47
90
  content-type:
48
91
  - application/json; charset=utf-8
49
92
  date:
50
- - Wed, 20 Jun 2012 03:53:47 GMT
93
+ - Thu, 28 Jun 2012 22:21:58 GMT
51
94
  server:
52
95
  - nginx/1.0.12
53
96
  transfer-encoding:
@@ -57,9 +100,45 @@ http_interactions:
57
100
  body:
58
101
  encoding: US-ASCII
59
102
  string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
60
- "total_count": 0}, "objects": []}'
103
+ "total_count": 1}, "objects": [{"category": 0, "code": 200, "columns": 5,
104
+ "created": "2012-06-28T22:26:52.750000", "credits": 0.00439453125, "description":
105
+ "", "locale": "en_US", "name": "iris'' dataset", "number_of_models": 1, "number_of_predictions":
106
+ 0, "private": true, "resource": "dataset/4fecda2c15526875f50032f6", "rows":
107
+ 150, "size": 4608, "source": "source/4fecd9fa035d0741ed0032f8", "source_status":
108
+ false, "status": {"bytes": 4608, "code": 5, "elapsed": 370, "field_errors":
109
+ [], "message": "The dataset has been created", "row_format_errors": [], "serialized_rows":
110
+ 150}, "tags": [], "updated": "2012-06-28T22:26:54.608000"}]}'
61
111
  http_version: '1.1'
62
- recorded_at: Wed, 20 Jun 2012 03:57:38 GMT
112
+ recorded_at: Thu, 28 Jun 2012 22:26:44 GMT
113
+ - request:
114
+ method: delete
115
+ uri: https://bigml.io/andromeda/dataset/4fecda2c15526875f50032f6?username=<USERNAME>&api_key=<API_KEY>
116
+ body:
117
+ encoding: US-ASCII
118
+ string: ''
119
+ headers:
120
+ connection:
121
+ - close
122
+ response:
123
+ status:
124
+ code: 204
125
+ message: NO CONTENT
126
+ headers:
127
+ content-length:
128
+ - '0'
129
+ content-type:
130
+ - text/html; charset=utf-8
131
+ date:
132
+ - Thu, 28 Jun 2012 22:24:34 GMT
133
+ server:
134
+ - nginx/1.0.12
135
+ connection:
136
+ - Close
137
+ body:
138
+ encoding: US-ASCII
139
+ string: ''
140
+ http_version: '1.1'
141
+ recorded_at: Thu, 28 Jun 2012 22:26:47 GMT
63
142
  - request:
64
143
  method: get
65
144
  uri: https://bigml.io/andromeda/model?username=<USERNAME>&api_key=<API_KEY>
@@ -77,19 +156,57 @@ http_interactions:
77
156
  content-type:
78
157
  - application/json; charset=utf-8
79
158
  date:
80
- - Wed, 20 Jun 2012 03:56:08 GMT
159
+ - Thu, 28 Jun 2012 22:22:02 GMT
81
160
  server:
82
161
  - nginx/1.0.12
83
162
  content-length:
84
- - '101'
163
+ - '844'
85
164
  connection:
86
165
  - Close
87
166
  body:
88
167
  encoding: US-ASCII
89
168
  string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
90
- "total_count": 0}, "objects": []}'
169
+ "total_count": 1}, "objects": [{"category": 0, "code": 200, "columns": 5,
170
+ "created": "2012-06-28T22:26:54.543000", "credits": 0.017578125, "dataset":
171
+ "dataset/4fecda2c15526875f50032f6", "dataset_status": false, "description":
172
+ "", "holdout": 0.0, "input_fields": ["000000", "000001", "000002", "000003"],
173
+ "locale": "en_US", "max_columns": 5, "max_rows": 150, "name": "iris'' dataset
174
+ model", "number_of_predictions": 0, "objective_fields": ["000004"], "private":
175
+ true, "range": [1, 150], "resource": "model/4fecda2e15526875f70033ca", "rows":
176
+ 150, "size": 4608, "source": "source/4fecd9fa035d0741ed0032f8", "source_status":
177
+ false, "status": {"code": 5, "elapsed": 131, "message": "The model has been
178
+ created", "progress": 1}, "tags": [], "updated": "2012-06-28T22:27:02.460000"}]}'
179
+ http_version: '1.1'
180
+ recorded_at: Thu, 28 Jun 2012 22:26:49 GMT
181
+ - request:
182
+ method: delete
183
+ uri: https://bigml.io/andromeda/model/4fecda2e15526875f70033ca?username=<USERNAME>&api_key=<API_KEY>
184
+ body:
185
+ encoding: US-ASCII
186
+ string: ''
187
+ headers:
188
+ connection:
189
+ - close
190
+ response:
191
+ status:
192
+ code: 204
193
+ message: NO CONTENT
194
+ headers:
195
+ content-length:
196
+ - '0'
197
+ content-type:
198
+ - text/html; charset=utf-8
199
+ date:
200
+ - Thu, 28 Jun 2012 22:24:38 GMT
201
+ server:
202
+ - nginx/1.0.12
203
+ connection:
204
+ - Close
205
+ body:
206
+ encoding: US-ASCII
207
+ string: ''
91
208
  http_version: '1.1'
92
- recorded_at: Wed, 20 Jun 2012 03:57:39 GMT
209
+ recorded_at: Thu, 28 Jun 2012 22:26:51 GMT
93
210
  - request:
94
211
  method: post
95
212
  uri: https://bigml.io/andromeda/source
@@ -111,9 +228,9 @@ http_interactions:
111
228
  content-type:
112
229
  - application/json; charset=utf-8
113
230
  date:
114
- - Wed, 20 Jun 2012 03:53:50 GMT
231
+ - Thu, 28 Jun 2012 22:22:07 GMT
115
232
  location:
116
- - http://bigml.io/andromeda/source/4fe14a451552687d43000133
233
+ - http://bigml.io/andromeda/source/4fecda3d15526875f8003324
117
234
  server:
118
235
  - nginx/1.0.12
119
236
  content-length:
@@ -123,21 +240,21 @@ http_interactions:
123
240
  body:
124
241
  encoding: US-ASCII
125
242
  string: ! '{"category": 0, "code": 201, "content_type": "application/octet-stream",
126
- "created": "2012-06-20T03:57:57.649886", "credits": 0.0, "description": "",
243
+ "created": "2012-06-28T22:27:09.824751", "credits": 0.0, "description": "",
127
244
  "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae", "name":
128
245
  "iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
129
- 0, "private": true, "resource": "source/4fe14a451552687d43000133", "size":
246
+ 0, "private": true, "resource": "source/4fecda3d15526875f8003324", "size":
130
247
  4608, "source_parser": {}, "status": {"code": 1, "message": "The request has
131
248
  been queued and will be processed soon"}, "tags": [], "type": 0, "updated":
132
- "2012-06-20T03:57:57.649906"}'
249
+ "2012-06-28T22:27:09.824772"}'
133
250
  http_version: '1.1'
134
- recorded_at: Wed, 20 Jun 2012 03:57:40 GMT
251
+ recorded_at: Thu, 28 Jun 2012 22:26:53 GMT
135
252
  - request:
136
253
  method: post
137
254
  uri: https://bigml.io/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
138
255
  body:
139
256
  encoding: UTF-8
140
- string: ! '{"source":"source/4fe14a451552687d43000133"}'
257
+ string: ! '{"source":"source/4fecda3d15526875f8003324"}'
141
258
  headers:
142
259
  content-type:
143
260
  - application/json
@@ -151,37 +268,37 @@ http_interactions:
151
268
  content-type:
152
269
  - application/json; charset=utf-8
153
270
  date:
154
- - Wed, 20 Jun 2012 03:56:11 GMT
271
+ - Thu, 28 Jun 2012 22:24:42 GMT
155
272
  location:
156
- - http://bigml.io/andromeda/dataset/4fe14a461552687d42000145
273
+ - http://bigml.io/andromeda/dataset/4fecda3f15526875f8003327
157
274
  server:
158
275
  - nginx/1.0.12
159
276
  content-length:
160
- - '920'
277
+ - '921'
161
278
  connection:
162
279
  - Close
163
280
  body:
164
281
  encoding: US-ASCII
165
- string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-06-20T03:57:58.955800",
166
- "credits": 0.0087890625, "description": "", "fields": {"000000": {"column_number":
282
+ string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-06-28T22:27:11.525581",
283
+ "credits": 0.00439453125, "description": "", "fields": {"000000": {"column_number":
167
284
  0, "name": "sepal length", "optype": "numeric"}, "000001": {"column_number":
168
285
  1, "name": "sepal width", "optype": "numeric"}, "000002": {"column_number":
169
286
  2, "name": "petal length", "optype": "numeric"}, "000003": {"column_number":
170
287
  3, "name": "petal width", "optype": "numeric"}, "000004": {"column_number":
171
288
  4, "name": "species", "optype": "categorical"}}, "locale": "en_US", "name":
172
289
  "iris'' dataset", "number_of_models": 0, "number_of_predictions": 0, "private":
173
- true, "resource": "dataset/4fe14a461552687d42000145", "rows": 0, "size": 4608,
174
- "source": "source/4fe14a451552687d43000133", "source_status": true, "status":
290
+ true, "resource": "dataset/4fecda3f15526875f8003327", "rows": 0, "size": 4608,
291
+ "source": "source/4fecda3d15526875f8003324", "source_status": true, "status":
175
292
  {"code": 1, "message": "The dataset is being processed and will be created
176
- soon"}, "tags": [], "updated": "2012-06-20T03:57:58.955819"}'
293
+ soon"}, "tags": [], "updated": "2012-06-28T22:27:11.525605"}'
177
294
  http_version: '1.1'
178
- recorded_at: Wed, 20 Jun 2012 03:57:42 GMT
295
+ recorded_at: Thu, 28 Jun 2012 22:26:55 GMT
179
296
  - request:
180
297
  method: post
181
298
  uri: https://bigml.io/andromeda/model?username=<USERNAME>&api_key=<API_KEY>
182
299
  body:
183
300
  encoding: UTF-8
184
- string: ! '{"dataset":"dataset/4fe14a461552687d42000145"}'
301
+ string: ! '{"dataset":"dataset/4fecda3f15526875f8003327"}'
185
302
  headers:
186
303
  content-type:
187
304
  - application/json
@@ -195,27 +312,28 @@ http_interactions:
195
312
  content-type:
196
313
  - application/json; charset=utf-8
197
314
  date:
198
- - Wed, 20 Jun 2012 03:53:54 GMT
315
+ - Thu, 28 Jun 2012 22:22:12 GMT
199
316
  location:
200
- - http://bigml.io/andromeda/model/4fe14a2d035d074a1e0000f7
317
+ - http://bigml.io/andromeda/model/4fecda11035d0741f1003311
201
318
  server:
202
319
  - nginx/1.0.12
203
320
  content-length:
204
- - '690'
321
+ - '705'
205
322
  connection:
206
323
  - Close
207
324
  body:
208
325
  encoding: US-ASCII
209
- string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-06-20T03:57:33.206588",
210
- "credits": 0.03515625, "dataset": "dataset/4fe14a461552687d42000145", "dataset_status":
211
- true, "description": "", "holdout": 0.0, "input_fields": [], "locale": "en_US",
212
- "max_columns": 5, "max_rows": 150, "name": "iris'' dataset model", "number_of_predictions":
213
- 0, "objective_fields": [], "private": true, "range": [1, 150], "resource":
214
- "model/4fe14a2d035d074a1e0000f7", "rows": 150, "size": 4608, "source": "source/4fe14a451552687d43000133",
215
- "source_status": true, "status": {"code": 1, "message": "The model is being
216
- processed and will be created soon"}, "tags": [], "updated": "2012-06-20T03:57:33.206620"}'
326
+ string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-06-28T22:26:25.853316",
327
+ "credits": 0.017578125, "dataset": "dataset/4fecda3f15526875f8003327", "dataset_status":
328
+ true, "description": "", "holdout": 0.0, "input_fields": null, "locale": "en-US",
329
+ "max_columns": 5, "max_rows": 150, "model": {"fields": {}, "root": {}}, "name":
330
+ "iris'' dataset model", "number_of_predictions": 0, "objective_fields": [],
331
+ "private": true, "range": [1, 150], "resource": "model/4fecda11035d0741f1003311",
332
+ "rows": 150, "size": 4608, "source": "source/4fecda3d15526875f8003324", "source_status":
333
+ true, "status": {"code": 0, "message": "The dataset is not ready yet"}, "tags":
334
+ [], "updated": "2012-06-28T22:26:25.853343"}'
217
335
  http_version: '1.1'
218
- recorded_at: Wed, 20 Jun 2012 03:57:44 GMT
336
+ recorded_at: Thu, 28 Jun 2012 22:26:58 GMT
219
337
  - request:
220
338
  method: get
221
339
  uri: https://bigml.io/andromeda/model?username=<USERNAME>&api_key=<API_KEY>
@@ -233,26 +351,25 @@ http_interactions:
233
351
  content-type:
234
352
  - application/json; charset=utf-8
235
353
  date:
236
- - Wed, 20 Jun 2012 03:56:14 GMT
354
+ - Thu, 28 Jun 2012 22:24:48 GMT
237
355
  server:
238
356
  - nginx/1.0.12
239
357
  content-length:
240
- - '841'
358
+ - '769'
241
359
  connection:
242
360
  - Close
243
361
  body:
244
362
  encoding: US-ASCII
245
363
  string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
246
364
  "total_count": 1}, "objects": [{"category": 0, "code": 200, "columns": 5,
247
- "created": "2012-06-20T03:57:33.206000", "credits": 0.03515625, "dataset":
248
- "dataset/4fe14a461552687d42000145", "dataset_status": true, "description":
249
- "", "holdout": 0.0, "input_fields": ["000000", "000001", "000002", "000003"],
250
- "locale": "en_US", "max_columns": 5, "max_rows": 150, "name": "iris'' dataset
251
- model", "number_of_predictions": 0, "objective_fields": ["000004"], "private":
252
- true, "range": [1, 150], "resource": "model/4fe14a2d035d074a1e0000f7", "rows":
253
- 150, "size": 4608, "source": "source/4fe14a451552687d43000133", "source_status":
254
- true, "status": {"code": 5, "elapsed": 150, "message": "The model has been
255
- created", "progress": 1}, "tags": [], "updated": "2012-06-20T03:57:33.502000"}]}'
365
+ "created": "2012-06-28T22:26:25.853000", "credits": 0.017578125, "dataset":
366
+ "dataset/4fecda3f15526875f8003327", "dataset_status": true, "description":
367
+ "", "holdout": 0.0, "input_fields": null, "locale": "en-US", "max_columns":
368
+ 5, "max_rows": 150, "name": "iris'' dataset model", "number_of_predictions":
369
+ 0, "objective_fields": [], "private": true, "range": [1, 150], "resource":
370
+ "model/4fecda11035d0741f1003311", "rows": 150, "size": 4608, "source": "source/4fecda3d15526875f8003324",
371
+ "source_status": true, "status": {"code": 0, "message": "The dataset is not
372
+ ready yet"}, "tags": [], "updated": "2012-06-28T22:26:26.065000"}]}'
256
373
  http_version: '1.1'
257
- recorded_at: Wed, 20 Jun 2012 03:57:45 GMT
374
+ recorded_at: Thu, 28 Jun 2012 22:27:01 GMT
258
375
  recorded_with: VCR 2.2.2