-
Notifications
You must be signed in to change notification settings - Fork 691
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 save Dataset()? #698
Comments
Did you try saving the dataset as pickle? I think it should work:
And when you want to load dataset:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a trained model saved as a pickle file. My model has both user and item features.
When I load the model, I can make predictions for seen users by calling
pickled_model.predict(user_ids = [0], item_ids =[0])
But, I want to adjust it to a cold start problem, making predictions for new users. In this case, it requires to have
dataset.fit_partial()
, where thedataset
should be fitted in the old dataset. It there a way to save and retrieve the dataset? Or we need to refit it every time before callingfit_partial()
The text was updated successfully, but these errors were encountered: