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

Saving Lmer model #119

Closed
DaviYokogawa opened this issue Jan 19, 2023 · 2 comments
Closed

Saving Lmer model #119

DaviYokogawa opened this issue Jan 19, 2023 · 2 comments

Comments

@DaviYokogawa
Copy link

I need to save the model created with Lmer in pickle because I need to use this model in MLflow, anyone knows how I can do that, or can I keep this model in mlflow been in h5 format?

@ejolly
Copy link
Owner

ejolly commented Feb 3, 2023

Currently there's only support for saving models to .hdf5 and .rData files. Feel free to see how that's implemented here if it's helpful to propose some additions: https://github.com/ejolly/pymer4/blob/master/pymer4/io.py#L16

@ejolly
Copy link
Owner

ejolly commented Sep 8, 2023

Hi @DaviYokogawa the newly release version 0.8.1 now used joblib to save and load models instead of hdf5 which may help your use case. I've had to switch over because the library we were using to save models before deepdish is no longer maintained.

@ejolly ejolly closed this as completed Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

2 participants