Get label noise data
Last updated
Last updated
Obtain metrics that describe potential label noise issues in the dataset. To calculate these metrics, use the calculateDataQualityMetrics
endpoint.
Project ID
OK
Whether the operation succeeded
Optional error description (set if 'success' was false)
const response = await fetch('https://studio.edgeimpulse.com/v1/api/{projectId}/raw-data/data-quality/label-noise', {
method: 'GET',
headers: {},
});
const data = await response.json();
{
"success": false,
"error": "text",
"data": {
"cosineSimilarity": {
"similarButDifferentLabel": [
{
"sample": {
"id": 2,
"filename": "idle01.d8Ae",
"signatureValidate": true,
"signatureMethod": "HS256",
"signatureKey": "text",
"created": "2024-11-21T08:49:08.973Z",
"lastModified": "2024-11-21T08:49:08.973Z",
"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"
}
],
"totalLengthMs": 0,
"added": "2024-11-21T08:49:08.973Z",
"boundingBoxes": [
{
"label": "text"
}
],
"boundingBoxesType": "object_detection",
"chartType": "chart",
"thumbnailVideo": "text",
"thumbnailVideoFull": "text",
"isDisabled": false,
"isProcessing": false,
"processingError": false,
"processingErrorString": "text",
"isCropped": false,
"projectOwnerName": "text",
"projectName": "text",
"projectLabelingMethod": "single_label",
"sha256Hash": "text",
"structuredLabels": [
{
"label": "text"
}
],
"structuredLabelsList": [
"text"
],
"imageDimensions": {}
},
"issues": [
{
"sample": {
"id": 2,
"filename": "idle01.d8Ae",
"signatureValidate": true,
"signatureMethod": "HS256",
"signatureKey": "text",
"created": "2024-11-21T08:49:08.973Z",
"lastModified": "2024-11-21T08:49:08.973Z",
"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"
}
],
"totalLengthMs": 0,
"added": "2024-11-21T08:49:08.973Z",
"boundingBoxes": [
{
"label": "text"
}
],
"boundingBoxesType": "object_detection",
"chartType": "chart",
"thumbnailVideo": "text",
"thumbnailVideoFull": "text",
"isDisabled": false,
"isProcessing": false,
"processingError": false,
"processingErrorString": "text",
"isCropped": false,
"projectOwnerName": "text",
"projectName": "text",
"projectLabelingMethod": "single_label",
"sha256Hash": "text",
"structuredLabels": [
{
"label": "text"
}
],
"structuredLabelsList": [
"text"
],
"imageDimensions": {}
},
"windows": [
{
"score": 0
}
]
}
]
}
],
"differentButSameLabel": [
{
"sample": {
"id": 2,
"filename": "idle01.d8Ae",
"signatureValidate": true,
"signatureMethod": "HS256",
"signatureKey": "text",
"created": "2024-11-21T08:49:08.973Z",
"lastModified": "2024-11-21T08:49:08.973Z",
"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"
}
],
"totalLengthMs": 0,
"added": "2024-11-21T08:49:08.973Z",
"boundingBoxes": [
{
"label": "text"
}
],
"boundingBoxesType": "object_detection",
"chartType": "chart",
"thumbnailVideo": "text",
"thumbnailVideoFull": "text",
"isDisabled": false,
"isProcessing": false,
"processingError": false,
"processingErrorString": "text",
"isCropped": false,
"projectOwnerName": "text",
"projectName": "text",
"projectLabelingMethod": "single_label",
"sha256Hash": "text",
"structuredLabels": [
{
"label": "text"
}
],
"structuredLabelsList": [
"text"
],
"imageDimensions": {}
},
"issues": [
{
"sample": {
"id": 2,
"filename": "idle01.d8Ae",
"signatureValidate": true,
"signatureMethod": "HS256",
"signatureKey": "text",
"created": "2024-11-21T08:49:08.973Z",
"lastModified": "2024-11-21T08:49:08.973Z",
"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"
}
],
"totalLengthMs": 0,
"added": "2024-11-21T08:49:08.973Z",
"boundingBoxes": [
{
"label": "text"
}
],
"boundingBoxesType": "object_detection",
"chartType": "chart",
"thumbnailVideo": "text",
"thumbnailVideoFull": "text",
"isDisabled": false,
"isProcessing": false,
"processingError": false,
"processingErrorString": "text",
"isCropped": false,
"projectOwnerName": "text",
"projectName": "text",
"projectLabelingMethod": "single_label",
"sha256Hash": "text",
"structuredLabels": [
{
"label": "text"
}
],
"structuredLabelsList": [
"text"
],
"imageDimensions": {}
},
"windows": [
{
"score": 0
}
]
}
]
}
]
},
"neighbors": {
"scoresAndNeighbors": [
{
"sample": {
"id": 2,
"filename": "idle01.d8Ae",
"signatureValidate": true,
"signatureMethod": "HS256",
"signatureKey": "text",
"created": "2024-11-21T08:49:08.973Z",
"lastModified": "2024-11-21T08:49:08.973Z",
"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"
}
],
"totalLengthMs": 0,
"added": "2024-11-21T08:49:08.973Z",
"boundingBoxes": [
{
"label": "text"
}
],
"boundingBoxesType": "object_detection",
"chartType": "chart",
"thumbnailVideo": "text",
"thumbnailVideoFull": "text",
"isDisabled": false,
"isProcessing": false,
"processingError": false,
"processingErrorString": "text",
"isCropped": false,
"projectOwnerName": "text",
"projectName": "text",
"projectLabelingMethod": "single_label",
"sha256Hash": "text",
"structuredLabels": [
{
"label": "text"
}
],
"structuredLabelsList": [
"text"
],
"imageDimensions": {}
},
"score": 0,
"neighborWindows": [
{
"sample": {
"id": 2,
"filename": "idle01.d8Ae",
"signatureValidate": true,
"signatureMethod": "HS256",
"signatureKey": "text",
"created": "2024-11-21T08:49:08.973Z",
"lastModified": "2024-11-21T08:49:08.973Z",
"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"
}
],
"totalLengthMs": 0,
"added": "2024-11-21T08:49:08.973Z",
"boundingBoxes": [
{
"label": "text"
}
],
"boundingBoxesType": "object_detection",
"chartType": "chart",
"thumbnailVideo": "text",
"thumbnailVideoFull": "text",
"isDisabled": false,
"isProcessing": false,
"processingError": false,
"processingErrorString": "text",
"isCropped": false,
"projectOwnerName": "text",
"projectName": "text",
"projectLabelingMethod": "single_label",
"sha256Hash": "text",
"structuredLabels": [
{
"label": "text"
}
],
"structuredLabelsList": [
"text"
],
"imageDimensions": {}
}
}
]
}
]
},
"crossValidation": {
"scores": [
{
"sample": {
"id": 2,
"filename": "idle01.d8Ae",
"signatureValidate": true,
"signatureMethod": "HS256",
"signatureKey": "text",
"created": "2024-11-21T08:49:08.973Z",
"lastModified": "2024-11-21T08:49:08.973Z",
"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"
}
],
"totalLengthMs": 0,
"added": "2024-11-21T08:49:08.973Z",
"boundingBoxes": [
{
"label": "text"
}
],
"boundingBoxesType": "object_detection",
"chartType": "chart",
"thumbnailVideo": "text",
"thumbnailVideoFull": "text",
"isDisabled": false,
"isProcessing": false,
"processingError": false,
"processingErrorString": "text",
"isCropped": false,
"projectOwnerName": "text",
"projectName": "text",
"projectLabelingMethod": "single_label",
"sha256Hash": "text",
"structuredLabels": [
{
"label": "text"
}
],
"structuredLabelsList": [
"text"
],
"imageDimensions": {}
},
"probability": 0,
"score": 0
}
]
}
}
}