Feature importance

Feature importance

Retrieve the feature importance for a DSP block (only available for blocks where dimensionalityReduction is not enabled)

GEThttps://studio.edgeimpulse.com/v1/api/{projectId}/dsp/{dspId}/features/importance
Path parameters
projectId*integer

Project ID

dspId*integer

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

Response

OK

Body
success*boolean

Whether the operation succeeded

errorstring

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

hasFeatureImportance*boolean
labels*object
Request
const response = await fetch('https://studio.edgeimpulse.com/v1/api/{projectId}/dsp/{dspId}/features/importance', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "success": false,
  "error": "text",
  "hasFeatureImportance": false
}

Last updated