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

How to retrain / continue training a model #17

Closed
phuibonhoa opened this issue Jan 18, 2020 · 2 comments
Closed

How to retrain / continue training a model #17

phuibonhoa opened this issue Jan 18, 2020 · 2 comments

Comments

@phuibonhoa
Copy link

It seems like you can create a new model with a data set and save it and load it up, but how do I keep retraining the model?

I'm expecting the flow to be:

  1. Model.new(starter_data)
  2. model.save (to the database or file)

.... later

  1. Model.load(from db or file)
  2. model.train(new_data)

I'm not sure how to do that though.  Train seems to be a private method on model, so I'm not sure how to get more data to an existing model without needing to just load it all up from the new method all over again, but with a large dataset that's difficult.

@ankane
Copy link
Owner

ankane commented Jan 19, 2020

Hey @phuibonhoa, check out #10.

@phuibonhoa
Copy link
Author

Ahh @ankane that's exactly what I was looking for. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants