If you have dynamic data that gets updated regularly, you can set up an automated fine-tuning as below.Note that the data source must contain an incremental column, such as timestamp or integer, so MindsDB can pick up only the recently added data with the help of the LAST keyword.Here is how to create and schedule a job to fine-tune the model periodically.
Copy
Ask AI
CREATE JOB automated_finetuning ( FINETUNE adjust_home_rentals_model FROM mindsdb (SELECT * FROM example_db.home_rentals WHERE timestamp > LAST))EVERY 1 dayIF ( SELECT * FROM example_db.home_rentals WHERE timestamp > LAST);
Now your model will be fine-tuned with newly added data every day or every time there is new data available.