Skip to content

Conversation

@dweindl
Copy link
Member

@dweindl dweindl commented Apr 24, 2025

  • priorDistribution/priorParameters instead of separate initializationPrior&objectivePrior
  • additional prior distributions

Related to #374.

@dweindl dweindl mentioned this pull request Apr 24, 2025
5 tasks
@codecov-commenter
Copy link

codecov-commenter commented Apr 24, 2025

Codecov Report

Attention: Patch coverage is 76.74419% with 10 lines in your changes missing coverage. Please review.

Project coverage is 74.27%. Comparing base (2a9142c) to head (453c609).

Files with missing lines Patch % Lines
petab/v2/problem.py 0.00% 5 Missing and 2 partials ⚠️
petab/v2/core.py 86.36% 1 Missing and 2 partials ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #378      +/-   ##
===========================================
+ Coverage    74.17%   74.27%   +0.10%     
===========================================
  Files           58       58              
  Lines         6234     6239       +5     
  Branches      1084     1082       -2     
===========================================
+ Hits          4624     4634      +10     
+ Misses        1204     1199       -5     
  Partials       406      406              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

* priorDistribution/priorParameters instead of separate initializationPrior&objectivePrior
* additional prior distributions

Related to PEtab-dev#374.
@dweindl dweindl marked this pull request as ready for review April 24, 2025 16:55
@dweindl dweindl requested a review from a team as a code owner April 24, 2025 16:55
Copy link
Member

@dilpath dilpath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

#: Log-normal distribution
LOG_NORMAL = "log-normal"
#: Log-uniform distribution.
LOG_UNIFORM = "log-uniform"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not really in-scope for this PR but is log10-uniform missing? I guess this is how we would convert parameterScale=log10 into PEtab v2, or is that just no longer possible?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not included in PEtab-dev/PEtab#595. So, so far, it's not available in PEtab v2. Right, I guess we'd need it to upconvert v1 priors. Also log10-laplace. Best to be discussed at https://github.com/PEtab-dev/PEtab.

dweindl and others added 3 commits April 25, 2025 08:20
Co-authored-by: Dilan Pathirana <59329744+dilpath@users.noreply.github.com>
@dweindl dweindl merged commit 87cec8c into PEtab-dev:develop Apr 25, 2025
7 checks passed
@dweindl dweindl deleted the v2_par_prior branch April 25, 2025 06:50
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.

3 participants