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

Save the model for interplotation elsewhere #30

Open
homerliu1 opened this issue Oct 2, 2024 · 2 comments
Open

Save the model for interplotation elsewhere #30

homerliu1 opened this issue Oct 2, 2024 · 2 comments

Comments

@homerliu1
Copy link

Hello experts,
I built a 5 dimentional model with 10000 data points:
mba::MBA<5> interp(lo, hi, grid, coo, val);
It takes about 30 minites.
Is it possible to save the model for furture, interpolation only?
For example, alglib has a nice function
rbfserialize
for the similar purpose.

Thanks!

@ddemidov
Copy link
Owner

ddemidov commented Oct 3, 2024

Serialization is not currently implemened, but should be easy to add. I'll have a look when I have some time. A PR would also be welcome.

ddemidov added a commit that referenced this issue Oct 5, 2024
@ddemidov
Copy link
Owner

ddemidov commented Oct 5, 2024

please check e901883 and the example.cpp.

ddemidov added a commit that referenced this issue Oct 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants