Jobs
Train model (Anomaly)
Take the output from a DSP block and train an anomaly detection model using K-means or GMM. Updates are streamed over the websocket API.
post/api/{projectId}/jobs/train/anomaly/{learnId}
Request
- Base URLhttps://studio.edgeimpulse.com/v1
- Auth
- API key in header x-api-key
- or API key in cookie jwt
- or API key in header x-jwt-token
- or OAuth 2Authorization code/v1/oauth/authorizeClient credentialsImplicit/v1/oauth/authorizePasswordToken URL/v1/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
projectIdinteger required
Project ID
learnIdinteger required
Learn Block ID, use the impulse functions to retrieve the ID
Request body
Example request
{
"axes": [
0,
11,
22
],
"clusterCount": 32,
"minimumConfidenceRating": 0.3,
"thresholds": [
{
"key": "min_score",
"description": "Score threshold",
"helpText": "Threshold score for bounding boxes. If the score for a bounding box is below this the box will be discarded."
}
]
}Response
OK
Example response
{
"id": 12873488112
}Changes
No recorded changes to this operation across all 1 revision of this API.