Rebalance dataset

Rebalance dataset

post

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.

Authorizations
Path parameters
projectIdintegerRequired

Project ID

Responses
200
OK
application/json
Responseall of
post
POST /v1/api/{projectId}/rebalance HTTP/1.1
Host: studio.edgeimpulse.com
x-api-key: YOUR_API_KEY
Accept: */*
200

OK

{
  "success": true,
  "error": "text",
  "ratio": {
    "training": 1,
    "testing": 1
  }
}

Last updated

Was this helpful?