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

Is there a way to calling fit() multiple times on the same model and stay the previous fitted stuff like the partial_fit() in some sklearn classifiers. #2718

Closed
BovenPeng opened this issue Jan 31, 2020 · 1 comment

Comments

@BovenPeng
Copy link

Summary

Is there a way to calling fit() multiple times on the same model and stay the previous fitted stuff like the partial_fit() in some sklearn classifiers.

Motivation

For some reason, I want to fit some new training data on the old model but keep the old stuff that I have trained before.
So I am wondering if there is a way to implement it?
I have checked the documentation before and not found what I want.

References

Stackoverflow: What does calling fit() multiple times on the same model do?

@BovenPeng
Copy link
Author

I find the init_model parameter can be used for the aim I want.

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

No branches or pull requests

1 participant