Skip to main content
made some progress
Source Link
John Smith
  • 133
  • 1
  • 2
  • 7

You test a classifier on a test set consisting of 10 iid items. The classifier makes 2 mistakes. Assume the true error rate is $x$.

Let the prior be $ x \sim Beta(\alpha, \beta)$. Derive the posterior given the classifier's performance.

I know that to calculate the posterior, I use the definition $p(\theta|X) \propto p(\theta)p(X|\theta)$. I can plug in the definition of the beta distribution for $p(\theta)$ but I'm not sure what to plug in for the likelihood $p(X|\theta)$.

Is the likelihood function $p(X|\theta) = x^2(1-x)^8$?

You test a classifier on a test set consisting of 10 iid items. The classifier makes 2 mistakes. Assume the true error rate is $x$.

Let the prior be $ x \sim Beta(\alpha, \beta)$. Derive the posterior given the classifier's performance.

I know that to calculate the posterior, I use the definition $p(\theta|X) \propto p(\theta)p(X|\theta)$. I can plug in the definition of the beta distribution for $p(\theta)$ but I'm not sure what to plug in for the likelihood $p(X|\theta)$.

You test a classifier on a test set consisting of 10 iid items. The classifier makes 2 mistakes. Assume the true error rate is $x$.

Let the prior be $ x \sim Beta(\alpha, \beta)$. Derive the posterior given the classifier's performance.

I know that to calculate the posterior, I use the definition $p(\theta|X) \propto p(\theta)p(X|\theta)$. I can plug in the definition of the beta distribution for $p(\theta)$ but I'm not sure what to plug in for the likelihood $p(X|\theta)$.

Is the likelihood function $p(X|\theta) = x^2(1-x)^8$?

Source Link
John Smith
  • 133
  • 1
  • 2
  • 7

Deriving posterior of Beta distribution

You test a classifier on a test set consisting of 10 iid items. The classifier makes 2 mistakes. Assume the true error rate is $x$.

Let the prior be $ x \sim Beta(\alpha, \beta)$. Derive the posterior given the classifier's performance.

I know that to calculate the posterior, I use the definition $p(\theta|X) \propto p(\theta)p(X|\theta)$. I can plug in the definition of the beta distribution for $p(\theta)$ but I'm not sure what to plug in for the likelihood $p(X|\theta)$.