-
Notifications
You must be signed in to change notification settings - Fork 54
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
Forward compatibility of sklearn models saved with skops.io #270
Comments
The format doesn't fix the forward compatibility issue. scikit-learn internals change quite often, and there's nothing we can do about that, and when they change, setting the attributes from the old model won't work for new models. But we should add this to our documentation. |
@adrinjalali thanks for the clarification! |
If more questions around this topic come up, feel free to re-open the issue. |
I think we can keep this issue open till we add it to our docs @BenjaminBossan |
Resolves skops-dev#270 Add a section to the persistence docs that cautions about using skops to load sklearn models saved with one version while using another version. Refers to sklearn docs on that issue.
* [skip ci] Document compatibility across versions Resolves #270 Add a section to the persistence docs that cautions about using skops to load sklearn models saved with one version while using another version. Refers to sklearn docs on that issue. * Update docs/persistence.rst Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com> * Update docs/persistence.rst Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com> * wrap lines --------- Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
Are sklearn models saved with skops.io forward compatible? For example, if I have a model trained and saved with sklearn 1.0, would it still work in sklearn 1.1?
The text was updated successfully, but these errors were encountered: