curl --request GET \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/raw-data/data-quality/label-noise/exists \
--header 'x-api-key: <api-key>'{
"success": true,
"hasFeatures": true,
"error": "<string>",
"inputBlock": {
"id": 2,
"type": "time-series",
"name": "Time series",
"title": "Time series",
"windowSizeMs": 2004,
"windowIncreaseMs": 123,
"frequencyHz": 60,
"classificationWindowIncreaseMs": 123,
"padZeros": true,
"labelingMethodMultiLabel": {
"type": "end-of-window",
"labels": [
"<string>"
]
},
"imageWidth": 28,
"imageHeight": 28,
"resizeMode": "squash",
"resizeMethod": "squash",
"cropAnchor": "middle-center",
"createdBy": "createImpulse",
"createdAt": "2023-11-07T05:31:56Z",
"datasetSubset": {
"includePercentage": 123,
"seed": 123
}
}
}Determine if label noise metrics have been calculated. To calculate these metrics, use the calculateDataQualityMetrics endpoint.
curl --request GET \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/raw-data/data-quality/label-noise/exists \
--header 'x-api-key: <api-key>'{
"success": true,
"hasFeatures": true,
"error": "<string>",
"inputBlock": {
"id": 2,
"type": "time-series",
"name": "Time series",
"title": "Time series",
"windowSizeMs": 2004,
"windowIncreaseMs": 123,
"frequencyHz": 60,
"classificationWindowIncreaseMs": 123,
"padZeros": true,
"labelingMethodMultiLabel": {
"type": "end-of-window",
"labels": [
"<string>"
]
},
"imageWidth": 28,
"imageHeight": 28,
"resizeMode": "squash",
"resizeMethod": "squash",
"cropAnchor": "middle-center",
"createdBy": "createImpulse",
"createdAt": "2023-11-07T05:31:56Z",
"datasetSubset": {
"includePercentage": 123,
"seed": 123
}
}
}Project ID
OK
Whether the operation succeeded
Optional error description (set if 'success' was false)
Show child attributes
Identifier for this block. Make sure to up this number when creating a new block via getNewBlockId, and don't re-use identifiers. If the block hasn't changed, keep the ID as-is. ID must be unique across the project and greather than zero (>0).
x >= 1Block type (either time-series, image or features)
time-series, image, features "time-series"
Block name, will be used in menus
"Time series"
Block title, used in the impulse UI
"Time series"
Size of the sliding window in milliseconds
2004
We use a sliding window to go over the raw data. How many milliseconds to increase the sliding window with for each step.
(Input only) Frequency of the input data in Hz
60
We use a sliding window to go over the raw data. How many milliseconds to increase the sliding window with for each step in classification mode.
Whether to zero pad data when a data item is too short
How to pick the label for multi-label samples
Show child attributes
Width all images are resized to before training
28
Width all images are resized to before training
28
Input images are resized automatically before training and testing, to match the impulse input shape. This determines the resize mode used when the aspect ratio of the input data is different to the aspect ratio of the impulse.
squash, fit-short, fit-long, crop "squash"
Resize method to use when resizing images
lanczos3, nearest "squash"
If images are resized using a crop, choose where to anchor the crop
top-left, top-center, top-right, middle-left, middle-center, middle-right, bottom-left, bottom-center, bottom-right "middle-center"
The system component that created the block version (createImpulse | clone | tuner). Cannot be set via API.
"createImpulse"
The datetime that the block version was created. Cannot be set via API.
Only generate features for samples where (sample_id + datasetSubsetSeed) % datasetSubset) == 0
Was this page helpful?