1. Introduction

Basics

D차원에서의 multivariate Gaussian의 pdf는 다음과 같이 정의된다.

$$ \mathcal N(\bold x|\boldsymbol\mu,\boldsymbol\Sigma)=\frac{1}{(2\pi)^{D/2}|\boldsymbol\Sigma|^{1/2}}\exp\bigg[-\frac{1}{2}(\bold x-\boldsymbol\mu)^T\boldsymbol\Sigma^{-1}(\bold x-\boldsymbol\mu)\bigg] $$

MLE for an MVN

Theorem4.1.1 (MLE for a Gaussian) N개의 iid 데이터 샘플들 $\bold x_i\sim\mathcal N(\boldsymbol\mu,\boldsymbol\Sigma)$가 주어진 상황에서 parameter들의 MLE는

$$ \begin{aligned} \hat{\boldsymbol\mu}{mle}&=\frac{1}{N}\sum{i=1}^N\bold x_i=\overline{\bold x}\\ \hat{\boldsymbol\Sigma}{mle}&=\frac{1}{N}(\bold x_i-\overline{\bold x})(\bold x_i-\overline{\bold x})^T=\frac{1}{N}\bigg(\sum{i=1}^N\bold x_i\bold x_i^T\bigg)-\overline{\bold x}\ \overline{\bold x}^T \end{aligned} $$

Maximum entropy derivation of the Gaussian

multivariate Gaussian은 어떤 $\boldsymbol\mu$과 $\boldsymbol\Sigma$를 mean과 covariance로 주어진 분포들 중 가장 최대의 entropy를 가지는 분포이고, 이때 entropy 값은 다음과 같이 주어진다.

$$ h(\mathcal N(\boldsymbol\mu,\boldsymbol\Sigma))=\frac{1}{2}\ln[(2\pi e)^D|\boldsymbol\Sigma|] $$

2. Gaussian discriminant analysis

generative classifier에서 class 조건부 분포를 MVNs를 활용해서 정의하면 다음과 같다.

$$ p(\bold x|y=c,\boldsymbol\theta)=\mathcal N(\bold x|\boldsymbol\mu_c,\boldsymbol\Sigma_c) $$

이 결과를 사용하는 기술을 Gaussian discriminant analysis(GDA)라고 한다.

이때 feature vector $\bold x$은 다음과 같은 결정 방식으로 분류한다.

$$ \hat y(\bold x)=\argmax_c[\log p(y=c|\boldsymbol\pi)+\log p(\bold x|\boldsymbol\theta_c)] $$

Quadratic discriminant analysis (QDA)

class labels에 대한 posterior은 다음과 같이 나타낸다.

$$ p(y=c|\bold x,\boldsymbol\theta)=\frac{\pi_c|2\pi\boldsymbol\Sigma_c|^{-\frac{1}{2}}\exp[-\frac{1}{2}(\bold x-\boldsymbol\mu_c)^T\boldsymbol\Sigma_c^{-1}(\bold x-\boldsymbol\mu_c)]}{\sum_{c^\prime}\pi_{c^\prime}|2\pi\boldsymbol\Sigma_{c^\prime}|^{-\frac{1}{2}}\exp[-\frac{1}{2}(\bold x-\boldsymbol\mu_{c^\prime})^T\boldsymbol\Sigma_{c^\prime}^{-1}(\bold x-\boldsymbol\mu_{c^\prime})]} $$