big_ml 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +19 -0
- data/.rspec +2 -0
- data/.rvmrc +1 -0
- data/.rvmrc.example +1 -0
- data/.travis.yml +4 -0
- data/CHANGELOG.md +8 -0
- data/Gemfile +4 -0
- data/LICENSE +22 -0
- data/README.md +49 -0
- data/Rakefile +6 -0
- data/TODO.md +6 -0
- data/big_ml.gemspec +23 -0
- data/lib/big_ml/authenticable.rb +10 -0
- data/lib/big_ml/base.rb +51 -0
- data/lib/big_ml/client.rb +29 -0
- data/lib/big_ml/config.rb +30 -0
- data/lib/big_ml/dataset.rb +19 -0
- data/lib/big_ml/model.rb +21 -0
- data/lib/big_ml/prediction.rb +19 -0
- data/lib/big_ml/request.rb +29 -0
- data/lib/big_ml/source.rb +18 -0
- data/lib/big_ml/version.rb +3 -0
- data/lib/big_ml.rb +13 -0
- data/spec/fixtures/iris.csv +151 -0
- data/spec/integration/dataset_spec.rb +51 -0
- data/spec/integration/model_spec.rb +53 -0
- data/spec/integration/prediction_spec.rb +55 -0
- data/spec/integration/source_spec.rb +55 -0
- data/spec/spec_helper.rb +22 -0
- data/spec/units/client_spec.rb +50 -0
- data/spec/units/source_spec.rb +20 -0
- data/spec/vcr_cassettes/BigML_Dataset/no_dataset/_all/must_be_empty.yml +136 -0
- data/spec/vcr_cassettes/BigML_Dataset/one_dataset/must_be_able_to_be_find_using_the_reference.yml +293 -0
- data/spec/vcr_cassettes/BigML_Dataset/one_dataset/must_be_able_to_remove_the_dataset.yml +318 -0
- data/spec/vcr_cassettes/BigML_Dataset/one_dataset/must_be_able_to_update_the_name.yml +360 -0
- data/spec/vcr_cassettes/BigML_Dataset/one_dataset/must_have_only_one_item.yml +265 -0
- data/spec/vcr_cassettes/BigML_Dataset/one_dataset/must_have_the_same_file_name.yml +265 -0
- data/spec/vcr_cassettes/BigML_Dataset/one_dataset/was_created_successfully.yml +149 -0
- data/spec/vcr_cassettes/BigML_Model/no_model/_all/must_be_empty.yml +166 -0
- data/spec/vcr_cassettes/BigML_Model/one_model/must_be_able_to_be_find_using_the_reference.yml +446 -0
- data/spec/vcr_cassettes/BigML_Model/one_model/must_be_able_to_remove_the_model.yml +426 -0
- data/spec/vcr_cassettes/BigML_Model/one_model/must_be_able_to_update_the_name.yml +558 -0
- data/spec/vcr_cassettes/BigML_Model/one_model/must_have_only_one_item.yml +258 -0
- data/spec/vcr_cassettes/BigML_Model/one_model/must_have_the_same_file_name.yml +375 -0
- data/spec/vcr_cassettes/BigML_Model/one_model/must_have_the_same_size.yml +375 -0
- data/spec/vcr_cassettes/BigML_Model/one_model/was_created_successfully.yml +298 -0
- data/spec/vcr_cassettes/BigML_Prediction/no_prediction/_all/must_be_empty.yml +305 -0
- data/spec/vcr_cassettes/BigML_Prediction/one_prediction/must_be_able_to_be_find_using_the_reference.yml +502 -0
- data/spec/vcr_cassettes/BigML_Prediction/one_prediction/must_be_able_to_remove_the_prediction.yml +547 -0
- data/spec/vcr_cassettes/BigML_Prediction/one_prediction/must_be_able_to_update_the_name.yml +546 -0
- data/spec/vcr_cassettes/BigML_Prediction/one_prediction/must_have_only_one_item.yml +503 -0
- data/spec/vcr_cassettes/BigML_Prediction/one_prediction/must_have_the_same_name.yml +420 -0
- data/spec/vcr_cassettes/BigML_Prediction/one_prediction/was_created_successfully.yml +297 -0
- data/spec/vcr_cassettes/BigML_Source/no_source/_all/must_be_empty.yml +136 -0
- data/spec/vcr_cassettes/BigML_Source/one_source/must_be_able_to_be_find_using_the_reference.yml +191 -0
- data/spec/vcr_cassettes/BigML_Source/one_source/must_be_able_to_remove_the_source.yml +195 -0
- data/spec/vcr_cassettes/BigML_Source/one_source/must_be_able_to_update_the_name.yml +279 -0
- data/spec/vcr_cassettes/BigML_Source/one_source/must_have_only_one_item.yml +192 -0
- data/spec/vcr_cassettes/BigML_Source/one_source/must_have_the_same_file_name.yml +192 -0
- data/spec/vcr_cassettes/BigML_Source/one_source/was_created_successfully.yml +105 -0
- metadata +224 -0
@@ -0,0 +1,192 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://bigml.io/andromeda/source?username=<USERNAME>&api_key=<API_KEY>
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
connection:
|
11
|
+
- close
|
12
|
+
response:
|
13
|
+
status:
|
14
|
+
code: 200
|
15
|
+
message: OK
|
16
|
+
headers:
|
17
|
+
content-type:
|
18
|
+
- application/json; charset=utf-8
|
19
|
+
date:
|
20
|
+
- Wed, 20 Jun 2012 03:19:49 GMT
|
21
|
+
server:
|
22
|
+
- nginx/1.0.12
|
23
|
+
content-length:
|
24
|
+
- '1280'
|
25
|
+
connection:
|
26
|
+
- Close
|
27
|
+
body:
|
28
|
+
encoding: US-ASCII
|
29
|
+
string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
|
30
|
+
"total_count": 1}, "objects": [{"category": 0, "code": 200, "content_type":
|
31
|
+
"application/octet-stream", "created": "2012-06-20T03:21:35.139000", "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": 0, "number_of_models": 0, "number_of_predictions":
|
39
|
+
0, "private": true, "resource": "source/4fe141bf1552687d42000125", "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": 77, "message": "The
|
44
|
+
source has been created"}, "tags": [], "type": 0, "updated": "2012-06-20T03:21:36.355000"}]}'
|
45
|
+
http_version: '1.1'
|
46
|
+
recorded_at: Wed, 20 Jun 2012 03:21:21 GMT
|
47
|
+
- request:
|
48
|
+
method: delete
|
49
|
+
uri: https://bigml.io/andromeda/source/4fe141bf1552687d42000125?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
|
+
- Wed, 20 Jun 2012 03:17:31 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: Wed, 20 Jun 2012 03:21:22 GMT
|
76
|
+
- request:
|
77
|
+
method: get
|
78
|
+
uri: https://bigml.io/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
|
79
|
+
body:
|
80
|
+
encoding: US-ASCII
|
81
|
+
string: ''
|
82
|
+
headers:
|
83
|
+
connection:
|
84
|
+
- close
|
85
|
+
response:
|
86
|
+
status:
|
87
|
+
code: 200
|
88
|
+
message: OK
|
89
|
+
headers:
|
90
|
+
content-type:
|
91
|
+
- application/json; charset=utf-8
|
92
|
+
date:
|
93
|
+
- Wed, 20 Jun 2012 03:19:52 GMT
|
94
|
+
server:
|
95
|
+
- nginx/1.0.12
|
96
|
+
transfer-encoding:
|
97
|
+
- chunked
|
98
|
+
connection:
|
99
|
+
- Close
|
100
|
+
body:
|
101
|
+
encoding: US-ASCII
|
102
|
+
string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
|
103
|
+
"total_count": 0}, "objects": []}'
|
104
|
+
http_version: '1.1'
|
105
|
+
recorded_at: Wed, 20 Jun 2012 03:21:23 GMT
|
106
|
+
- request:
|
107
|
+
method: post
|
108
|
+
uri: https://bigml.io/andromeda/source
|
109
|
+
body:
|
110
|
+
encoding: US-ASCII
|
111
|
+
string: ''
|
112
|
+
headers:
|
113
|
+
content-type:
|
114
|
+
- multipart/form-data; boundary=-----------RubyMultipartPost
|
115
|
+
content-length:
|
116
|
+
- '5147'
|
117
|
+
connection:
|
118
|
+
- close
|
119
|
+
response:
|
120
|
+
status:
|
121
|
+
code: 201
|
122
|
+
message: CREATED
|
123
|
+
headers:
|
124
|
+
content-type:
|
125
|
+
- application/json; charset=utf-8
|
126
|
+
date:
|
127
|
+
- Wed, 20 Jun 2012 03:17:34 GMT
|
128
|
+
location:
|
129
|
+
- http://bigml.io/andromeda/source/4fe141c51552687d470000f6
|
130
|
+
server:
|
131
|
+
- nginx/1.0.12
|
132
|
+
content-length:
|
133
|
+
- '567'
|
134
|
+
connection:
|
135
|
+
- Close
|
136
|
+
body:
|
137
|
+
encoding: US-ASCII
|
138
|
+
string: ! '{"category": 0, "code": 201, "content_type": "application/octet-stream",
|
139
|
+
"created": "2012-06-20T03:21:41.406893", "credits": 0.0, "description": "",
|
140
|
+
"file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae", "name":
|
141
|
+
"iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
|
142
|
+
0, "private": true, "resource": "source/4fe141c51552687d470000f6", "size":
|
143
|
+
4608, "source_parser": {}, "status": {"code": 1, "message": "The request has
|
144
|
+
been queued and will be processed soon"}, "tags": [], "type": 0, "updated":
|
145
|
+
"2012-06-20T03:21:41.406914"}'
|
146
|
+
http_version: '1.1'
|
147
|
+
recorded_at: Wed, 20 Jun 2012 03:21:25 GMT
|
148
|
+
- request:
|
149
|
+
method: get
|
150
|
+
uri: https://bigml.io/andromeda/source?username=<USERNAME>&api_key=<API_KEY>
|
151
|
+
body:
|
152
|
+
encoding: US-ASCII
|
153
|
+
string: ''
|
154
|
+
headers:
|
155
|
+
connection:
|
156
|
+
- close
|
157
|
+
response:
|
158
|
+
status:
|
159
|
+
code: 200
|
160
|
+
message: OK
|
161
|
+
headers:
|
162
|
+
content-type:
|
163
|
+
- application/json; charset=utf-8
|
164
|
+
date:
|
165
|
+
- Wed, 20 Jun 2012 03:19:54 GMT
|
166
|
+
server:
|
167
|
+
- nginx/1.0.12
|
168
|
+
content-length:
|
169
|
+
- '1280'
|
170
|
+
connection:
|
171
|
+
- Close
|
172
|
+
body:
|
173
|
+
encoding: US-ASCII
|
174
|
+
string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
|
175
|
+
"total_count": 1}, "objects": [{"category": 0, "code": 200, "content_type":
|
176
|
+
"application/octet-stream", "created": "2012-06-20T03:21:41.406000", "credits":
|
177
|
+
0.0, "description": "", "fields": {"000000": {"column_number": 0, "name":
|
178
|
+
"sepal length", "optype": "numeric"}, "000001": {"column_number": 1, "name":
|
179
|
+
"sepal width", "optype": "numeric"}, "000002": {"column_number": 2, "name":
|
180
|
+
"petal length", "optype": "numeric"}, "000003": {"column_number": 3, "name":
|
181
|
+
"petal width", "optype": "numeric"}, "000004": {"column_number": 4, "name":
|
182
|
+
"species", "optype": "categorical"}}, "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae",
|
183
|
+
"name": "iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
|
184
|
+
0, "private": true, "resource": "source/4fe141c51552687d470000f6", "size":
|
185
|
+
4608, "source_parser": {"header": true, "locale": "en_US", "missing_tokens":
|
186
|
+
["", "N/A", "n/a", "NULL", "null", "-", "#DIV/0", "#REF!", "#NAME?", "NIL",
|
187
|
+
"nil", "NA", "na", "#VALUE!", "#NULL!", "NaN", "#N/A", "#NUM!", "?"], "quote":
|
188
|
+
"\"", "separator": ","}, "status": {"code": 5, "elapsed": 75, "message": "The
|
189
|
+
source has been created"}, "tags": [], "type": 0, "updated": "2012-06-20T03:21:41.431000"}]}'
|
190
|
+
http_version: '1.1'
|
191
|
+
recorded_at: Wed, 20 Jun 2012 03:21:26 GMT
|
192
|
+
recorded_with: VCR 2.2.2
|
@@ -0,0 +1,105 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://bigml.io/andromeda/source?username=<USERNAME>&api_key=<API_KEY>
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
connection:
|
11
|
+
- close
|
12
|
+
response:
|
13
|
+
status:
|
14
|
+
code: 200
|
15
|
+
message: OK
|
16
|
+
headers:
|
17
|
+
content-type:
|
18
|
+
- application/json; charset=utf-8
|
19
|
+
date:
|
20
|
+
- Wed, 20 Jun 2012 03:19:38 GMT
|
21
|
+
server:
|
22
|
+
- nginx/1.0.12
|
23
|
+
content-length:
|
24
|
+
- '101'
|
25
|
+
connection:
|
26
|
+
- Close
|
27
|
+
body:
|
28
|
+
encoding: US-ASCII
|
29
|
+
string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
|
30
|
+
"total_count": 0}, "objects": []}'
|
31
|
+
http_version: '1.1'
|
32
|
+
recorded_at: Wed, 20 Jun 2012 03:21:09 GMT
|
33
|
+
- request:
|
34
|
+
method: get
|
35
|
+
uri: https://bigml.io/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
|
36
|
+
body:
|
37
|
+
encoding: US-ASCII
|
38
|
+
string: ''
|
39
|
+
headers:
|
40
|
+
connection:
|
41
|
+
- close
|
42
|
+
response:
|
43
|
+
status:
|
44
|
+
code: 200
|
45
|
+
message: OK
|
46
|
+
headers:
|
47
|
+
content-type:
|
48
|
+
- application/json; charset=utf-8
|
49
|
+
date:
|
50
|
+
- Wed, 20 Jun 2012 03:17:19 GMT
|
51
|
+
server:
|
52
|
+
- nginx/1.0.12
|
53
|
+
content-length:
|
54
|
+
- '101'
|
55
|
+
connection:
|
56
|
+
- Close
|
57
|
+
body:
|
58
|
+
encoding: US-ASCII
|
59
|
+
string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
|
60
|
+
"total_count": 0}, "objects": []}'
|
61
|
+
http_version: '1.1'
|
62
|
+
recorded_at: Wed, 20 Jun 2012 03:21:10 GMT
|
63
|
+
- request:
|
64
|
+
method: post
|
65
|
+
uri: https://bigml.io/andromeda/source
|
66
|
+
body:
|
67
|
+
encoding: US-ASCII
|
68
|
+
string: ''
|
69
|
+
headers:
|
70
|
+
content-type:
|
71
|
+
- multipart/form-data; boundary=-----------RubyMultipartPost
|
72
|
+
content-length:
|
73
|
+
- '5147'
|
74
|
+
connection:
|
75
|
+
- close
|
76
|
+
response:
|
77
|
+
status:
|
78
|
+
code: 201
|
79
|
+
message: CREATED
|
80
|
+
headers:
|
81
|
+
content-type:
|
82
|
+
- application/json; charset=utf-8
|
83
|
+
date:
|
84
|
+
- Wed, 20 Jun 2012 03:19:42 GMT
|
85
|
+
location:
|
86
|
+
- http://bigml.io/andromeda/source/4fe141b91552687d43000118
|
87
|
+
server:
|
88
|
+
- nginx/1.0.12
|
89
|
+
content-length:
|
90
|
+
- '567'
|
91
|
+
connection:
|
92
|
+
- Close
|
93
|
+
body:
|
94
|
+
encoding: US-ASCII
|
95
|
+
string: ! '{"category": 0, "code": 201, "content_type": "application/octet-stream",
|
96
|
+
"created": "2012-06-20T03:21:29.774604", "credits": 0.0, "description": "",
|
97
|
+
"file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae", "name":
|
98
|
+
"iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
|
99
|
+
0, "private": true, "resource": "source/4fe141b91552687d43000118", "size":
|
100
|
+
4608, "source_parser": {}, "status": {"code": 1, "message": "The request has
|
101
|
+
been queued and will be processed soon"}, "tags": [], "type": 0, "updated":
|
102
|
+
"2012-06-20T03:21:29.774626"}'
|
103
|
+
http_version: '1.1'
|
104
|
+
recorded_at: Wed, 20 Jun 2012 03:21:13 GMT
|
105
|
+
recorded_with: VCR 2.2.2
|
metadata
ADDED
@@ -0,0 +1,224 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: big_ml
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Vicent Gozalbes
|
9
|
+
- Felipe Talavera
|
10
|
+
autorequire:
|
11
|
+
bindir: bin
|
12
|
+
cert_chain: []
|
13
|
+
date: 2012-06-20 00:00:00.000000000 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: httmultiparty
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
18
|
+
none: false
|
19
|
+
requirements:
|
20
|
+
- - ! '>='
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '0'
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
27
|
+
requirements:
|
28
|
+
- - ! '>='
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
version: '0'
|
31
|
+
- !ruby/object:Gem::Dependency
|
32
|
+
name: rake
|
33
|
+
requirement: !ruby/object:Gem::Requirement
|
34
|
+
none: false
|
35
|
+
requirements:
|
36
|
+
- - ! '>='
|
37
|
+
- !ruby/object:Gem::Version
|
38
|
+
version: '0'
|
39
|
+
type: :development
|
40
|
+
prerelease: false
|
41
|
+
version_requirements: !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
43
|
+
requirements:
|
44
|
+
- - ! '>='
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '0'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: rspec
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
type: :development
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: !ruby/object:Gem::Requirement
|
58
|
+
none: false
|
59
|
+
requirements:
|
60
|
+
- - ! '>='
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0'
|
63
|
+
- !ruby/object:Gem::Dependency
|
64
|
+
name: vcr
|
65
|
+
requirement: !ruby/object:Gem::Requirement
|
66
|
+
none: false
|
67
|
+
requirements:
|
68
|
+
- - ! '>='
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: '0'
|
71
|
+
type: :development
|
72
|
+
prerelease: false
|
73
|
+
version_requirements: !ruby/object:Gem::Requirement
|
74
|
+
none: false
|
75
|
+
requirements:
|
76
|
+
- - ! '>='
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: '0'
|
79
|
+
- !ruby/object:Gem::Dependency
|
80
|
+
name: fakeweb
|
81
|
+
requirement: !ruby/object:Gem::Requirement
|
82
|
+
none: false
|
83
|
+
requirements:
|
84
|
+
- - ! '>='
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: '0'
|
87
|
+
type: :development
|
88
|
+
prerelease: false
|
89
|
+
version_requirements: !ruby/object:Gem::Requirement
|
90
|
+
none: false
|
91
|
+
requirements:
|
92
|
+
- - ! '>='
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: '0'
|
95
|
+
description: A Ruby wrapper for the BigML REST API
|
96
|
+
email:
|
97
|
+
- vigosan@gmail.com
|
98
|
+
- felipe.talavera@gmail.com
|
99
|
+
executables: []
|
100
|
+
extensions: []
|
101
|
+
extra_rdoc_files: []
|
102
|
+
files:
|
103
|
+
- .gitignore
|
104
|
+
- .rspec
|
105
|
+
- .rvmrc
|
106
|
+
- .rvmrc.example
|
107
|
+
- .travis.yml
|
108
|
+
- CHANGELOG.md
|
109
|
+
- Gemfile
|
110
|
+
- LICENSE
|
111
|
+
- README.md
|
112
|
+
- Rakefile
|
113
|
+
- TODO.md
|
114
|
+
- big_ml.gemspec
|
115
|
+
- lib/big_ml.rb
|
116
|
+
- lib/big_ml/authenticable.rb
|
117
|
+
- lib/big_ml/base.rb
|
118
|
+
- lib/big_ml/client.rb
|
119
|
+
- lib/big_ml/config.rb
|
120
|
+
- lib/big_ml/dataset.rb
|
121
|
+
- lib/big_ml/model.rb
|
122
|
+
- lib/big_ml/prediction.rb
|
123
|
+
- lib/big_ml/request.rb
|
124
|
+
- lib/big_ml/source.rb
|
125
|
+
- lib/big_ml/version.rb
|
126
|
+
- spec/fixtures/iris.csv
|
127
|
+
- spec/integration/dataset_spec.rb
|
128
|
+
- spec/integration/model_spec.rb
|
129
|
+
- spec/integration/prediction_spec.rb
|
130
|
+
- spec/integration/source_spec.rb
|
131
|
+
- spec/spec_helper.rb
|
132
|
+
- spec/units/client_spec.rb
|
133
|
+
- spec/units/source_spec.rb
|
134
|
+
- spec/vcr_cassettes/BigML_Dataset/no_dataset/_all/must_be_empty.yml
|
135
|
+
- spec/vcr_cassettes/BigML_Dataset/one_dataset/must_be_able_to_be_find_using_the_reference.yml
|
136
|
+
- spec/vcr_cassettes/BigML_Dataset/one_dataset/must_be_able_to_remove_the_dataset.yml
|
137
|
+
- spec/vcr_cassettes/BigML_Dataset/one_dataset/must_be_able_to_update_the_name.yml
|
138
|
+
- spec/vcr_cassettes/BigML_Dataset/one_dataset/must_have_only_one_item.yml
|
139
|
+
- spec/vcr_cassettes/BigML_Dataset/one_dataset/must_have_the_same_file_name.yml
|
140
|
+
- spec/vcr_cassettes/BigML_Dataset/one_dataset/was_created_successfully.yml
|
141
|
+
- spec/vcr_cassettes/BigML_Model/no_model/_all/must_be_empty.yml
|
142
|
+
- spec/vcr_cassettes/BigML_Model/one_model/must_be_able_to_be_find_using_the_reference.yml
|
143
|
+
- spec/vcr_cassettes/BigML_Model/one_model/must_be_able_to_remove_the_model.yml
|
144
|
+
- spec/vcr_cassettes/BigML_Model/one_model/must_be_able_to_update_the_name.yml
|
145
|
+
- spec/vcr_cassettes/BigML_Model/one_model/must_have_only_one_item.yml
|
146
|
+
- spec/vcr_cassettes/BigML_Model/one_model/must_have_the_same_file_name.yml
|
147
|
+
- spec/vcr_cassettes/BigML_Model/one_model/must_have_the_same_size.yml
|
148
|
+
- spec/vcr_cassettes/BigML_Model/one_model/was_created_successfully.yml
|
149
|
+
- spec/vcr_cassettes/BigML_Prediction/no_prediction/_all/must_be_empty.yml
|
150
|
+
- spec/vcr_cassettes/BigML_Prediction/one_prediction/must_be_able_to_be_find_using_the_reference.yml
|
151
|
+
- spec/vcr_cassettes/BigML_Prediction/one_prediction/must_be_able_to_remove_the_prediction.yml
|
152
|
+
- spec/vcr_cassettes/BigML_Prediction/one_prediction/must_be_able_to_update_the_name.yml
|
153
|
+
- spec/vcr_cassettes/BigML_Prediction/one_prediction/must_have_only_one_item.yml
|
154
|
+
- spec/vcr_cassettes/BigML_Prediction/one_prediction/must_have_the_same_name.yml
|
155
|
+
- spec/vcr_cassettes/BigML_Prediction/one_prediction/was_created_successfully.yml
|
156
|
+
- spec/vcr_cassettes/BigML_Source/no_source/_all/must_be_empty.yml
|
157
|
+
- spec/vcr_cassettes/BigML_Source/one_source/must_be_able_to_be_find_using_the_reference.yml
|
158
|
+
- spec/vcr_cassettes/BigML_Source/one_source/must_be_able_to_remove_the_source.yml
|
159
|
+
- spec/vcr_cassettes/BigML_Source/one_source/must_be_able_to_update_the_name.yml
|
160
|
+
- spec/vcr_cassettes/BigML_Source/one_source/must_have_only_one_item.yml
|
161
|
+
- spec/vcr_cassettes/BigML_Source/one_source/must_have_the_same_file_name.yml
|
162
|
+
- spec/vcr_cassettes/BigML_Source/one_source/was_created_successfully.yml
|
163
|
+
homepage: https://bigml.com
|
164
|
+
licenses: []
|
165
|
+
post_install_message:
|
166
|
+
rdoc_options: []
|
167
|
+
require_paths:
|
168
|
+
- lib
|
169
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
170
|
+
none: false
|
171
|
+
requirements:
|
172
|
+
- - ! '>='
|
173
|
+
- !ruby/object:Gem::Version
|
174
|
+
version: '0'
|
175
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
176
|
+
none: false
|
177
|
+
requirements:
|
178
|
+
- - ! '>='
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
181
|
+
requirements: []
|
182
|
+
rubyforge_project:
|
183
|
+
rubygems_version: 1.8.23
|
184
|
+
signing_key:
|
185
|
+
specification_version: 3
|
186
|
+
summary: A Ruby wrapper for the BigML REST API
|
187
|
+
test_files:
|
188
|
+
- spec/fixtures/iris.csv
|
189
|
+
- spec/integration/dataset_spec.rb
|
190
|
+
- spec/integration/model_spec.rb
|
191
|
+
- spec/integration/prediction_spec.rb
|
192
|
+
- spec/integration/source_spec.rb
|
193
|
+
- spec/spec_helper.rb
|
194
|
+
- spec/units/client_spec.rb
|
195
|
+
- spec/units/source_spec.rb
|
196
|
+
- spec/vcr_cassettes/BigML_Dataset/no_dataset/_all/must_be_empty.yml
|
197
|
+
- spec/vcr_cassettes/BigML_Dataset/one_dataset/must_be_able_to_be_find_using_the_reference.yml
|
198
|
+
- spec/vcr_cassettes/BigML_Dataset/one_dataset/must_be_able_to_remove_the_dataset.yml
|
199
|
+
- spec/vcr_cassettes/BigML_Dataset/one_dataset/must_be_able_to_update_the_name.yml
|
200
|
+
- spec/vcr_cassettes/BigML_Dataset/one_dataset/must_have_only_one_item.yml
|
201
|
+
- spec/vcr_cassettes/BigML_Dataset/one_dataset/must_have_the_same_file_name.yml
|
202
|
+
- spec/vcr_cassettes/BigML_Dataset/one_dataset/was_created_successfully.yml
|
203
|
+
- spec/vcr_cassettes/BigML_Model/no_model/_all/must_be_empty.yml
|
204
|
+
- spec/vcr_cassettes/BigML_Model/one_model/must_be_able_to_be_find_using_the_reference.yml
|
205
|
+
- spec/vcr_cassettes/BigML_Model/one_model/must_be_able_to_remove_the_model.yml
|
206
|
+
- spec/vcr_cassettes/BigML_Model/one_model/must_be_able_to_update_the_name.yml
|
207
|
+
- spec/vcr_cassettes/BigML_Model/one_model/must_have_only_one_item.yml
|
208
|
+
- spec/vcr_cassettes/BigML_Model/one_model/must_have_the_same_file_name.yml
|
209
|
+
- spec/vcr_cassettes/BigML_Model/one_model/must_have_the_same_size.yml
|
210
|
+
- spec/vcr_cassettes/BigML_Model/one_model/was_created_successfully.yml
|
211
|
+
- spec/vcr_cassettes/BigML_Prediction/no_prediction/_all/must_be_empty.yml
|
212
|
+
- spec/vcr_cassettes/BigML_Prediction/one_prediction/must_be_able_to_be_find_using_the_reference.yml
|
213
|
+
- spec/vcr_cassettes/BigML_Prediction/one_prediction/must_be_able_to_remove_the_prediction.yml
|
214
|
+
- spec/vcr_cassettes/BigML_Prediction/one_prediction/must_be_able_to_update_the_name.yml
|
215
|
+
- spec/vcr_cassettes/BigML_Prediction/one_prediction/must_have_only_one_item.yml
|
216
|
+
- spec/vcr_cassettes/BigML_Prediction/one_prediction/must_have_the_same_name.yml
|
217
|
+
- spec/vcr_cassettes/BigML_Prediction/one_prediction/was_created_successfully.yml
|
218
|
+
- spec/vcr_cassettes/BigML_Source/no_source/_all/must_be_empty.yml
|
219
|
+
- spec/vcr_cassettes/BigML_Source/one_source/must_be_able_to_be_find_using_the_reference.yml
|
220
|
+
- spec/vcr_cassettes/BigML_Source/one_source/must_be_able_to_remove_the_source.yml
|
221
|
+
- spec/vcr_cassettes/BigML_Source/one_source/must_be_able_to_update_the_name.yml
|
222
|
+
- spec/vcr_cassettes/BigML_Source/one_source/must_have_only_one_item.yml
|
223
|
+
- spec/vcr_cassettes/BigML_Source/one_source/must_have_the_same_file_name.yml
|
224
|
+
- spec/vcr_cassettes/BigML_Source/one_source/was_created_successfully.yml
|