Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

force retrain of model if the model is older than a set time frame #15

Closed
mukeshmk opened this issue Jun 17, 2020 · 0 comments
Closed
Assignees
Labels
enhancement New feature or request

Comments

@mukeshmk
Copy link
Owner

complete #TODO in predict() function.

# TODO: force retrain of model if the model is older than a set time frame?

The ideal case is the model is trained once (possibly at the server start?) with the existing data and then retrained again and again after a certain time frame has passed by reloading data from the DB.

Since there is no plan for using background processes to trigger an event to automatically retrain the model, an alternate way of achieving this would by checking if a set time has passed before predict() function is called via the API calls and then retraining the model.

This could be a possible workaround to background process though not an ideal one.

@mukeshmk mukeshmk added the enhancement New feature or request label Jun 17, 2020
@mukeshmk mukeshmk self-assigned this Jul 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant