Anomaly GMM metadata

Anomaly GMM metadata

Get raw model metadata of the Gaussian mixture model (GMM) for a trained anomaly block. Use the impulse blocks to find the learnId.

GEThttps://studio.edgeimpulse.com/v1/api/{projectId}/training/anomaly/{learnId}/gmm/metadata
Path parameters
projectId*integer

Project ID

learnId*integer

Learn Block ID, use the impulse functions to retrieve the ID

Response

OK

Body
success*boolean

Whether the operation succeeded

errorstring

Optional error description (set if 'success' was false)

means*array of array of number

2D array of shape (n, m)

covariances*array of array of array of number

3D array of shape (n, m, m)

weights*array of number

1D array of shape (n,)

Request
const response = await fetch('https://studio.edgeimpulse.com/v1/api/{projectId}/training/anomaly/{learnId}/gmm/metadata', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "success": false,
  "error": "text",
  "means": [
    [
      0
    ]
  ],
  "covariances": [
    [
      [
        0
      ]
    ]
  ],
  "weights": [
    0
  ]
}

Last updated