Links

Sample Of Trained Features

Get a sample of trained features, this extracts a number of samples and their labels. Used to visualize the current training set.
get
https://studio.edgeimpulse.com/v1
/api/{projectId}/dsp/{dspId}/features/get-graph/{category}
Sample of trained features

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

Parameters
Path
projectId*
integer
Project ID
dspId*
integer
DSP Block ID, use the impulse functions to retrieve the ID
category*
string
Which of the three acquisition categories to download data from
Query
featureAx1*
integer
Feature axis 1
featureAx2*
integer
Feature axis 2
featureAx3*
integer
Feature axis 3
Responses
200: OK
OK
cURL
Python
Node.js
curl --request GET \
--url 'https://studio.edgeimpulse.com/v1/api/{projectId}/dsp/{dspId}/features/get-graph/{category}?featureAx1=SOME_INTEGER_VALUE&featureAx2=SOME_INTEGER_VALUE&featureAx3=SOME_INTEGER_VALUE' \
--header 'x-jwt-token: REPLACE_KEY_VALUE'
import http.client
conn = http.client.HTTPSConnection("studio.edgeimpulse.com")
headers = { 'x-jwt-token': "REPLACE_KEY_VALUE" }
conn.request("GET", "/v1/api/{projectId}/dsp/{dspId}/features/get-graph/{category}?featureAx1=SOME_INTEGER_VALUE&featureAx2=SOME_INTEGER_VALUE&featureAx3=SOME_INTEGER_VALUE", headers=headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
const request = require('request');
const options = {
method: 'GET',
url: 'https://studio.edgeimpulse.com/v1/api/{projectId}/dsp/{dspId}/features/get-graph/{category}',
qs: {
featureAx1: 'SOME_INTEGER_VALUE',
featureAx2: 'SOME_INTEGER_VALUE',
featureAx3: 'SOME_INTEGER_VALUE'
},
headers: {'x-jwt-token': 'REPLACE_KEY_VALUE'}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});