Manage classifications models
Update classifications model
Overwrites the training data associated with this custom classifications model and retrains the model. The new model replaces the current deployment.
put/v1/models/classifications/{model_id}
Request
- Base URLhttps://api.us-south.natural-language-understanding.watson.cloud.ibm.com
- AuthAPI key in header Authorization
Request body multipart/form-data
Example request
{
"user_metadata": {
"region": "North America",
"latest": true
}
}Response
Model overwrite successful
Example response
{
"user_metadata": {
"region": "North America",
"latest": true
},
"notices": [
{
"message": "Training data validation failed: Too few examples for label insufficient_examples. Minimum of 5 required"
},
{
"message": "Not enough examples for class 'foo'. 4 were given but 5 are required."
},
{
"message": "Duplicate label given in example 27: {'foo', 'bar', 'foo'}"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.