Skip to content
Discussion options

You must be logged in to vote

Hi @Millet21

very good question. It is not directly implemented in sbi, but there are ways to do it. Recently, we implemented a CategoricalMADE discrete density estimator that enables you to learn a discrete posterior. You could train it with a training data set consisting of simulated data from different competing models, modeled by a categorical variable with categories, say 1, 2, N.

This has been done before, see e.g., here: https://github.com/janfb/mcabc/tree/master/mcabc/model, and with more detail here: https://2019.ccneuro.org/proceedings/0000578.pdf

For the harmonic mean estimator, I have not looked at it in detail, but once you have performed NPE or NLE using the sbi package, you…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Millet21
Comment options

Answer selected by Millet21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants