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": [
{
"id": 0,
"sample": {
"id": 2,
"filename": "idle01.d8Ae",
"signatureValidate": true,
"signatureMethod": "HS256",
"signatureKey": "text",
"created": "2024-12-21T11:36:20.275Z",
"lastModified": "2024-12-21T11:36:20.275Z",
"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": 0,
"totalLengthMs": 0,
"added": "2024-12-21T11:36:20.275Z",
"boundingBoxes": [
{
"label": "text",
"x": 0,
"y": 0,
"width": 0,
"height": 0
}
],
"boundingBoxesType": "object_detection",
"chartType": "chart",
"thumbnailVideo": "text",
"thumbnailVideoFull": "text",
"isDisabled": false,
"isProcessing": false,
"processingJobId": 0,
"processingError": false,
"processingErrorString": "text",
"isCropped": false,
"projectId": 0,
"projectOwnerName": "text",
"projectName": "text",
"projectLabelingMethod": "single_label",
"sha256Hash": "text",
"structuredLabels": [
{
"startIndex": 0,
"endIndex": 0,
"label": "text"
}
],
"structuredLabelsList": [
"text"
],
"createdBySyntheticDataJobId": 0,
"imageDimensions": {
"width": 0,
"height": 0
}
},
"label": 0,
"issues": [
{
"id": 0,
"sample": {
"id": 2,
"filename": "idle01.d8Ae",
"signatureValidate": true,
"signatureMethod": "HS256",
"signatureKey": "text",
"created": "2024-12-21T11:36:20.275Z",
"lastModified": "2024-12-21T11:36:20.275Z",
"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": 0,
"totalLengthMs": 0,
"added": "2024-12-21T11:36:20.275Z",
"boundingBoxes": [
{
"label": "text",
"x": 0,
"y": 0,
"width": 0,
"height": 0
}
],
"boundingBoxesType": "object_detection",
"chartType": "chart",
"thumbnailVideo": "text",
"thumbnailVideoFull": "text",
"isDisabled": false,
"isProcessing": false,
"processingJobId": 0,
"processingError": false,
"processingErrorString": "text",
"isCropped": false,
"projectId": 0,
"projectOwnerName": "text",
"projectName": "text",
"projectLabelingMethod": "single_label",
"sha256Hash": "text",
"structuredLabels": [
{
"startIndex": 0,
"endIndex": 0,
"label": "text"
}
],
"structuredLabelsList": [
"text"
],
"createdBySyntheticDataJobId": 0,
"imageDimensions": {
"width": 0,
"height": 0
}
},
"label": 0,
"windows": [
{
"windowStart": 0,
"windowEnd": 0,
"score": 0
}
]
}
]
}
],
"differentButSameLabel": [
{
"id": 0,
"sample": {
"id": 2,
"filename": "idle01.d8Ae",
"signatureValidate": true,
"signatureMethod": "HS256",
"signatureKey": "text",
"created": "2024-12-21T11:36:20.275Z",
"lastModified": "2024-12-21T11:36:20.275Z",
"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": 0,
"totalLengthMs": 0,
"added": "2024-12-21T11:36:20.275Z",
"boundingBoxes": [
{
"label": "text",
"x": 0,
"y": 0,
"width": 0,
"height": 0
}
],
"boundingBoxesType": "object_detection",
"chartType": "chart",
"thumbnailVideo": "text",
"thumbnailVideoFull": "text",
"isDisabled": false,
"isProcessing": false,
"processingJobId": 0,
"processingError": false,
"processingErrorString": "text",
"isCropped": false,
"projectId": 0,
"projectOwnerName": "text",
"projectName": "text",
"projectLabelingMethod": "single_label",
"sha256Hash": "text",
"structuredLabels": [
{
"startIndex": 0,
"endIndex": 0,
"label": "text"
}
],
"structuredLabelsList": [
"text"
],
"createdBySyntheticDataJobId": 0,
"imageDimensions": {
"width": 0,
"height": 0
}
},
"label": 0,
"issues": [
{
"id": 0,
"sample": {
"id": 2,
"filename": "idle01.d8Ae",
"signatureValidate": true,
"signatureMethod": "HS256",
"signatureKey": "text",
"created": "2024-12-21T11:36:20.275Z",
"lastModified": "2024-12-21T11:36:20.275Z",
"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": 0,
"totalLengthMs": 0,
"added": "2024-12-21T11:36:20.275Z",
"boundingBoxes": [
{
"label": "text",
"x": 0,
"y": 0,
"width": 0,
"height": 0
}
],
"boundingBoxesType": "object_detection",
"chartType": "chart",
"thumbnailVideo": "text",
"thumbnailVideoFull": "text",
"isDisabled": false,
"isProcessing": false,
"processingJobId": 0,
"processingError": false,
"processingErrorString": "text",
"isCropped": false,
"projectId": 0,
"projectOwnerName": "text",
"projectName": "text",
"projectLabelingMethod": "single_label",
"sha256Hash": "text",
"structuredLabels": [
{
"startIndex": 0,
"endIndex": 0,
"label": "text"
}
],
"structuredLabelsList": [
"text"
],
"createdBySyntheticDataJobId": 0,
"imageDimensions": {
"width": 0,
"height": 0
}
},
"label": 0,
"windows": [
{
"windowStart": 0,
"windowEnd": 0,
"score": 0
}
]
}
]
}
]
},
"neighbors": {
"scoresAndNeighbors": [
{
"id": 0,
"sample": {
"id": 2,
"filename": "idle01.d8Ae",
"signatureValidate": true,
"signatureMethod": "HS256",
"signatureKey": "text",
"created": "2024-12-21T11:36:20.275Z",
"lastModified": "2024-12-21T11:36:20.275Z",
"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": 0,
"totalLengthMs": 0,
"added": "2024-12-21T11:36:20.275Z",
"boundingBoxes": [
{
"label": "text",
"x": 0,
"y": 0,
"width": 0,
"height": 0
}
],
"boundingBoxesType": "object_detection",
"chartType": "chart",
"thumbnailVideo": "text",
"thumbnailVideoFull": "text",
"isDisabled": false,
"isProcessing": false,
"processingJobId": 0,
"processingError": false,
"processingErrorString": "text",
"isCropped": false,
"projectId": 0,
"projectOwnerName": "text",
"projectName": "text",
"projectLabelingMethod": "single_label",
"sha256Hash": "text",
"structuredLabels": [
{
"startIndex": 0,
"endIndex": 0,
"label": "text"
}
],
"structuredLabelsList": [
"text"
],
"createdBySyntheticDataJobId": 0,
"imageDimensions": {
"width": 0,
"height": 0
}
},
"windowStart": 0,
"windowEnd": 0,
"score": 0,
"neighborWindows": [
{
"id": 0,
"sample": {
"id": 2,
"filename": "idle01.d8Ae",
"signatureValidate": true,
"signatureMethod": "HS256",
"signatureKey": "text",
"created": "2024-12-21T11:36:20.275Z",
"lastModified": "2024-12-21T11:36:20.275Z",
"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": 0,
"totalLengthMs": 0,
"added": "2024-12-21T11:36:20.275Z",
"boundingBoxes": [
{
"label": "text",
"x": 0,
"y": 0,
"width": 0,
"height": 0
}
],
"boundingBoxesType": "object_detection",
"chartType": "chart",
"thumbnailVideo": "text",
"thumbnailVideoFull": "text",
"isDisabled": false,
"isProcessing": false,
"processingJobId": 0,
"processingError": false,
"processingErrorString": "text",
"isCropped": false,
"projectId": 0,
"projectOwnerName": "text",
"projectName": "text",
"projectLabelingMethod": "single_label",
"sha256Hash": "text",
"structuredLabels": [
{
"startIndex": 0,
"endIndex": 0,
"label": "text"
}
],
"structuredLabelsList": [
"text"
],
"createdBySyntheticDataJobId": 0,
"imageDimensions": {
"width": 0,
"height": 0
}
},
"windowStart": 0,
"windowEnd": 0
}
]
}
],
"numNeighbors": 0
},
"crossValidation": {
"scores": [
{
"id": 0,
"sample": {
"id": 2,
"filename": "idle01.d8Ae",
"signatureValidate": true,
"signatureMethod": "HS256",
"signatureKey": "text",
"created": "2024-12-21T11:36:20.275Z",
"lastModified": "2024-12-21T11:36:20.275Z",
"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": 0,
"totalLengthMs": 0,
"added": "2024-12-21T11:36:20.275Z",
"boundingBoxes": [
{
"label": "text",
"x": 0,
"y": 0,
"width": 0,
"height": 0
}
],
"boundingBoxesType": "object_detection",
"chartType": "chart",
"thumbnailVideo": "text",
"thumbnailVideoFull": "text",
"isDisabled": false,
"isProcessing": false,
"processingJobId": 0,
"processingError": false,
"processingErrorString": "text",
"isCropped": false,
"projectId": 0,
"projectOwnerName": "text",
"projectName": "text",
"projectLabelingMethod": "single_label",
"sha256Hash": "text",
"structuredLabels": [
{
"startIndex": 0,
"endIndex": 0,
"label": "text"
}
],
"structuredLabelsList": [
"text"
],
"createdBySyntheticDataJobId": 0,
"imageDimensions": {
"width": 0,
"height": 0
}
},
"windowStart": 0,
"windowEnd": 0,
"label": 0,
"probability": 0,
"score": 0
}
]
}
}
}