Free Energy for model selection? #350
-
I was wondering if the free energy returned by rxinfer can be used as a model selection criterion. Variational free energy provides an approximation to Bayesian model evidence so I would assume so. Do you have any input or thoughts on this? Thanks! 🙏 |
Beta Was this translation helpful? Give feedback.
Answered by
wmkouw
Sep 19, 2024
Replies: 1 comment 8 replies
-
Hi @langestefan. It depends which type of models you compare. Generally speaking, you can't do that, see section 2.2 from Blei https://arxiv.org/pdf/1601.00670. |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Your uncertainty calculation for the posterior predictive is correct. Are you using
\alpha / \beta
for\tau
?Nice to see it visualized like that.
Well, it is conclusive, namely
M=5
is the best. It nearly matches the minimizer for MAE test, but I would still argue that MAE is not an appropriate metric because it does not take uncertainty into account.You might be worried about the fact that model selection depends on your choice of prior parameter. But that is always going to be the case in Bayesian inference. Your options are then:
\Sigma_\theta = …