big_ml 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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,265 @@ | |
| 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:52:29 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:56:33.693000", "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": 0, "number_of_predictions":
         | 
| 39 | 
            +
                    0, "private": true, "resource": "source/4fe149f11552687d45000143", "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": 78, "message": "The
         | 
| 44 | 
            +
                    source has been created"}, "tags": [], "type": 0, "updated": "2012-06-20T03:56:35.135000"}]}'
         | 
| 45 | 
            +
                http_version: '1.1'
         | 
| 46 | 
            +
              recorded_at: Wed, 20 Jun 2012 03:56:19 GMT
         | 
| 47 | 
            +
            - request:
         | 
| 48 | 
            +
                method: delete
         | 
| 49 | 
            +
                uri: https://bigml.io/andromeda/source/4fe149f11552687d45000143?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:54:50 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:56:21 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:52:31 GMT
         | 
| 94 | 
            +
                  server:
         | 
| 95 | 
            +
                  - nginx/1.0.12
         | 
| 96 | 
            +
                  content-length:
         | 
| 97 | 
            +
                  - '703'
         | 
| 98 | 
            +
                  connection:
         | 
| 99 | 
            +
                  - Close
         | 
| 100 | 
            +
                body:
         | 
| 101 | 
            +
                  encoding: US-ASCII
         | 
| 102 | 
            +
                  string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
         | 
| 103 | 
            +
                    "total_count": 1}, "objects": [{"category": 0, "code": 200, "columns": 5,
         | 
| 104 | 
            +
                    "created": "2012-06-20T03:56:35.125000", "credits": 0.0087890625, "description":
         | 
| 105 | 
            +
                    "", "locale": "en_US", "name": "iris'' dataset", "number_of_models": 0, "number_of_predictions":
         | 
| 106 | 
            +
                    0, "private": true, "resource": "dataset/4fe149f31552687d480000f6", "rows":
         | 
| 107 | 
            +
                    150, "size": 4608, "source": "source/4fe149f11552687d45000143", "source_status":
         | 
| 108 | 
            +
                    false, "status": {"bytes": 4608, "code": 5, "elapsed": 126, "field_errors":
         | 
| 109 | 
            +
                    [], "message": "The dataset has been created", "row_format_errors": [], "serialized_rows":
         | 
| 110 | 
            +
                    150}, "tags": [], "updated": "2012-06-20T03:56:09.315000"}]}'
         | 
| 111 | 
            +
                http_version: '1.1'
         | 
| 112 | 
            +
              recorded_at: Wed, 20 Jun 2012 03:56:22 GMT
         | 
| 113 | 
            +
            - request:
         | 
| 114 | 
            +
                method: delete
         | 
| 115 | 
            +
                uri: https://bigml.io/andromeda/dataset/4fe149f31552687d480000f6?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 | 
            +
                  - Wed, 20 Jun 2012 03:54:52 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: Wed, 20 Jun 2012 03:56:23 GMT
         | 
| 142 | 
            +
            - request:
         | 
| 143 | 
            +
                method: post
         | 
| 144 | 
            +
                uri: https://bigml.io/andromeda/source
         | 
| 145 | 
            +
                body:
         | 
| 146 | 
            +
                  encoding: US-ASCII
         | 
| 147 | 
            +
                  string: ''
         | 
| 148 | 
            +
                headers:
         | 
| 149 | 
            +
                  content-type:
         | 
| 150 | 
            +
                  - multipart/form-data; boundary=-----------RubyMultipartPost
         | 
| 151 | 
            +
                  content-length:
         | 
| 152 | 
            +
                  - '5147'
         | 
| 153 | 
            +
                  connection:
         | 
| 154 | 
            +
                  - close
         | 
| 155 | 
            +
              response:
         | 
| 156 | 
            +
                status:
         | 
| 157 | 
            +
                  code: 201
         | 
| 158 | 
            +
                  message: CREATED
         | 
| 159 | 
            +
                headers:
         | 
| 160 | 
            +
                  content-type:
         | 
| 161 | 
            +
                  - application/json; charset=utf-8
         | 
| 162 | 
            +
                  date:
         | 
| 163 | 
            +
                  - Wed, 20 Jun 2012 03:52:34 GMT
         | 
| 164 | 
            +
                  location:
         | 
| 165 | 
            +
                  - http://bigml.io/andromeda/source/4fe149dd035d074a1c0000f2
         | 
| 166 | 
            +
                  server:
         | 
| 167 | 
            +
                  - nginx/1.0.12
         | 
| 168 | 
            +
                  content-length:
         | 
| 169 | 
            +
                  - '567'
         | 
| 170 | 
            +
                  connection:
         | 
| 171 | 
            +
                  - Close
         | 
| 172 | 
            +
                body:
         | 
| 173 | 
            +
                  encoding: US-ASCII
         | 
| 174 | 
            +
                  string: ! '{"category": 0, "code": 201, "content_type": "application/octet-stream",
         | 
| 175 | 
            +
                    "created": "2012-06-20T03:56:13.244578", "credits": 0.0, "description": "",
         | 
| 176 | 
            +
                    "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae", "name":
         | 
| 177 | 
            +
                    "iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
         | 
| 178 | 
            +
                    0, "private": true, "resource": "source/4fe149dd035d074a1c0000f2", "size":
         | 
| 179 | 
            +
                    4608, "source_parser": {}, "status": {"code": 1, "message": "The request has
         | 
| 180 | 
            +
                    been queued and will be processed soon"}, "tags": [], "type": 0, "updated":
         | 
| 181 | 
            +
                    "2012-06-20T03:56:13.244598"}'
         | 
| 182 | 
            +
                http_version: '1.1'
         | 
| 183 | 
            +
              recorded_at: Wed, 20 Jun 2012 03:56:24 GMT
         | 
| 184 | 
            +
            - request:
         | 
| 185 | 
            +
                method: post
         | 
| 186 | 
            +
                uri: https://bigml.io/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
         | 
| 187 | 
            +
                body:
         | 
| 188 | 
            +
                  encoding: UTF-8
         | 
| 189 | 
            +
                  string: ! '{"source":"source/4fe149dd035d074a1c0000f2"}'
         | 
| 190 | 
            +
                headers:
         | 
| 191 | 
            +
                  content-type:
         | 
| 192 | 
            +
                  - application/json
         | 
| 193 | 
            +
                  connection:
         | 
| 194 | 
            +
                  - close
         | 
| 195 | 
            +
              response:
         | 
| 196 | 
            +
                status:
         | 
| 197 | 
            +
                  code: 201
         | 
| 198 | 
            +
                  message: CREATED
         | 
| 199 | 
            +
                headers:
         | 
| 200 | 
            +
                  content-type:
         | 
| 201 | 
            +
                  - application/json; charset=utf-8
         | 
| 202 | 
            +
                  date:
         | 
| 203 | 
            +
                  - Wed, 20 Jun 2012 03:54:55 GMT
         | 
| 204 | 
            +
                  location:
         | 
| 205 | 
            +
                  - http://bigml.io/andromeda/dataset/4fe149de035d074a1b00010c
         | 
| 206 | 
            +
                  server:
         | 
| 207 | 
            +
                  - nginx/1.0.12
         | 
| 208 | 
            +
                  content-length:
         | 
| 209 | 
            +
                  - '920'
         | 
| 210 | 
            +
                  connection:
         | 
| 211 | 
            +
                  - Close
         | 
| 212 | 
            +
                body:
         | 
| 213 | 
            +
                  encoding: US-ASCII
         | 
| 214 | 
            +
                  string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-06-20T03:56:14.630980",
         | 
| 215 | 
            +
                    "credits": 0.0087890625, "description": "", "fields": {"000000": {"column_number":
         | 
| 216 | 
            +
                    0, "name": "sepal length", "optype": "numeric"}, "000001": {"column_number":
         | 
| 217 | 
            +
                    1, "name": "sepal width", "optype": "numeric"}, "000002": {"column_number":
         | 
| 218 | 
            +
                    2, "name": "petal length", "optype": "numeric"}, "000003": {"column_number":
         | 
| 219 | 
            +
                    3, "name": "petal width", "optype": "numeric"}, "000004": {"column_number":
         | 
| 220 | 
            +
                    4, "name": "species", "optype": "categorical"}}, "locale": "en_US", "name":
         | 
| 221 | 
            +
                    "iris'' dataset", "number_of_models": 0, "number_of_predictions": 0, "private":
         | 
| 222 | 
            +
                    true, "resource": "dataset/4fe149de035d074a1b00010c", "rows": 0, "size": 4608,
         | 
| 223 | 
            +
                    "source": "source/4fe149dd035d074a1c0000f2", "source_status": true, "status":
         | 
| 224 | 
            +
                    {"code": 1, "message": "The dataset is being processed and will be created
         | 
| 225 | 
            +
                    soon"}, "tags": [], "updated": "2012-06-20T03:56:14.630999"}'
         | 
| 226 | 
            +
                http_version: '1.1'
         | 
| 227 | 
            +
              recorded_at: Wed, 20 Jun 2012 03:56:26 GMT
         | 
| 228 | 
            +
            - request:
         | 
| 229 | 
            +
                method: get
         | 
| 230 | 
            +
                uri: https://bigml.io/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
         | 
| 231 | 
            +
                body:
         | 
| 232 | 
            +
                  encoding: US-ASCII
         | 
| 233 | 
            +
                  string: ''
         | 
| 234 | 
            +
                headers:
         | 
| 235 | 
            +
                  connection:
         | 
| 236 | 
            +
                  - close
         | 
| 237 | 
            +
              response:
         | 
| 238 | 
            +
                status:
         | 
| 239 | 
            +
                  code: 200
         | 
| 240 | 
            +
                  message: OK
         | 
| 241 | 
            +
                headers:
         | 
| 242 | 
            +
                  content-type:
         | 
| 243 | 
            +
                  - application/json; charset=utf-8
         | 
| 244 | 
            +
                  date:
         | 
| 245 | 
            +
                  - Wed, 20 Jun 2012 03:52:36 GMT
         | 
| 246 | 
            +
                  server:
         | 
| 247 | 
            +
                  - nginx/1.0.12
         | 
| 248 | 
            +
                  content-length:
         | 
| 249 | 
            +
                  - '702'
         | 
| 250 | 
            +
                  connection:
         | 
| 251 | 
            +
                  - Close
         | 
| 252 | 
            +
                body:
         | 
| 253 | 
            +
                  encoding: US-ASCII
         | 
| 254 | 
            +
                  string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
         | 
| 255 | 
            +
                    "total_count": 1}, "objects": [{"category": 0, "code": 200, "columns": 5,
         | 
| 256 | 
            +
                    "created": "2012-06-20T03:56:14.630000", "credits": 0.0087890625, "description":
         | 
| 257 | 
            +
                    "", "locale": "en_US", "name": "iris'' dataset", "number_of_models": 0, "number_of_predictions":
         | 
| 258 | 
            +
                    0, "private": true, "resource": "dataset/4fe149de035d074a1b00010c", "rows":
         | 
| 259 | 
            +
                    150, "size": 4608, "source": "source/4fe149dd035d074a1c0000f2", "source_status":
         | 
| 260 | 
            +
                    true, "status": {"bytes": 4608, "code": 5, "elapsed": 187, "field_errors":
         | 
| 261 | 
            +
                    [], "message": "The dataset has been created", "row_format_errors": [], "serialized_rows":
         | 
| 262 | 
            +
                    150}, "tags": [], "updated": "2012-06-20T03:56:14.747000"}]}'
         | 
| 263 | 
            +
                http_version: '1.1'
         | 
| 264 | 
            +
              recorded_at: Wed, 20 Jun 2012 03:56:27 GMT
         | 
| 265 | 
            +
            recorded_with: VCR 2.2.2
         | 
| @@ -0,0 +1,265 @@ | |
| 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:54:57 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:56:13.244000", "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": 0, "number_of_predictions":
         | 
| 39 | 
            +
                    0, "private": true, "resource": "source/4fe149dd035d074a1c0000f2", "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": 76, "message": "The
         | 
| 44 | 
            +
                    source has been created"}, "tags": [], "type": 0, "updated": "2012-06-20T03:56:14.689000"}]}'
         | 
| 45 | 
            +
                http_version: '1.1'
         | 
| 46 | 
            +
              recorded_at: Wed, 20 Jun 2012 03:56:28 GMT
         | 
| 47 | 
            +
            - request:
         | 
| 48 | 
            +
                method: delete
         | 
| 49 | 
            +
                uri: https://bigml.io/andromeda/source/4fe149dd035d074a1c0000f2?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:52:39 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:56:29 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:54:59 GMT
         | 
| 94 | 
            +
                  server:
         | 
| 95 | 
            +
                  - nginx/1.0.12
         | 
| 96 | 
            +
                  content-length:
         | 
| 97 | 
            +
                  - '703'
         | 
| 98 | 
            +
                  connection:
         | 
| 99 | 
            +
                  - Close
         | 
| 100 | 
            +
                body:
         | 
| 101 | 
            +
                  encoding: US-ASCII
         | 
| 102 | 
            +
                  string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
         | 
| 103 | 
            +
                    "total_count": 1}, "objects": [{"category": 0, "code": 200, "columns": 5,
         | 
| 104 | 
            +
                    "created": "2012-06-20T03:56:14.630000", "credits": 0.0087890625, "description":
         | 
| 105 | 
            +
                    "", "locale": "en_US", "name": "iris'' dataset", "number_of_models": 0, "number_of_predictions":
         | 
| 106 | 
            +
                    0, "private": true, "resource": "dataset/4fe149de035d074a1b00010c", "rows":
         | 
| 107 | 
            +
                    150, "size": 4608, "source": "source/4fe149dd035d074a1c0000f2", "source_status":
         | 
| 108 | 
            +
                    false, "status": {"bytes": 4608, "code": 5, "elapsed": 187, "field_errors":
         | 
| 109 | 
            +
                    [], "message": "The dataset has been created", "row_format_errors": [], "serialized_rows":
         | 
| 110 | 
            +
                    150}, "tags": [], "updated": "2012-06-20T03:56:44.077000"}]}'
         | 
| 111 | 
            +
                http_version: '1.1'
         | 
| 112 | 
            +
              recorded_at: Wed, 20 Jun 2012 03:56:30 GMT
         | 
| 113 | 
            +
            - request:
         | 
| 114 | 
            +
                method: delete
         | 
| 115 | 
            +
                uri: https://bigml.io/andromeda/dataset/4fe149de035d074a1b00010c?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 | 
            +
                  - Wed, 20 Jun 2012 03:52:41 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: Wed, 20 Jun 2012 03:56:32 GMT
         | 
| 142 | 
            +
            - request:
         | 
| 143 | 
            +
                method: post
         | 
| 144 | 
            +
                uri: https://bigml.io/andromeda/source
         | 
| 145 | 
            +
                body:
         | 
| 146 | 
            +
                  encoding: US-ASCII
         | 
| 147 | 
            +
                  string: ''
         | 
| 148 | 
            +
                headers:
         | 
| 149 | 
            +
                  content-type:
         | 
| 150 | 
            +
                  - multipart/form-data; boundary=-----------RubyMultipartPost
         | 
| 151 | 
            +
                  content-length:
         | 
| 152 | 
            +
                  - '5147'
         | 
| 153 | 
            +
                  connection:
         | 
| 154 | 
            +
                  - close
         | 
| 155 | 
            +
              response:
         | 
| 156 | 
            +
                status:
         | 
| 157 | 
            +
                  code: 201
         | 
| 158 | 
            +
                  message: CREATED
         | 
| 159 | 
            +
                headers:
         | 
| 160 | 
            +
                  content-type:
         | 
| 161 | 
            +
                  - application/json; charset=utf-8
         | 
| 162 | 
            +
                  date:
         | 
| 163 | 
            +
                  - Wed, 20 Jun 2012 03:55:02 GMT
         | 
| 164 | 
            +
                  location:
         | 
| 165 | 
            +
                  - http://bigml.io/andromeda/source/4fe14a021552687d42000136
         | 
| 166 | 
            +
                  server:
         | 
| 167 | 
            +
                  - nginx/1.0.12
         | 
| 168 | 
            +
                  content-length:
         | 
| 169 | 
            +
                  - '567'
         | 
| 170 | 
            +
                  connection:
         | 
| 171 | 
            +
                  - Close
         | 
| 172 | 
            +
                body:
         | 
| 173 | 
            +
                  encoding: US-ASCII
         | 
| 174 | 
            +
                  string: ! '{"category": 0, "code": 201, "content_type": "application/octet-stream",
         | 
| 175 | 
            +
                    "created": "2012-06-20T03:56:50.608241", "credits": 0.0, "description": "",
         | 
| 176 | 
            +
                    "file_name": "iris.csv", "md5": "d1175c032e1042bec7f974c91e4a65ae", "name":
         | 
| 177 | 
            +
                    "iris.csv", "number_of_datasets": 0, "number_of_models": 0, "number_of_predictions":
         | 
| 178 | 
            +
                    0, "private": true, "resource": "source/4fe14a021552687d42000136", "size":
         | 
| 179 | 
            +
                    4608, "source_parser": {}, "status": {"code": 1, "message": "The request has
         | 
| 180 | 
            +
                    been queued and will be processed soon"}, "tags": [], "type": 0, "updated":
         | 
| 181 | 
            +
                    "2012-06-20T03:56:50.608267"}'
         | 
| 182 | 
            +
                http_version: '1.1'
         | 
| 183 | 
            +
              recorded_at: Wed, 20 Jun 2012 03:56:33 GMT
         | 
| 184 | 
            +
            - request:
         | 
| 185 | 
            +
                method: post
         | 
| 186 | 
            +
                uri: https://bigml.io/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
         | 
| 187 | 
            +
                body:
         | 
| 188 | 
            +
                  encoding: UTF-8
         | 
| 189 | 
            +
                  string: ! '{"source":"source/4fe14a021552687d42000136"}'
         | 
| 190 | 
            +
                headers:
         | 
| 191 | 
            +
                  content-type:
         | 
| 192 | 
            +
                  - application/json
         | 
| 193 | 
            +
                  connection:
         | 
| 194 | 
            +
                  - close
         | 
| 195 | 
            +
              response:
         | 
| 196 | 
            +
                status:
         | 
| 197 | 
            +
                  code: 201
         | 
| 198 | 
            +
                  message: CREATED
         | 
| 199 | 
            +
                headers:
         | 
| 200 | 
            +
                  content-type:
         | 
| 201 | 
            +
                  - application/json; charset=utf-8
         | 
| 202 | 
            +
                  date:
         | 
| 203 | 
            +
                  - Wed, 20 Jun 2012 03:52:44 GMT
         | 
| 204 | 
            +
                  location:
         | 
| 205 | 
            +
                  - http://bigml.io/andromeda/dataset/4fe149e7035d074a21000141
         | 
| 206 | 
            +
                  server:
         | 
| 207 | 
            +
                  - nginx/1.0.12
         | 
| 208 | 
            +
                  content-length:
         | 
| 209 | 
            +
                  - '920'
         | 
| 210 | 
            +
                  connection:
         | 
| 211 | 
            +
                  - Close
         | 
| 212 | 
            +
                body:
         | 
| 213 | 
            +
                  encoding: US-ASCII
         | 
| 214 | 
            +
                  string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-06-20T03:56:23.634834",
         | 
| 215 | 
            +
                    "credits": 0.0087890625, "description": "", "fields": {"000000": {"column_number":
         | 
| 216 | 
            +
                    0, "name": "sepal length", "optype": "numeric"}, "000001": {"column_number":
         | 
| 217 | 
            +
                    1, "name": "sepal width", "optype": "numeric"}, "000002": {"column_number":
         | 
| 218 | 
            +
                    2, "name": "petal length", "optype": "numeric"}, "000003": {"column_number":
         | 
| 219 | 
            +
                    3, "name": "petal width", "optype": "numeric"}, "000004": {"column_number":
         | 
| 220 | 
            +
                    4, "name": "species", "optype": "categorical"}}, "locale": "en_US", "name":
         | 
| 221 | 
            +
                    "iris'' dataset", "number_of_models": 0, "number_of_predictions": 0, "private":
         | 
| 222 | 
            +
                    true, "resource": "dataset/4fe149e7035d074a21000141", "rows": 0, "size": 4608,
         | 
| 223 | 
            +
                    "source": "source/4fe14a021552687d42000136", "source_status": true, "status":
         | 
| 224 | 
            +
                    {"code": 1, "message": "The dataset is being processed and will be created
         | 
| 225 | 
            +
                    soon"}, "tags": [], "updated": "2012-06-20T03:56:23.634852"}'
         | 
| 226 | 
            +
                http_version: '1.1'
         | 
| 227 | 
            +
              recorded_at: Wed, 20 Jun 2012 03:56:35 GMT
         | 
| 228 | 
            +
            - request:
         | 
| 229 | 
            +
                method: get
         | 
| 230 | 
            +
                uri: https://bigml.io/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
         | 
| 231 | 
            +
                body:
         | 
| 232 | 
            +
                  encoding: US-ASCII
         | 
| 233 | 
            +
                  string: ''
         | 
| 234 | 
            +
                headers:
         | 
| 235 | 
            +
                  connection:
         | 
| 236 | 
            +
                  - close
         | 
| 237 | 
            +
              response:
         | 
| 238 | 
            +
                status:
         | 
| 239 | 
            +
                  code: 200
         | 
| 240 | 
            +
                  message: OK
         | 
| 241 | 
            +
                headers:
         | 
| 242 | 
            +
                  content-type:
         | 
| 243 | 
            +
                  - application/json; charset=utf-8
         | 
| 244 | 
            +
                  date:
         | 
| 245 | 
            +
                  - Wed, 20 Jun 2012 03:55:05 GMT
         | 
| 246 | 
            +
                  server:
         | 
| 247 | 
            +
                  - nginx/1.0.12
         | 
| 248 | 
            +
                  content-length:
         | 
| 249 | 
            +
                  - '702'
         | 
| 250 | 
            +
                  connection:
         | 
| 251 | 
            +
                  - Close
         | 
| 252 | 
            +
                body:
         | 
| 253 | 
            +
                  encoding: US-ASCII
         | 
| 254 | 
            +
                  string: ! '{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
         | 
| 255 | 
            +
                    "total_count": 1}, "objects": [{"category": 0, "code": 200, "columns": 5,
         | 
| 256 | 
            +
                    "created": "2012-06-20T03:56:23.634000", "credits": 0.0087890625, "description":
         | 
| 257 | 
            +
                    "", "locale": "en_US", "name": "iris'' dataset", "number_of_models": 0, "number_of_predictions":
         | 
| 258 | 
            +
                    0, "private": true, "resource": "dataset/4fe149e7035d074a21000141", "rows":
         | 
| 259 | 
            +
                    150, "size": 4608, "source": "source/4fe14a021552687d42000136", "source_status":
         | 
| 260 | 
            +
                    true, "status": {"bytes": 4608, "code": 5, "elapsed": 107, "field_errors":
         | 
| 261 | 
            +
                    [], "message": "The dataset has been created", "row_format_errors": [], "serialized_rows":
         | 
| 262 | 
            +
                    150}, "tags": [], "updated": "2012-06-20T03:56:23.694000"}]}'
         | 
| 263 | 
            +
                http_version: '1.1'
         | 
| 264 | 
            +
              recorded_at: Wed, 20 Jun 2012 03:56:36 GMT
         | 
| 265 | 
            +
            recorded_with: VCR 2.2.2
         | 
| @@ -0,0 +1,149 @@ | |
| 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:52:23 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:56:14 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:54:44 GMT
         | 
| 51 | 
            +
                  server:
         | 
| 52 | 
            +
                  - nginx/1.0.12
         | 
| 53 | 
            +
                  transfer-encoding:
         | 
| 54 | 
            +
                  - chunked
         | 
| 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:56:15 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:52:26 GMT
         | 
| 85 | 
            +
                  location:
         | 
| 86 | 
            +
                  - http://bigml.io/andromeda/source/4fe149f11552687d45000143
         | 
| 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:56:33.693551", "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/4fe149f11552687d45000143", "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:56:33.693571"}'
         | 
| 103 | 
            +
                http_version: '1.1'
         | 
| 104 | 
            +
              recorded_at: Wed, 20 Jun 2012 03:56:16 GMT
         | 
| 105 | 
            +
            - request:
         | 
| 106 | 
            +
                method: post
         | 
| 107 | 
            +
                uri: https://bigml.io/andromeda/dataset?username=<USERNAME>&api_key=<API_KEY>
         | 
| 108 | 
            +
                body:
         | 
| 109 | 
            +
                  encoding: UTF-8
         | 
| 110 | 
            +
                  string: ! '{"source":"source/4fe149f11552687d45000143"}'
         | 
| 111 | 
            +
                headers:
         | 
| 112 | 
            +
                  content-type:
         | 
| 113 | 
            +
                  - application/json
         | 
| 114 | 
            +
                  connection:
         | 
| 115 | 
            +
                  - close
         | 
| 116 | 
            +
              response:
         | 
| 117 | 
            +
                status:
         | 
| 118 | 
            +
                  code: 201
         | 
| 119 | 
            +
                  message: CREATED
         | 
| 120 | 
            +
                headers:
         | 
| 121 | 
            +
                  content-type:
         | 
| 122 | 
            +
                  - application/json; charset=utf-8
         | 
| 123 | 
            +
                  date:
         | 
| 124 | 
            +
                  - Wed, 20 Jun 2012 03:54:47 GMT
         | 
| 125 | 
            +
                  location:
         | 
| 126 | 
            +
                  - http://bigml.io/andromeda/dataset/4fe149f31552687d480000f6
         | 
| 127 | 
            +
                  server:
         | 
| 128 | 
            +
                  - nginx/1.0.12
         | 
| 129 | 
            +
                  content-length:
         | 
| 130 | 
            +
                  - '920'
         | 
| 131 | 
            +
                  connection:
         | 
| 132 | 
            +
                  - Close
         | 
| 133 | 
            +
                body:
         | 
| 134 | 
            +
                  encoding: US-ASCII
         | 
| 135 | 
            +
                  string: ! '{"category": 0, "code": 201, "columns": 5, "created": "2012-06-20T03:56:35.125518",
         | 
| 136 | 
            +
                    "credits": 0.0087890625, "description": "", "fields": {"000000": {"column_number":
         | 
| 137 | 
            +
                    0, "name": "sepal length", "optype": "numeric"}, "000001": {"column_number":
         | 
| 138 | 
            +
                    1, "name": "sepal width", "optype": "numeric"}, "000002": {"column_number":
         | 
| 139 | 
            +
                    2, "name": "petal length", "optype": "numeric"}, "000003": {"column_number":
         | 
| 140 | 
            +
                    3, "name": "petal width", "optype": "numeric"}, "000004": {"column_number":
         | 
| 141 | 
            +
                    4, "name": "species", "optype": "categorical"}}, "locale": "en_US", "name":
         | 
| 142 | 
            +
                    "iris'' dataset", "number_of_models": 0, "number_of_predictions": 0, "private":
         | 
| 143 | 
            +
                    true, "resource": "dataset/4fe149f31552687d480000f6", "rows": 0, "size": 4608,
         | 
| 144 | 
            +
                    "source": "source/4fe149f11552687d45000143", "source_status": true, "status":
         | 
| 145 | 
            +
                    {"code": 1, "message": "The dataset is being processed and will be created
         | 
| 146 | 
            +
                    soon"}, "tags": [], "updated": "2012-06-20T03:56:35.125536"}'
         | 
| 147 | 
            +
                http_version: '1.1'
         | 
| 148 | 
            +
              recorded_at: Wed, 20 Jun 2012 03:56:18 GMT
         | 
| 149 | 
            +
            recorded_with: VCR 2.2.2
         |