Skip to content

Conversation

@nikola-sur
Copy link
Collaborator

@nikola-sur nikola-sur commented Sep 7, 2025

Provides support for tempering of posteriors (e.g., joint over prior + likelihood) with beta * log_potential(x) instead of tempering only the likelihood. Yes, I know that is a naughty thing to do sometimes (can be non-normalizable), but it can be useful for some problems.

@codecov
Copy link

codecov bot commented Sep 7, 2025

Codecov Report

❌ Patch coverage is 0% with 11 lines in your changes missing coverage. Please review.
✅ Project coverage is 87.46%. Comparing base (f3854c0) to head (dd77e59).

Files with missing lines Patch % Lines
src/targets/TemperedTarget.jl 0.00% 11 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #369      +/-   ##
==========================================
- Coverage   87.82%   87.46%   -0.37%     
==========================================
  Files         107      108       +1     
  Lines        2654     2665      +11     
==========================================
  Hits         2331     2331              
- Misses        323      334      +11     

☔ 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.

@alexandrebouchard
Copy link
Member

Thanks Nikola, that's an excellent suggestion. Should this be combined with taking the lower beta to some constant greater than 0? As is, for any unbounded continuous model, the value beta=0 will certainly be un-normalizable.

@nikola-sur
Copy link
Collaborator Author

Yes, I will continue working on it and add an appropriate constructor with that check

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