Trained features for sample

Trained features for sample

get

Get trained features for a single sample. This runs both the DSP prerequisites and the anomaly classifier.

Authorizations
Path parameters
projectIdintegerRequired

Project ID

learnIdintegerRequired

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

sampleIdintegerRequired

Sample ID

Responses
200
OK
application/json
Responseall of
get
GET /v1/api/{projectId}/training/anomaly/{learnId}/features/get-graph/classification/{sampleId} HTTP/1.1
Host: studio.edgeimpulse.com
x-api-key: YOUR_API_KEY
Accept: */*
200

OK

{
  "success": true,
  "error": "text",
  "totalSampleCount": 1,
  "data": [
    {
      "X": {
        "0": -2.17,
        "11": 1.21,
        "22": 0.79
      },
      "label": 1
    }
  ]
}

Last updated

Was this helpful?