Sample of trained features

Sample of trained features

get

Get a sample of trained features, this extracts a number of samples and their labels. Used to visualize the current training set.

Authorizations
Path parameters
projectIdintegerrequired

Project ID

dspIdintegerrequired

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

categorystring · enumrequired

Which of the three acquisition categories to download data from

Options: training, testing, anomaly
Query parameters
featureAx1integerrequired

Feature axis 1

featureAx2integerrequired

Feature axis 2

featureAx3integerrequired

Feature axis 3

Responses
curl -L \
  --url 'https://studio.edgeimpulse.com/v1/api/{projectId}/dsp/{dspId}/features/get-graph/{category}?featureAx1=1&featureAx2=1&featureAx3=1' \
  --header 'x-api-key: YOUR_API_KEY'
{
  "success": true,
  "error": "text",
  "totalSampleCount": 1,
  "data": [
    {
      "X": "`{ 0: 9.81, 11: 0.32, 22: 0.79 }`",
      "y": 1,
      "yLabel": "text",
      "sample": {
        "id": 1,
        "name": "text",
        "startMs": 1,
        "endMs": 1
      }
    }
  ],
  "skipFirstFeatures": 1
}

Last updated

Was this helpful?