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.
Authorizations
Path parameters
projectIdintegerrequired
Project ID
learnIdintegerrequired
Learn Block ID, use the impulse functions to retrieve the ID
Body
axesinteger[]required
Which axes (indexes from DSP script) to include in the training set
Example:
[0,11,22]
clusterCountintegeroptional
Number of clusters for K-means, or number of components for GMM
Example:
32
minimumConfidenceRatingnumberrequired
Minimum confidence rating required before tagging as anomaly
Example:
0.3
skipEmbeddingsAndMemorybooleanoptional
If set, skips creating embeddings and measuring memory (used in tests)
Responses
application/json
cURL
JavaScript
Python
HTTP
200
Last updated
Was this helpful?