Check if label noise metrics exist

Check if label noise metrics exist

Determine if label noise metrics have been calculated. To calculate these metrics, use the calculateDataQualityMetrics endpoint.

GEThttps://studio.edgeimpulse.com/v1/api/{projectId}/raw-data/data-quality/label-noise/exists
Path parameters
projectId*integer

Project ID

Response

OK

Body
success*boolean

Whether the operation succeeded

errorstring

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

hasFeatures*boolean
inputBlockImpulseInputBlock (object)
Request
const response = await fetch('https://studio.edgeimpulse.com/v1/api/{projectId}/raw-data/data-quality/label-noise/exists', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "success": false,
  "error": "text",
  "hasFeatures": false,
  "inputBlock": {
    "type": "time-series",
    "name": "Time series",
    "title": "Time series",
    "windowSizeMs": 2004,
    "frequencyHz": 60,
    "padZeros": false,
    "imageWidth": 28,
    "imageHeight": 28,
    "resizeMode": "squash",
    "resizeMethod": "squash",
    "cropAnchor": "middle-center",
    "description": "Reduced learning rate and more layers",
    "createdBy": "createImpulse",
    "createdAt": "2024-10-27T16:21:58.305Z",
    "datasetSubset": {
      "subsetModulo": 0,
      "subsetSeed": 0
    }
  }
}

Last updated