Rebalance dataset
Rebalances the dataset over training / testing categories. This resets the category for all data and splits it 80%/20% between training and testing. This is a deterministic process based on the hash of the name of the data. Returns immediately on small datasets, or starts a job on larger datasets. To get the dataset ratio (as returned by the v1 endpoint), use getDatasetRatio.
Authorizations
Path parameters
projectIdintegerRequired
Project ID
Responses
200
OK
application/json
Responseany of
or
all ofOptional
post
POST /v1/api/{projectId}/v2/rebalance HTTP/1.1
Host: studio.edgeimpulse.com
x-api-key: YOUR_API_KEY
Accept: */*
200
OK
{
"success": true,
"error": "text"
}
Last updated
Was this helpful?