





















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






















Lecture #
Families of Clustering Algorithms
k
k
1
2
3
=
K
1
k
k
k
k
much borrowed from Andrew Moore’s Clustering Gaussian Mixtures Lecture notes
GMM cont.
2
3
choose component with probability w
k
generate X ~ N(
μ
k
σ
k
1
1
Look Familiar?
μ
1
μ
k
σ
1
σ
k
) gives us the probability for a
particular choice of
μ
1
μ
k
σ
1
σ
k
How do we choose
μ
i^
σ
?i
Find
μ
i^
that maximize the likelihood
Set and solve for
μ
i
k
1
k
1
j
Problem: we have a bunch on non-linear non-analytically-solvable equations
One solution: gradient descent….
slow
instead….
Expectation Maximization (EM)
Jensen’s Inequality
EM Algorithm
EM algorithm alternates between
maximize F with respect to dist. Q with
θ
fixed
maximize F with respect to
θ
with Q = p(H) fixed
k
k
Q
1
k
k
1
k
1
k
θ
Maximum for E step:
k
1
k
Maximum for M step:
) | H , D ( p
log
) , D | H ( p
max
arg
k
H
k
1
k
θ
θ
=
θ
∑
θ
Intuition:•In the E-step, we estimate the distribution on the hidden variables,conditioned on a particular setting of the parameter vector
θ
k
•In the M-step, we choose new set of parameters
θ
k+
to maximize
the expected log-likelihood of observed data
We want to fit a normal mixture distribution:
=
K
1
k
k
k
k
k
k
is prior probability of x belonging to component
(w
1
, …. w
k
μ
1
μ
k
σ
1
σ
k
) is parameter vector
then probability of data point x coming from kth class is:
k
k
k
k
=
=
n
1
k
k
)) i ( x | k (
ˆP
1 n
wˆ
=
=
μ
n
1
k
k
k
) i (
x
))i
(
x
|
k (
ˆP
nw
1
ˆ
2
k
n
1
k
k
k
)
) i ( x
))( i ( x | k (
ˆP
nw
1
ˆ
μ
−
=
σ
=
EM Demo
Likelihood as function of EM Iteration figure 9.2 in text
Probabilistic Model-based clustering
How to choose K
Model Selection
compact (objective)
information-theoretic arguments results in a score function:
)
M ,
(
p
log
) M , | D ( p
log
)
M ,
(
score
θ − θ − = θ
score(
θ
,M) = # of bits to describe the data given the model +
number of bits to describe the model
the model
the data that is not accounted
for by the model