Gaussian mixture models
probabilistic model that assumes data is generated from multiple gaussian distributions combined together
where:
K = number of gaussian components
= mixing probability of component k
= mean
= covariance matrix
GMM is trained using Expectation maximization algorithmbecause we dont know which point belongs to which Gaussian
Kmeans is actually a special case of GMM when covariance = sphericalequal variance for each clusterhard assignments, no probabilitiesEM is isiliye compute intensive
Expectation-maximization
a. we randomly initialize parameters
b. Expectation step: we compute probability/responsibility of each point belonging to each cluster
c. Maximization step: recompute mean, variances, mixing coefficients mixing coefficients - probability% of choosing the gaussian cluster
d. loop
Bayesian mixtures
the K parameter in GMM forces model to use all clusters even if there are only e.g. 2 real clusters.
VBGMM introduces bayesian priors, variational inference and automatic component pruning. It pushes unused components toward zero weight