[Tutorial] using big ml's simple api for classification, clustering and anomaly detection - Poul...
-
Upload
papisio -
Category
Data & Analytics
-
view
1.040 -
download
3
Transcript of [Tutorial] using big ml's simple api for classification, clustering and anomaly detection - Poul...
![Page 1: [Tutorial] using big ml's simple api for classification, clustering and anomaly detection - Poul Petersen](https://reader037.fdocuments.in/reader037/viewer/2022100203/58f026e51a28abc5268b45b7/html5/thumbnails/1.jpg)
BigML Inc
API
![Page 2: [Tutorial] using big ml's simple api for classification, clustering and anomaly detection - Poul Petersen](https://reader037.fdocuments.in/reader037/viewer/2022100203/58f026e51a28abc5268b45b7/html5/thumbnails/2.jpg)
BigML Inc 2
https://au.bigml.io/ / /{id}?{auth}
sourcedatasetmodel
ensembleprediction
batchpredictionevaluationanomalycluster
andromeda
dev
dev/andromeda
• Path elements:
• /andromeda specifies the API version (optional)
• /dev specifies development mode
• if not specified, then latest API in production mode
• {id} is required for PUT and DELETE
• {auth} contains url parameters username and api_key
• api_key can be an alternative key
![Page 3: [Tutorial] using big ml's simple api for classification, clustering and anomaly detection - Poul Petersen](https://reader037.fdocuments.in/reader037/viewer/2022100203/58f026e51a28abc5268b45b7/html5/thumbnails/3.jpg)
BigML Inc 3
https://au.bigml.io/… {JSON} {JSON}
Operation HTTP Method Semantics
CREATE POSTCreates a new resource. Returns a JSON document including a unique identifier.
RETRIEVE GETRetrieves either a specific resource or a list of resources.
UPDATE PUT Updates a resource. Only certain fields are putable.
DELETE DELETE Deletes a resource
![Page 4: [Tutorial] using big ml's simple api for classification, clustering and anomaly detection - Poul Petersen](https://reader037.fdocuments.in/reader037/viewer/2022100203/58f026e51a28abc5268b45b7/html5/thumbnails/4.jpg)
BigML Inc 4
Operation HTTP Method Binding Method
CREATE POST api.create_<resource>(from, {opts})
RETRIEVE GETapi.get_<resource>(id, {opts})
api.list_<resource>({opts})
UPDATE PUT api.update_<resource>(id, {opts})
DELETE DELETE api.delete_<resource>(id)
Binding Overview
• Where <resource> is one of: source, dataset, model, ensemble, evaluation, etc
• id is a resource identifier or resource dict
• from is a resource identifier, dict, or string depending on context
![Page 5: [Tutorial] using big ml's simple api for classification, clustering and anomaly detection - Poul Petersen](https://reader037.fdocuments.in/reader037/viewer/2022100203/58f026e51a28abc5268b45b7/html5/thumbnails/5.jpg)
BigML Inc 5
BigML API Docs
https://bigml.com/developers
![Page 6: [Tutorial] using big ml's simple api for classification, clustering and anomaly detection - Poul Petersen](https://reader037.fdocuments.in/reader037/viewer/2022100203/58f026e51a28abc5268b45b7/html5/thumbnails/6.jpg)
BigML Inc 6
BigML Python Docs
https://bigml.readthedocs.org/en/latest/