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

Fix save/load for models that haven't been fit #577

Merged
merged 3 commits into from
Jun 3, 2022
Merged

Fix save/load for models that haven't been fit #577

merged 3 commits into from
Jun 3, 2022

Conversation

benfred
Copy link
Owner

@benfred benfred commented Jun 2, 2022

We were seeing errors calling the .save and .load methods
on models that hadn't been fit yet. The problem was that the
factors were None values - and couldn't be loaded back in without
using pickle (which we disable). Fix and add a unittest

We were seeing errors calling the .save and .load methods
on models that hadn't been fit yet. The problem was that the
factors were None values - and couldn't be loaded back in without
using pickle (which we disable). Fix and add a unittest
@benfred benfred merged commit 105b8f0 into main Jun 3, 2022
@benfred benfred deleted the save_no_fit branch June 3, 2022 00:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Loading model of type AlternatingLeastSquares fails
1 participant