curl --request GET \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/deployment/evaluate \
--header 'x-api-key: <api-key>'{
"success": true,
"result": [
{
"modelType": "int8",
"learnBlockId": 123,
"learnBlockType": "anomaly",
"confusionMatrix": {},
"trainingLabels": [
"<string>"
],
"classificationLabels": [
"<string>"
],
"accuracy": {
"raw": 123,
"withAnomaly": 123
},
"totalWindowCount": 123,
"totalCorrectWindowCount": {
"raw": 123,
"withAnomaly": 123
}
}
],
"error": "<string>"
}Get evaluate job result, containing detailed performance statistics for every possible variant of the impulse.
curl --request GET \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/deployment/evaluate \
--header 'x-api-key: <api-key>'{
"success": true,
"result": [
{
"modelType": "int8",
"learnBlockId": 123,
"learnBlockType": "anomaly",
"confusionMatrix": {},
"trainingLabels": [
"<string>"
],
"classificationLabels": [
"<string>"
],
"accuracy": {
"raw": 123,
"withAnomaly": 123
},
"totalWindowCount": 123,
"totalCorrectWindowCount": {
"raw": 123,
"withAnomaly": 123
}
}
],
"error": "<string>"
}Project ID
Impulse ID. If this is unset then the default impulse is used.
OK
Whether the operation succeeded
Show child attributes
The type of model
int8, float32, akida, requiresRetrain The learning block this model variant is from
The type of learning block (anomaly, keras, keras-transfer-image, keras-transfer-kws, keras-object-detection, keras-regression). Each behaves differently.
anomaly, anomaly-gmm, keras, keras-transfer-image, keras-transfer-kws, keras-object-detection, keras-regression, keras-akida, keras-akida-transfer-image, keras-akida-object-detection, keras-visual-anomaly A map from actual labels to predicted labels, where actual labels are listed in trainingLabels and possible predicted labels are listed in classificationLabels.
Show child attributes
The labels present in the model's training data. These are all present in the first dimension of the confusion matrix.
The possible labels resulting from classification. These may be present in the second dimension of the confusion matrix.
The total number of windows that were evaluated
Optional error description (set if 'success' was false)
Was this page helpful?