Skip to content

Instantly share code, notes, and snippets.

View rory-petersen's full-sized avatar

rory-petersen

View GitHub Profile
# curl
curl "https://bigml.io/andromeda/deepnet/abcdef123456abcdef123456?$BIGML_AUTH"
# curl
curl "https://bigml.io/andromeda/deepnet?$BIGML_AUTH" \
-X POST \
-H 'content-type: application/json' \
-d '{"dataset": "dataset/abcdef123456abcdef123456"}'
# curl
curl https://bigml.io/andromeda/logisticregression?$BIGML_AUTH
# curl
curl -X DELETE "https://bigml.io/andromeda/logisticregression/abcdef123456abcdef123456?$BIGML_AUTH"
# curl
curl "https://bigml.io/andromeda/logisticregression/abcdef123456abcdef123456?$BIGML_AUTH" \
-X PUT \
-d '{"name": "a new logistic regression name"}' \
-H 'content-type: application/json'
# curl
curl "https://bigml.io/andromeda/logisticregression/55efc3564e1727d635000004?$BIGML_AUTH"
# curl
curl "https://bigml.io/andromeda/logisticregression?$BIGML_AUTH" \
-X POST \
-H 'content-type: application/json' \
-d '{"dataset": "dataset/abcdef123456abcdef123456"}'
# curl
curl https://bigml.io/andromeda/linearregression?$BIGML_AUTH
# curl
curl -X DELETE "https://bigml.io/andromeda/linearregression/5a30f4504e172700c2000780?$BIGML_AUTH"
# curl
curl "https://bigml.io/andromeda/linearregression/5a30f4504e172700c2000780?$BIGML_AUTH" \
-X PUT \
-d '{"name": "a new linear regression name"}' \
-H 'content-type: application/json'