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

How to save and load the regressor or model? #47

Open
sunnyshi0310 opened this issue Mar 9, 2024 · 3 comments
Open

How to save and load the regressor or model? #47

sunnyshi0310 opened this issue Mar 9, 2024 · 3 comments

Comments

@sunnyshi0310
Copy link

Hi,

I am trying to implement the NNDMD and want to save the learned dlk_regressor for future use. How could I save and load the learned regressors and models (e.g., run with pk.Koopman.fit())?

Thanks in advance for any assistance.

Lu

@Dionysus7777777
Copy link

You can output the A matrix and C matrix, so that next time you only need to use the A and C matrices.

@sunnyshi0310
Copy link
Author

Hi, thanks for the reply. While I want to know how to save the neural network models, i.e., the learned dictionary of lifting functions $\phi$. Looking forward to your reply. Thanks.

@Dionysus7777777
Copy link

you can look at the definition of A matrix it is used for functions psi

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