db.predictors.insertOne()
method creates and trains a new model.
Expressions | Description |
---|---|
name | The name of the model to be created. |
predict | The name of the target column to be predicted. |
connection | The name of the integration created via the db.databases.insertOne() method or file upload. |
select_data_query | Object that stores the data collection name to be used for training and validation and additional arguments for filtering the data. |
db.predictors.insertOne()
method, execute the db.predictors.find()
method from the mindsdb.models
collection to check the status of the model.home_rentals_model
machine
learning model to predict the rental prices for real estate properties inside
the dataset.
mindsdb.models
table using the db.predictors.find()
command.