Get label noise data

Get label noise data

get

Obtain metrics that describe potential label noise issues in the dataset. To calculate these metrics, use the calculateDataQualityMetrics endpoint.

Authorizations
Path parameters
projectIdintegerrequired

Project ID

Responses
curl -L \
  --url 'https://studio.edgeimpulse.com/v1/api/{projectId}/raw-data/data-quality/label-noise' \
  --header 'x-api-key: YOUR_API_KEY'
{
  "success": true,
  "error": "text",
  "data": {
    "cosineSimilarity": {
      "similarButDifferentLabel": [
        {
          "id": 1,
          "sample": {
            "id": 2,
            "filename": "idle01.d8Ae",
            "signatureValidate": true,
            "signatureMethod": "HS256",
            "signatureKey": "text",
            "created": "2025-03-27T17:24:45.991Z",
            "lastModified": "2025-03-27T17:24:45.991Z",
            "category": "training",
            "coldstorageFilename": "text",
            "label": "healthy-machine",
            "intervalMs": 16,
            "frequency": 62.5,
            "originalIntervalMs": 16,
            "originalFrequency": 62.5,
            "deviceName": "text",
            "deviceType": "text",
            "sensors": [
              {
                "name": "accX",
                "units": "text"
              }
            ],
            "valuesCount": 1,
            "totalLengthMs": 1,
            "added": "2025-03-27T17:24:45.991Z",
            "boundingBoxes": [
              {
                "label": "text",
                "x": 1,
                "y": 1,
                "width": 1,
                "height": 1
              }
            ],
            "boundingBoxesType": "object_detection",
            "chartType": "chart",
            "thumbnailVideo": "text",
            "thumbnailVideoFull": "text",
            "isDisabled": true,
            "isProcessing": true,
            "processingJobId": 1,
            "processingError": true,
            "processingErrorString": "text",
            "isCropped": true,
            "metadata": {
              "ANY_ADDITIONAL_PROPERTY": "text"
            },
            "projectId": 1,
            "projectOwnerName": "text",
            "projectName": "text",
            "projectLabelingMethod": "single_label",
            "sha256Hash": "text",
            "structuredLabels": [
              {
                "startIndex": 1,
                "endIndex": 1,
                "label": "text"
              }
            ],
            "structuredLabelsList": [
              "text"
            ],
            "createdBySyntheticDataJobId": 1,
            "imageDimensions": {
              "width": 1,
              "height": 1
            }
          },
          "label": 1,
          "issues": [
            {
              "id": 1,
              "sample": {
                "id": 2,
                "filename": "idle01.d8Ae",
                "signatureValidate": true,
                "signatureMethod": "HS256",
                "signatureKey": "text",
                "created": "2025-03-27T17:24:45.991Z",
                "lastModified": "2025-03-27T17:24:45.991Z",
                "category": "training",
                "coldstorageFilename": "text",
                "label": "healthy-machine",
                "intervalMs": 16,
                "frequency": 62.5,
                "originalIntervalMs": 16,
                "originalFrequency": 62.5,
                "deviceName": "text",
                "deviceType": "text",
                "sensors": [
                  {
                    "name": "accX",
                    "units": "text"
                  }
                ],
                "valuesCount": 1,
                "totalLengthMs": 1,
                "added": "2025-03-27T17:24:45.991Z",
                "boundingBoxes": [
                  {
                    "label": "text",
                    "x": 1,
                    "y": 1,
                    "width": 1,
                    "height": 1
                  }
                ],
                "boundingBoxesType": "object_detection",
                "chartType": "chart",
                "thumbnailVideo": "text",
                "thumbnailVideoFull": "text",
                "isDisabled": true,
                "isProcessing": true,
                "processingJobId": 1,
                "processingError": true,
                "processingErrorString": "text",
                "isCropped": true,
                "metadata": {
                  "ANY_ADDITIONAL_PROPERTY": "text"
                },
                "projectId": 1,
                "projectOwnerName": "text",
                "projectName": "text",
                "projectLabelingMethod": "single_label",
                "sha256Hash": "text",
                "structuredLabels": [
                  {
                    "startIndex": 1,
                    "endIndex": 1,
                    "label": "text"
                  }
                ],
                "structuredLabelsList": [
                  "text"
                ],
                "createdBySyntheticDataJobId": 1,
                "imageDimensions": {
                  "width": 1,
                  "height": 1
                }
              },
              "label": 1,
              "windows": [
                {
                  "windowStart": 1,
                  "windowEnd": 1,
                  "score": 1
                }
              ]
            }
          ]
        }
      ],
      "differentButSameLabel": [
        {
          "id": 1,
          "sample": {
            "id": 2,
            "filename": "idle01.d8Ae",
            "signatureValidate": true,
            "signatureMethod": "HS256",
            "signatureKey": "text",
            "created": "2025-03-27T17:24:45.991Z",
            "lastModified": "2025-03-27T17:24:45.991Z",
            "category": "training",
            "coldstorageFilename": "text",
            "label": "healthy-machine",
            "intervalMs": 16,
            "frequency": 62.5,
            "originalIntervalMs": 16,
            "originalFrequency": 62.5,
            "deviceName": "text",
            "deviceType": "text",
            "sensors": [
              {
                "name": "accX",
                "units": "text"
              }
            ],
            "valuesCount": 1,
            "totalLengthMs": 1,
            "added": "2025-03-27T17:24:45.991Z",
            "boundingBoxes": [
              {
                "label": "text",
                "x": 1,
                "y": 1,
                "width": 1,
                "height": 1
              }
            ],
            "boundingBoxesType": "object_detection",
            "chartType": "chart",
            "thumbnailVideo": "text",
            "thumbnailVideoFull": "text",
            "isDisabled": true,
            "isProcessing": true,
            "processingJobId": 1,
            "processingError": true,
            "processingErrorString": "text",
            "isCropped": true,
            "metadata": {
              "ANY_ADDITIONAL_PROPERTY": "text"
            },
            "projectId": 1,
            "projectOwnerName": "text",
            "projectName": "text",
            "projectLabelingMethod": "single_label",
            "sha256Hash": "text",
            "structuredLabels": [
              {
                "startIndex": 1,
                "endIndex": 1,
                "label": "text"
              }
            ],
            "structuredLabelsList": [
              "text"
            ],
            "createdBySyntheticDataJobId": 1,
            "imageDimensions": {
              "width": 1,
              "height": 1
            }
          },
          "label": 1,
          "issues": [
            {
              "id": 1,
              "sample": {
                "id": 2,
                "filename": "idle01.d8Ae",
                "signatureValidate": true,
                "signatureMethod": "HS256",
                "signatureKey": "text",
                "created": "2025-03-27T17:24:45.991Z",
                "lastModified": "2025-03-27T17:24:45.991Z",
                "category": "training",
                "coldstorageFilename": "text",
                "label": "healthy-machine",
                "intervalMs": 16,
                "frequency": 62.5,
                "originalIntervalMs": 16,
                "originalFrequency": 62.5,
                "deviceName": "text",
                "deviceType": "text",
                "sensors": [
                  {
                    "name": "accX",
                    "units": "text"
                  }
                ],
                "valuesCount": 1,
                "totalLengthMs": 1,
                "added": "2025-03-27T17:24:45.991Z",
                "boundingBoxes": [
                  {
                    "label": "text",
                    "x": 1,
                    "y": 1,
                    "width": 1,
                    "height": 1
                  }
                ],
                "boundingBoxesType": "object_detection",
                "chartType": "chart",
                "thumbnailVideo": "text",
                "thumbnailVideoFull": "text",
                "isDisabled": true,
                "isProcessing": true,
                "processingJobId": 1,
                "processingError": true,
                "processingErrorString": "text",
                "isCropped": true,
                "metadata": {
                  "ANY_ADDITIONAL_PROPERTY": "text"
                },
                "projectId": 1,
                "projectOwnerName": "text",
                "projectName": "text",
                "projectLabelingMethod": "single_label",
                "sha256Hash": "text",
                "structuredLabels": [
                  {
                    "startIndex": 1,
                    "endIndex": 1,
                    "label": "text"
                  }
                ],
                "structuredLabelsList": [
                  "text"
                ],
                "createdBySyntheticDataJobId": 1,
                "imageDimensions": {
                  "width": 1,
                  "height": 1
                }
              },
              "label": 1,
              "windows": [
                {
                  "windowStart": 1,
                  "windowEnd": 1,
                  "score": 1
                }
              ]
            }
          ]
        }
      ]
    },
    "neighbors": {
      "scoresAndNeighbors": [
        {
          "id": 1,
          "sample": {
            "id": 2,
            "filename": "idle01.d8Ae",
            "signatureValidate": true,
            "signatureMethod": "HS256",
            "signatureKey": "text",
            "created": "2025-03-27T17:24:45.991Z",
            "lastModified": "2025-03-27T17:24:45.991Z",
            "category": "training",
            "coldstorageFilename": "text",
            "label": "healthy-machine",
            "intervalMs": 16,
            "frequency": 62.5,
            "originalIntervalMs": 16,
            "originalFrequency": 62.5,
            "deviceName": "text",
            "deviceType": "text",
            "sensors": [
              {
                "name": "accX",
                "units": "text"
              }
            ],
            "valuesCount": 1,
            "totalLengthMs": 1,
            "added": "2025-03-27T17:24:45.991Z",
            "boundingBoxes": [
              {
                "label": "text",
                "x": 1,
                "y": 1,
                "width": 1,
                "height": 1
              }
            ],
            "boundingBoxesType": "object_detection",
            "chartType": "chart",
            "thumbnailVideo": "text",
            "thumbnailVideoFull": "text",
            "isDisabled": true,
            "isProcessing": true,
            "processingJobId": 1,
            "processingError": true,
            "processingErrorString": "text",
            "isCropped": true,
            "metadata": {
              "ANY_ADDITIONAL_PROPERTY": "text"
            },
            "projectId": 1,
            "projectOwnerName": "text",
            "projectName": "text",
            "projectLabelingMethod": "single_label",
            "sha256Hash": "text",
            "structuredLabels": [
              {
                "startIndex": 1,
                "endIndex": 1,
                "label": "text"
              }
            ],
            "structuredLabelsList": [
              "text"
            ],
            "createdBySyntheticDataJobId": 1,
            "imageDimensions": {
              "width": 1,
              "height": 1
            }
          },
          "windowStart": 1,
          "windowEnd": 1,
          "score": 1,
          "neighborWindows": [
            {
              "id": 1,
              "sample": {
                "id": 2,
                "filename": "idle01.d8Ae",
                "signatureValidate": true,
                "signatureMethod": "HS256",
                "signatureKey": "text",
                "created": "2025-03-27T17:24:45.991Z",
                "lastModified": "2025-03-27T17:24:45.991Z",
                "category": "training",
                "coldstorageFilename": "text",
                "label": "healthy-machine",
                "intervalMs": 16,
                "frequency": 62.5,
                "originalIntervalMs": 16,
                "originalFrequency": 62.5,
                "deviceName": "text",
                "deviceType": "text",
                "sensors": [
                  {
                    "name": "accX",
                    "units": "text"
                  }
                ],
                "valuesCount": 1,
                "totalLengthMs": 1,
                "added": "2025-03-27T17:24:45.991Z",
                "boundingBoxes": [
                  {
                    "label": "text",
                    "x": 1,
                    "y": 1,
                    "width": 1,
                    "height": 1
                  }
                ],
                "boundingBoxesType": "object_detection",
                "chartType": "chart",
                "thumbnailVideo": "text",
                "thumbnailVideoFull": "text",
                "isDisabled": true,
                "isProcessing": true,
                "processingJobId": 1,
                "processingError": true,
                "processingErrorString": "text",
                "isCropped": true,
                "metadata": {
                  "ANY_ADDITIONAL_PROPERTY": "text"
                },
                "projectId": 1,
                "projectOwnerName": "text",
                "projectName": "text",
                "projectLabelingMethod": "single_label",
                "sha256Hash": "text",
                "structuredLabels": [
                  {
                    "startIndex": 1,
                    "endIndex": 1,
                    "label": "text"
                  }
                ],
                "structuredLabelsList": [
                  "text"
                ],
                "createdBySyntheticDataJobId": 1,
                "imageDimensions": {
                  "width": 1,
                  "height": 1
                }
              },
              "windowStart": 1,
              "windowEnd": 1
            }
          ]
        }
      ],
      "numNeighbors": 1
    },
    "crossValidation": {
      "scores": [
        {
          "id": 1,
          "sample": {
            "id": 2,
            "filename": "idle01.d8Ae",
            "signatureValidate": true,
            "signatureMethod": "HS256",
            "signatureKey": "text",
            "created": "2025-03-27T17:24:45.991Z",
            "lastModified": "2025-03-27T17:24:45.991Z",
            "category": "training",
            "coldstorageFilename": "text",
            "label": "healthy-machine",
            "intervalMs": 16,
            "frequency": 62.5,
            "originalIntervalMs": 16,
            "originalFrequency": 62.5,
            "deviceName": "text",
            "deviceType": "text",
            "sensors": [
              {
                "name": "accX",
                "units": "text"
              }
            ],
            "valuesCount": 1,
            "totalLengthMs": 1,
            "added": "2025-03-27T17:24:45.991Z",
            "boundingBoxes": [
              {
                "label": "text",
                "x": 1,
                "y": 1,
                "width": 1,
                "height": 1
              }
            ],
            "boundingBoxesType": "object_detection",
            "chartType": "chart",
            "thumbnailVideo": "text",
            "thumbnailVideoFull": "text",
            "isDisabled": true,
            "isProcessing": true,
            "processingJobId": 1,
            "processingError": true,
            "processingErrorString": "text",
            "isCropped": true,
            "metadata": {
              "ANY_ADDITIONAL_PROPERTY": "text"
            },
            "projectId": 1,
            "projectOwnerName": "text",
            "projectName": "text",
            "projectLabelingMethod": "single_label",
            "sha256Hash": "text",
            "structuredLabels": [
              {
                "startIndex": 1,
                "endIndex": 1,
                "label": "text"
              }
            ],
            "structuredLabelsList": [
              "text"
            ],
            "createdBySyntheticDataJobId": 1,
            "imageDimensions": {
              "width": 1,
              "height": 1
            }
          },
          "windowStart": 1,
          "windowEnd": 1,
          "label": 1,
          "probability": 1,
          "score": 1
        }
      ]
    }
  }
}

Last updated

Was this helpful?