Summary

BCE = negative likelihood of bernolli distribution = NLL of Bernolli dist.

Bernoulli distribution

Bernoulli distribution

  • discrete(2항) 한 random variable에 대한 확률 분포.
  • 2개의 파라미터, 로 분포가 결정됨.
    • : probability for
      함수식은 다음과 같다.
type: bar
labels: [Pr(Y=0), Pr(Y=1)]
series:
  - title: Probability
    data: [0.3, 0.7]
tension: 0.2
width: 80%
labelColors: false
fill: false
beginAtZero: false
bestFit: false
bestFitTitle: undefined
bestFitNumber: 0
원본 링크

Loss?

Let
then we obtain,


In other words, we minimize the binary cross-entropy loss(BCE loss).
Remark: Last Layer of can be a sigmoid function such that