Train model (Anomaly)
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.
POSThttps://studio.edgeimpulse.com/v1/api/{projectId}/jobs/train/anomaly/{learnId}
Path parameters
projectId*integer
Project ID
learnId*integer
Learn Block ID, use the impulse functions to retrieve the ID
Body
axes*array of integer
Which axes (indexes from DSP script) to include in the training set
clusterCountinteger
Number of clusters for K-means, or number of components for GMM
32
minimumConfidenceRating*number
Minimum confidence rating required before tagging as anomaly
0.3
skipEmbeddingsAndMemoryboolean
If set, skips creating embeddings and measuring memory (used in tests)
Response
OK
Body
success*boolean
Whether the operation succeeded
errorstring
Optional error description (set if 'success' was false)
id*integer
Job identifier. Status updates will include this identifier.
12873488112
Request
Response
Last updated