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

Function for replacing objectivePrior* by observables/measurements #307

Open
dweindl opened this issue Sep 17, 2024 · 0 comments · Fixed by #309
Open

Function for replacing objectivePrior* by observables/measurements #307

dweindl opened this issue Sep 17, 2024 · 0 comments · Fixed by #309
Labels
enhancement New feature or request

Comments

@dweindl
Copy link
Member

dweindl commented Sep 17, 2024

Some frameworks might not support parameter priors out of the box. In such cases, it would be convenient if one could just automatically modify the PEtab problem and replace the objectivePrior* entries by extra observables and measurements that will result in an equivalent objective function.

@dweindl dweindl added the enhancement New feature or request label Sep 17, 2024
@dweindl dweindl changed the title Function for replacing objectivePrior* by observables measurements Function for replacing objectivePrior* by observables/measurements Sep 17, 2024
dweindl added a commit to dweindl/libpetab-python that referenced this issue Sep 24, 2024
Reformulate the given PEtab problem such that the objective priors are converted
to measurements. This is done by adding a new observable for each prior
and adding a corresponding measurement to the measurement table.
The resulting optimization problem will be equivalent to the original problem.
This is meant to be used for tools that do not support priors.

Closes PEtab-dev#307
dweindl added a commit that referenced this issue Oct 15, 2024
…309)

Reformulate the given PEtab problem such that the objective priors are converted to measurements. This is done by adding a new observable for each prior and adding a corresponding measurement to the measurement table. The resulting optimization problem will be equivalent to the original problem. This is meant to be used for tools that do not support priors.

Closes #307
---------

Co-authored-by: Dilan Pathirana <[email protected]>
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

Successfully merging a pull request may close this issue.

1 participant