|
I was surprised by the results when plotting the log posterior by calling ChainConsumer/src/chainconsumer/plotter.py Line 382 in 50fd63b Could someone please explain the rationale behind this subtraction by the maximal log posterior? |
Answered by
Samreay
Nov 8, 2023
Replies: 1 comment 3 replies
|
I am happy to remove this, but this was added back in the day where we only fed chains from emcee and similar samplers into chainconsumer, and those samplers only sample proportional to the posterior, not the actual posterior (pesky evidence on the denominator ruining our lives). As such, it made sense to substract the maximum value to get a normalised view of the posterior samples |
3 replies
Answer selected by
snwnde
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am happy to remove this, but this was added back in the day where we only fed chains from emcee and similar samplers into chainconsumer, and those samplers only sample proportional to the posterior, not the actual posterior (pesky evidence on the denominator ruining our lives). As such, it made sense to substract the maximum value to get a normalised view of the posterior samples