-
Notifications
You must be signed in to change notification settings - Fork 75
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
Saving and loading Partition object #409
Comments
My work around for this is to use the pickle module, and to only try to save the assignment dictionary from each Partition object, rather than the entire Partition object. Then, to use it later, I load in the pickle file with the assignments, and create Partitions using the assignments. |
Ah, there is a bit of nuance that is worth mentioning here. So, in general, using the pickle module is a good approach for saving intermediate |
Thank you! |
I have been going through the documentation and previous issues. I was looking for a way to save Partition objects generated from the Markov chain once, save it as a Json file and then load the same Json as a Partition object in other code so I can recompute everything using the same data
Would really appreciate any help on this.
The text was updated successfully, but these errors were encountered: