Evaluate job result

Evaluate job result

Get evaluate job result, containing detailed performance statistics for every possible variant of the impulse.

GEThttps://studio.edgeimpulse.com/v1/api/{projectId}/deployment/evaluate
Path parameters
projectId*integer

Project ID

Response

OK

Body
success*boolean

Whether the operation succeeded

errorstring

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

result*array of ModelVariantStats (object)
Request
const response = await fetch('https://studio.edgeimpulse.com/v1/api/{projectId}/deployment/evaluate', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "success": false,
  "error": "text",
  "result": [
    {
      "modelType": "int8",
      "learnBlockType": "anomaly",
      "trainingLabels": [
        "text"
      ],
      "classificationLabels": [
        "text"
      ],
      "totalCorrectWindowCount": {
        "raw": 0,
        "withAnomaly": 0
      },
      "accuracy": {
        "raw": 0,
        "withAnomaly": 0
      }
    }
  ]
}

Last updated