



























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An overview of bayes' theorem, its application in probability theory, and its connection to clustering algorithms such as k-means and expectation-maximization. The concept of prior knowledge, updating state of knowledge with data, and the calculation of posterior probabilities using bayes' rule. Additionally, it discusses the use of bayesian inference in scientific arguments and the k-means clustering algorithm, including its properties and limitations. The document also introduces the expectation-maximization algorithm as an alternative to k-means for handling more complex models and data.
Typology: Study notes
1 / 35
This page cannot be seen from the preview
Don't miss anything!




























-^
-^
-^
-^
-^
-^
-^
-^
-^
-^
-^
) is high
) is high
) is low
) (
) | ( ) ( ) |
(^
D P
H D P H P D H P
=
-^
-^
centers.
clusters, assign pixels to clusters, ….
simple example.Suppose we want to cluster black and whiteintensities, and we have the intensities: 1 3 8 11.start with centers c1 = 7 and c2=10.assign 1, 3, 8 to c1, 11 to c2.update c1 = (1+3+8)/3 = 4, c2 = 11.assign 1,3 to c1 and 8 and 11 to c2.update c1 = 2, c2 = 9 ½.converged.No assignments change, so the centers don’tchange.
Given points p1… pn, find centers c1…ck
-^
and find mapping f:{p1…pn}->{c1…ck} that minimizes
C = (p1-f(p1))^2 + …+ (pn-f(pn))^2.
-^
set of points. So changing the center to be the mean reduces thisdistance.
distance to its cluster center.
-^
clusters based onprobability it belongs toeach.
averages (c
) and variancej
(σ).
− −
− −
j
c c p p
i
j^
j j i i
2 (^22) 2
σ σ
Cluster centers are c
.j
-^
Motion Segmentation using EM – a short tutorial.
st^
2 pages.)
-^
Models have parameters: u–
Examples: line has slope/intercept; Gaussian has mean and variance.
-^
Data is what we know from image: y–
Examples: Points we want to fit a line to.
-^
Assignment of data to models: z–
Eg., which points came from line 1.– z(i,j) = 1 means data i came from model j.
-^
Data and assignments (y & z): x.
-^
Histogram gives 1D clustering problem.
-^
Constant regions + noise = Gaussians.
-^
Guess mean and variance of pixel intensities.
-^
Compute membership for each pixel.
-^
Compute means as weighted average.
-^
Compute variance as weighted sample variance.
-^
Details:
whiteboard;
Also, Matlab and Weiss.
-^