Links

Generate Features

Take the raw training set and generate features from them. Updates are streamed over the websocket API.
post
https://studio.edgeimpulse.com/v1
/api/{projectId}/jobs/generate-features
Generate features

Take the raw training set and generate features from them. Updates are streamed over the websocket API.

Parameters
Path
projectId*
integer
Project ID
Body
Example
Schema
{
"dspId": 0,
"calculateFeatureImportance": true,
"skipFeatureExplorer": true
}
Responses
200: OK
OK
cURL
Python
Node.js
curl --request POST \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/jobs/generate-features \
--header 'content-type: application/json' \
--header 'x-jwt-token: REPLACE_KEY_VALUE' \
--data '{"dspId":0,"calculateFeatureImportance":true,"skipFeatureExplorer":true}'
import http.client
conn = http.client.HTTPSConnection("studio.edgeimpulse.com")
payload = "{\"dspId\":0,\"calculateFeatureImportance\":true,\"skipFeatureExplorer\":true}"
headers = {
'content-type': "application/json",
'x-jwt-token': "REPLACE_KEY_VALUE"
}
conn.request("POST", "/v1/api/{projectId}/jobs/generate-features", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
const request = require('request');
const options = {
method: 'POST',
url: 'https://studio.edgeimpulse.com/v1/api/{projectId}/jobs/generate-features',
headers: {'content-type': 'application/json', 'x-jwt-token': 'REPLACE_KEY_VALUE'},
body: {dspId: 0, calculateFeatureImportance: true, skipFeatureExplorer: true},
json: true
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});