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,7 +17,7 @@ http_interactions:
|
|
17
17
|
content-type:
|
18
18
|
- application/json; charset=utf-8
|
19
19
|
date:
|
20
|
-
-
|
20
|
+
- Sat, 14 Jul 2012 15:26:55 GMT
|
21
21
|
server:
|
22
22
|
- nginx/1.0.12
|
23
23
|
content-length:
|
@@ -29,10 +29,10 @@ http_interactions:
|
|
29
29
|
string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
|
30
30
|
"total_count": 0}, "objects": []}'
|
31
31
|
http_version: '1.1'
|
32
|
-
recorded_at:
|
32
|
+
recorded_at: Sat, 14 Jul 2012 15:27:58 GMT
|
33
33
|
- request:
|
34
34
|
method: post
|
35
|
-
uri: https://bigml.io/andromeda/source
|
35
|
+
uri: https://bigml.io/dev/andromeda/source
|
36
36
|
body:
|
37
37
|
encoding: US-ASCII
|
38
38
|
string: ''
|
@@ -40,7 +40,7 @@ http_interactions:
|
|
40
40
|
content-type:
|
41
41
|
- multipart/form-data; boundary=-----------RubyMultipartPost
|
42
42
|
content-length:
|
43
|
-
- '
|
43
|
+
- '5149'
|
44
44
|
connection:
|
45
45
|
- close
|
46
46
|
response:
|
@@ -51,30 +51,30 @@ http_interactions:
|
|
51
51
|
content-type:
|
52
52
|
- application/json; charset=utf-8
|
53
53
|
date:
|
54
|
-
-
|
54
|
+
- Sat, 14 Jul 2012 15:21:57 GMT
|
55
55
|
location:
|
56
|
-
- http://bigml.io/andromeda/source/
|
56
|
+
- http://bigml.io/andromeda/source/50018fe4035d074059000046
|
57
57
|
server:
|
58
58
|
- nginx/1.0.12
|
59
59
|
content-length:
|
60
|
-
- '
|
60
|
+
- '580'
|
61
61
|
connection:
|
62
62
|
- Close
|
63
63
|
body:
|
64
64
|
encoding: US-ASCII
|
65
65
|
string: ! '{"category": 0, "code": 201, "content_type": "application/octet-stream",
|
66
|
-
"created": "2012-
|
67
|
-
"file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae",
|
68
|
-
"iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
|
69
|
-
0, "private": true, "resource": "source/
|
66
|
+
"created": "2012-07-14T15:27:32.949888", "credits": 0.0, "description": "",
|
67
|
+
"dev": true, "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae",
|
68
|
+
"name": "iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
|
69
|
+
0, "private": true, "resource": "source/50018fe4035d074059000046", "size":
|
70
70
|
4608, "source_parser": {}, "status": {"code": 1, "message": "The request has
|
71
71
|
been queued and will be processed soon"}, "tags": [], "type": 0, "updated":
|
72
|
-
"2012-
|
72
|
+
"2012-07-14T15:27:32.949915"}'
|
73
73
|
http_version: '1.1'
|
74
|
-
recorded_at:
|
74
|
+
recorded_at: Sat, 14 Jul 2012 15:28:00 GMT
|
75
75
|
- request:
|
76
76
|
method: delete
|
77
|
-
uri: https://bigml.io/andromeda/source/
|
77
|
+
uri: https://bigml.io/dev/andromeda/source/50018fe4035d074059000046?username=<USERNAME>&api_key=<API_KEY>
|
78
78
|
body:
|
79
79
|
encoding: US-ASCII
|
80
80
|
string: ''
|
@@ -91,7 +91,7 @@ http_interactions:
|
|
91
91
|
content-type:
|
92
92
|
- text/html; charset=utf-8
|
93
93
|
date:
|
94
|
-
-
|
94
|
+
- Sat, 14 Jul 2012 15:27:02 GMT
|
95
95
|
server:
|
96
96
|
- nginx/1.0.12
|
97
97
|
connection:
|
@@ -100,10 +100,10 @@ http_interactions:
|
|
100
100
|
encoding: US-ASCII
|
101
101
|
string: ''
|
102
102
|
http_version: '1.1'
|
103
|
-
recorded_at:
|
103
|
+
recorded_at: Sat, 14 Jul 2012 15:28:05 GMT
|
104
104
|
- request:
|
105
105
|
method: get
|
106
|
-
uri: https://bigml.io/andromeda/source/
|
106
|
+
uri: https://bigml.io/dev/andromeda/source/50018fe4035d074059000046?username=<USERNAME>&api_key=<API_KEY>
|
107
107
|
body:
|
108
108
|
encoding: US-ASCII
|
109
109
|
string: ''
|
@@ -118,7 +118,7 @@ http_interactions:
|
|
118
118
|
content-type:
|
119
119
|
- application/json; charset=utf-8
|
120
120
|
date:
|
121
|
-
-
|
121
|
+
- Sat, 14 Jul 2012 15:22:03 GMT
|
122
122
|
server:
|
123
123
|
- nginx/1.0.12
|
124
124
|
content-length:
|
@@ -128,8 +128,8 @@ http_interactions:
|
|
128
128
|
body:
|
129
129
|
encoding: US-ASCII
|
130
130
|
string: ! '{"code": 404, "status": {"code": -1201, "extra": ["Couldn''t find
|
131
|
-
an instance of ''Source'' which matched ''pk=
|
131
|
+
an instance of ''Source'' which matched ''pk=50018fe4035d074059000046''."],
|
132
132
|
"message": "Id does not exist"}}'
|
133
133
|
http_version: '1.1'
|
134
|
-
recorded_at:
|
134
|
+
recorded_at: Sat, 14 Jul 2012 15:28:06 GMT
|
135
135
|
recorded_with: VCR 2.2.2
|
data/spec/vcr_cassettes/BigML_Source/one_source/must_be_able_to_be_find_using_the_reference.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:26:18 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
|
-
0, "
|
40
|
-
|
41
|
-
|
42
|
-
"
|
43
|
-
"
|
44
|
-
|
31
|
+
"application/octet-stream", "created": "2012-07-14T15:27:55.967000", "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
|
+
0, "number_of_models": 0, "number_of_predictions": 0, "private": true, "resource":
|
40
|
+
"source/50018ffb155268794e00002d", "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": 80, "message": "The source has been created"}, "tags":
|
45
|
+
[], "type": 0, "updated": "2012-07-14T15:26:52.914000"}]}'
|
45
46
|
http_version: '1.1'
|
46
|
-
recorded_at:
|
47
|
+
recorded_at: Sat, 14 Jul 2012 15:27:21 GMT
|
47
48
|
- request:
|
48
49
|
method: delete
|
49
|
-
uri: https://bigml.io/andromeda/source/
|
50
|
+
uri: https://bigml.io/dev/andromeda/source/50018ffb155268794e00002d?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:21:23 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:27:26 GMT
|
76
77
|
- request:
|
77
78
|
method: post
|
78
|
-
uri: https://bigml.io/andromeda/source
|
79
|
+
uri: https://bigml.io/dev/andromeda/source
|
79
80
|
body:
|
80
81
|
encoding: US-ASCII
|
81
82
|
string: ''
|
@@ -83,7 +84,7 @@ http_interactions:
|
|
83
84
|
content-type:
|
84
85
|
- multipart/form-data; boundary=-----------RubyMultipartPost
|
85
86
|
content-length:
|
86
|
-
- '
|
87
|
+
- '5149'
|
87
88
|
connection:
|
88
89
|
- close
|
89
90
|
response:
|
@@ -94,30 +95,30 @@ http_interactions:
|
|
94
95
|
content-type:
|
95
96
|
- application/json; charset=utf-8
|
96
97
|
date:
|
97
|
-
-
|
98
|
+
- Sat, 14 Jul 2012 15:26:24 GMT
|
98
99
|
location:
|
99
|
-
- http://bigml.io/andromeda/source/
|
100
|
+
- http://bigml.io/andromeda/source/50019004155268794e000031
|
100
101
|
server:
|
101
102
|
- nginx/1.0.12
|
102
103
|
content-length:
|
103
|
-
- '
|
104
|
+
- '580'
|
104
105
|
connection:
|
105
106
|
- Close
|
106
107
|
body:
|
107
108
|
encoding: US-ASCII
|
108
109
|
string: ! '{"category": 0, "code": 201, "content_type": "application/octet-stream",
|
109
|
-
"created": "2012-
|
110
|
-
"file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae",
|
111
|
-
"iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
|
112
|
-
0, "private": true, "resource": "source/
|
110
|
+
"created": "2012-07-14T15:28:04.690426", "credits": 0.0, "description": "",
|
111
|
+
"dev": true, "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae",
|
112
|
+
"name": "iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
|
113
|
+
0, "private": true, "resource": "source/50019004155268794e000031", "size":
|
113
114
|
4608, "source_parser": {}, "status": {"code": 1, "message": "The request has
|
114
115
|
been queued and will be processed soon"}, "tags": [], "type": 0, "updated":
|
115
|
-
"2012-
|
116
|
+
"2012-07-14T15:28:04.690461"}'
|
116
117
|
http_version: '1.1'
|
117
|
-
recorded_at:
|
118
|
+
recorded_at: Sat, 14 Jul 2012 15:27:27 GMT
|
118
119
|
- request:
|
119
120
|
method: get
|
120
|
-
uri: https://bigml.io/andromeda/source/
|
121
|
+
uri: https://bigml.io/dev/andromeda/source/50019004155268794e000031?username=<USERNAME>&api_key=<API_KEY>
|
121
122
|
body:
|
122
123
|
encoding: US-ASCII
|
123
124
|
string: ''
|
@@ -132,30 +133,30 @@ http_interactions:
|
|
132
133
|
content-type:
|
133
134
|
- application/json; charset=utf-8
|
134
135
|
date:
|
135
|
-
-
|
136
|
+
- Sat, 14 Jul 2012 15:21:25 GMT
|
136
137
|
server:
|
137
138
|
- nginx/1.0.12
|
138
139
|
content-length:
|
139
|
-
- '
|
140
|
+
- '1192'
|
140
141
|
connection:
|
141
142
|
- Close
|
142
143
|
body:
|
143
144
|
encoding: US-ASCII
|
144
145
|
string: ! '{"category": 0, "code": 200, "content_type": "application/octet-stream",
|
145
|
-
"created": "2012-
|
146
|
-
"fields": {"000000": {"column_number": 0, "name": "sepal length",
|
147
|
-
"numeric"}, "000001": {"column_number": 1, "name": "sepal width",
|
148
|
-
"numeric"}, "000002": {"column_number": 2, "name": "petal length",
|
149
|
-
"numeric"}, "000003": {"column_number": 3, "name": "petal width",
|
150
|
-
"numeric"}, "000004": {"column_number": 4, "name": "species", "optype":
|
151
|
-
"file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae",
|
152
|
-
"iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
|
153
|
-
0, "private": true, "resource": "source/
|
146
|
+
"created": "2012-07-14T15:28:04.690000", "credits": 0.0, "description": "",
|
147
|
+
"dev": true, "fields": {"000000": {"column_number": 0, "name": "sepal length",
|
148
|
+
"optype": "numeric"}, "000001": {"column_number": 1, "name": "sepal width",
|
149
|
+
"optype": "numeric"}, "000002": {"column_number": 2, "name": "petal length",
|
150
|
+
"optype": "numeric"}, "000003": {"column_number": 3, "name": "petal width",
|
151
|
+
"optype": "numeric"}, "000004": {"column_number": 4, "name": "species", "optype":
|
152
|
+
"categorical"}}, "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae",
|
153
|
+
"name": "iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
|
154
|
+
0, "private": true, "resource": "source/50019004155268794e000031", "size":
|
154
155
|
4608, "source_parser": {"header": true, "locale": "en_US", "missing_tokens":
|
155
156
|
["", "N/A", "n/a", "NULL", "null", "-", "#DIV/0", "#REF!", "#NAME?", "NIL",
|
156
157
|
"nil", "NA", "na", "#VALUE!", "#NULL!", "NaN", "#N/A", "#NUM!", "?"], "quote":
|
157
|
-
"\"", "separator": ","}, "status": {"code": 5, "elapsed":
|
158
|
-
source has been created"}, "tags": [], "type": 0, "updated": "2012-
|
158
|
+
"\"", "separator": ","}, "status": {"code": 5, "elapsed": 63, "message": "The
|
159
|
+
source has been created"}, "tags": [], "type": 0, "updated": "2012-07-14T15:28:04.737000"}'
|
159
160
|
http_version: '1.1'
|
160
|
-
recorded_at:
|
161
|
+
recorded_at: Sat, 14 Jul 2012 15:27:28 GMT
|
161
162
|
recorded_with: VCR 2.2.2
|
@@ -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:26:44 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
|
-
0, "
|
40
|
-
|
41
|
-
|
42
|
-
"
|
43
|
-
"
|
44
|
-
|
31
|
+
"application/octet-stream", "created": "2012-07-14T15:27:15.768000", "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": "new name", "number_of_datasets":
|
39
|
+
0, "number_of_models": 0, "number_of_predictions": 0, "private": true, "resource":
|
40
|
+
"source/50018fd3035d074059000044", "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": 98, "message": "The source has been created"}, "tags":
|
45
|
+
[], "type": 0, "updated": "2012-07-14T15:28:22.898000"}]}'
|
45
46
|
http_version: '1.1'
|
46
|
-
recorded_at:
|
47
|
+
recorded_at: Sat, 14 Jul 2012 15:27:47 GMT
|
47
48
|
- request:
|
48
49
|
method: delete
|
49
|
-
uri: https://bigml.io/andromeda/source/
|
50
|
+
uri: https://bigml.io/dev/andromeda/source/50018fd3035d074059000044?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:21:47 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:27:50 GMT
|
76
77
|
- request:
|
77
78
|
method: post
|
78
|
-
uri: https://bigml.io/andromeda/source
|
79
|
+
uri: https://bigml.io/dev/andromeda/source
|
79
80
|
body:
|
80
81
|
encoding: US-ASCII
|
81
82
|
string: ''
|
@@ -83,7 +84,7 @@ http_interactions:
|
|
83
84
|
content-type:
|
84
85
|
- multipart/form-data; boundary=-----------RubyMultipartPost
|
85
86
|
content-length:
|
86
|
-
- '
|
87
|
+
- '5149'
|
87
88
|
connection:
|
88
89
|
- close
|
89
90
|
response:
|
@@ -94,30 +95,30 @@ http_interactions:
|
|
94
95
|
content-type:
|
95
96
|
- application/json; charset=utf-8
|
96
97
|
date:
|
97
|
-
-
|
98
|
+
- Sat, 14 Jul 2012 15:26:49 GMT
|
98
99
|
location:
|
99
|
-
- http://bigml.io/andromeda/source/
|
100
|
+
- http://bigml.io/andromeda/source/5001901c155268794e000034
|
100
101
|
server:
|
101
102
|
- nginx/1.0.12
|
102
103
|
content-length:
|
103
|
-
- '
|
104
|
+
- '580'
|
104
105
|
connection:
|
105
106
|
- Close
|
106
107
|
body:
|
107
108
|
encoding: US-ASCII
|
108
109
|
string: ! '{"category": 0, "code": 201, "content_type": "application/octet-stream",
|
109
|
-
"created": "2012-
|
110
|
-
"file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae",
|
111
|
-
"iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
|
112
|
-
0, "private": true, "resource": "source/
|
110
|
+
"created": "2012-07-14T15:28:28.776320", "credits": 0.0, "description": "",
|
111
|
+
"dev": true, "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae",
|
112
|
+
"name": "iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
|
113
|
+
0, "private": true, "resource": "source/5001901c155268794e000034", "size":
|
113
114
|
4608, "source_parser": {}, "status": {"code": 1, "message": "The request has
|
114
115
|
been queued and will be processed soon"}, "tags": [], "type": 0, "updated":
|
115
|
-
"2012-
|
116
|
+
"2012-07-14T15:28:28.776350"}'
|
116
117
|
http_version: '1.1'
|
117
|
-
recorded_at:
|
118
|
+
recorded_at: Sat, 14 Jul 2012 15:27:52 GMT
|
118
119
|
- request:
|
119
120
|
method: delete
|
120
|
-
uri: https://bigml.io/andromeda/source/
|
121
|
+
uri: https://bigml.io/dev/andromeda/source/5001901c155268794e000034?username=<USERNAME>&api_key=<API_KEY>
|
121
122
|
body:
|
122
123
|
encoding: US-ASCII
|
123
124
|
string: ''
|
@@ -134,7 +135,7 @@ http_interactions:
|
|
134
135
|
content-type:
|
135
136
|
- text/html; charset=utf-8
|
136
137
|
date:
|
137
|
-
-
|
138
|
+
- Sat, 14 Jul 2012 15:21:52 GMT
|
138
139
|
server:
|
139
140
|
- nginx/1.0.12
|
140
141
|
connection:
|
@@ -143,10 +144,10 @@ http_interactions:
|
|
143
144
|
encoding: US-ASCII
|
144
145
|
string: ''
|
145
146
|
http_version: '1.1'
|
146
|
-
recorded_at:
|
147
|
+
recorded_at: Sat, 14 Jul 2012 15:27:55 GMT
|
147
148
|
- request:
|
148
149
|
method: get
|
149
|
-
uri: https://bigml.io/andromeda/source/
|
150
|
+
uri: https://bigml.io/dev/andromeda/source/5001901c155268794e000034?username=<USERNAME>&api_key=<API_KEY>
|
150
151
|
body:
|
151
152
|
encoding: US-ASCII
|
152
153
|
string: ''
|
@@ -161,7 +162,7 @@ http_interactions:
|
|
161
162
|
content-type:
|
162
163
|
- application/json; charset=utf-8
|
163
164
|
date:
|
164
|
-
-
|
165
|
+
- Sat, 14 Jul 2012 15:26:53 GMT
|
165
166
|
server:
|
166
167
|
- nginx/1.0.12
|
167
168
|
content-length:
|
@@ -171,13 +172,13 @@ http_interactions:
|
|
171
172
|
body:
|
172
173
|
encoding: US-ASCII
|
173
174
|
string: ! '{"code": 404, "status": {"code": -1201, "extra": ["Couldn''t find
|
174
|
-
an instance of ''Source'' which matched ''pk=
|
175
|
+
an instance of ''Source'' which matched ''pk=5001901c155268794e000034''."],
|
175
176
|
"message": "Id does not exist"}}'
|
176
177
|
http_version: '1.1'
|
177
|
-
recorded_at:
|
178
|
+
recorded_at: Sat, 14 Jul 2012 15:27:56 GMT
|
178
179
|
- request:
|
179
180
|
method: get
|
180
|
-
uri: https://bigml.io/andromeda/source?username=<USERNAME>&api_key=<API_KEY>
|
181
|
+
uri: https://bigml.io/dev/andromeda/source?username=<USERNAME>&api_key=<API_KEY>
|
181
182
|
body:
|
182
183
|
encoding: US-ASCII
|
183
184
|
string: ''
|
@@ -192,7 +193,7 @@ http_interactions:
|
|
192
193
|
content-type:
|
193
194
|
- application/json; charset=utf-8
|
194
195
|
date:
|
195
|
-
-
|
196
|
+
- Sat, 14 Jul 2012 15:21:54 GMT
|
196
197
|
server:
|
197
198
|
- nginx/1.0.12
|
198
199
|
content-length:
|
@@ -204,5 +205,5 @@ http_interactions:
|
|
204
205
|
string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
|
205
206
|
"total_count": 0}, "objects": []}'
|
206
207
|
http_version: '1.1'
|
207
|
-
recorded_at:
|
208
|
+
recorded_at: Sat, 14 Jul 2012 15:27:57 GMT
|
208
209
|
recorded_with: VCR 2.2.2
|