Manage classifications models
Create classifications model
Creates a custom classifications model by uploading training data and associated metadata. The model begins the training and deploying process and is ready to use when the status is available.
post/v1/models/classifications
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 created successfully
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.