-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added HPD calculation to ensemble (#1431)
* Added HPD calculation to ensemble The ensemble from_sample method has now an additional rel_cutoff argument. rel_cutoff allwos to cut the posterior to the alpha % highest density (here non-normalized posterior probability). * Update ensemble.py fixes print statement that was only used for debugging * Update pypesto/ensemble/ensemble.py Adds default value for burn_in Co-authored-by: Paul Jonas Jost <[email protected]> * Update pypesto/ensemble/ensemble.py Fixes wrong default value for the ci_level Co-authored-by: Paul Jonas Jost <[email protected]> * added test for the hpd calculation and renamed rel_cutoff * Forgot name change in test * Integrated comments --------- Co-authored-by: Paul Jonas Jost <[email protected]> Co-authored-by: PaulJonasJost <[email protected]>
- Loading branch information
1 parent
61c912d
commit 951f0db
Showing
2 changed files
with
135 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters