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

support for serialization #4

Closed
vryy opened this issue Aug 8, 2022 · 5 comments
Closed

support for serialization #4

vryy opened this issue Aug 8, 2022 · 5 comments
Labels
enhancement New feature or request

Comments

@vryy
Copy link

vryy commented Aug 8, 2022

It is not an issue, but a feature request. Can we have support for serialization?

@kylebeggs
Copy link
Owner

Hi @vryy , what do you mean? To not use NumPy?

@kylebeggs kylebeggs added the enhancement New feature or request label Aug 8, 2022
@vryy
Copy link
Author

vryy commented Aug 8, 2022

No no, I mean to save and reuse the model without retraining.

@kylebeggs
Copy link
Owner

kylebeggs commented Aug 9, 2022

Added with latest release v1.3.0 and uploaded to PyPi, so you can update via pip with python -m pip install --upgrade pod_rbf. New functions:

>>> save_model("model_filename", model)
>>> loaded_model = load_model("model_filename")

@vryy
Copy link
Author

vryy commented Aug 10, 2022

work nicely. Thanks.

@kylebeggs
Copy link
Owner

You are welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants