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

Regularisation on state trajectory #154

Open
CasBex opened this issue Jul 9, 2024 · 3 comments
Open

Regularisation on state trajectory #154

CasBex opened this issue Jul 9, 2024 · 3 comments

Comments

@CasBex
Copy link

CasBex commented Jul 9, 2024

The identification methods in this package allow adding a regularisation term to the loss for better convergence. It would be nice if we could regularise not only the parameters and obtained system but also on the simulated trajectory. This would allow punishing states which are physically nonsensical (temperatures below 0K...) which would allow some form of "physics-informed system identification" to obtain systems with physically sensible non-observable states. This could be done by adding an argument to the regularisation function in state space identification methods (e.g. going from regularizer = (p, P) -> 0 to regularizer = (p, P, simresult) -> 0).

@baggepinnen
Copy link
Owner

Thanks for the feature request! Check out the PR #155, I hope it addresses your request

@CasBex
Copy link
Author

CasBex commented Jul 9, 2024

I'll have a look later today, thanks for the quick response

@CasBex
Copy link
Author

CasBex commented Jul 9, 2024

Alright, I've tested it and it seems to work. Weighting the various regularisation terms in my problem to get a good result remains rather difficult, but I guess that's application dependent.

Will you include this in the other state-space models as well or only structured_pem?

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