Train a model
Train a new ML model on a dataset, or retrain an existing one.
To train a new model, pass name and omit ml_model_id. To retrain, pass ml_model_id and omit name; the model keeps its name and gains a new version. dataset_id and target_column are always required, and every column must exist in the dataset. Training runs in the background; check its progress with get_ml_model.
Requires an API key with the write scope.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
target_column
dataset_id
description
task_type
Allowed values:
quality_preset
Allowed values:
feature_columns
image_columns
problem_type
Allowed values:
ml_model_id
name
Response
OK
id
name
task_type
description
target_column
feature_columns
image_columns
problem_type
currently_active
status
version_number
dataset_id
quality_preset
error_message
training_started_at
training_completed_at
evaluation_metrics
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error
503
Service Unavailable Error