Skip to content

Why do I need a bayesian neural net to estimate classification uncertainty? #4

Answered by rlouf
903124 asked this question in Ask me
Discussion options

You must be logged in to vote

This answer is a little longer than I originally expected, but I hope it is clear.

Bayesian NNs are NN ensembles

It is important to define exactly what it is we are trying to compute, so I am going to briefly go over the difference between bayesian neural nets and others. We train classifiers because we are interested in the probability that an item indexed by $i$ belongs to a category $c$ given a model and a dataset on which we have “trained” the model:

$$ P\left(\hat{y}_i = c | \mathcal{D}\right) = \int P(\hat{y}_i=c|\theta) P(\theta|\mathcal{D}); \mathrm{d}\theta $$

Where $\theta$ is a vector that contains the model's weights, $\mathcal{D} = \left\{x_i, y_i \right\}$ the training data.…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rlouf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ask me
Labels
None yet
2 participants