Skip to content

Simplify init_prepare#267

Draft
Sahel13 wants to merge 2 commits into
mainfrom
simplify-init-prepare
Draft

Simplify init_prepare#267
Sahel13 wants to merge 2 commits into
mainfrom
simplify-init-prepare

Conversation

@Sahel13

@Sahel13 Sahel13 commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

As discussed in #266

@SamDuffield Thoughts on the changes to init_prepare for Kalman?

@SamDuffield

Copy link
Copy Markdown
Contributor

My initial thought is I'm sure I like this as it means the user would have to rebuild the filter if m0 and chol_P0 changed, but I guess that's ok (it's what we do anyway in the EM example)

I like that we remove model_inputs from init_prepare as it makes it clear the user should never expect a non-dummy model_inputs at the initial state.

So overall happy to go with this, although maybe good to confirm with @AdrienCorenflos too as it's an API breaking change

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

Successfully merging this pull request may close these issues.

2 participants