Create, Train, and Deploy a Model
Starts training a new Machine Learning model.
The REST API endpoints can be used with MindsDB running locally at http://127.0.0.1:47334/api.
Path Parameters
The name of the project
Body
The SQL CREATE MODEL statement used to train this model. See the CREATE MODEL statement
Response
Accuracy of trained model between 0 and 1
Whether or not this model is currently the active version
Version of this model
Current status of this model (generating | creating | complete | error)
Column name that this model predicts
MindsDB version associated with this model
Error encountered during training, if applicable
SQL query used to fetch training data for this model
Time model was created at in YYYY-MM-DD HH:MM:SS format (trained models only)
How long training this model took in HH:MM:SS format (trained models only)
Set to "available" when a new version of MindsDB is available that makes the model obsolete, or when new data is available in the data that was used to train the model (trained models only).
Was this page helpful?