The finetune()
function fine-tunes a model with specified data.
Syntax
Use the finetune()
method to finetune a model with specific data:
Project mindsdb = server.getProject("mindsdb");
Model homeRentalsModel = mindsdb.getModel("home_rentals_model");
homeRentalsModel.finetune("SELECT * FROM home_rentals limit 10;", "example_db", null, null);