Question: Instead of updating m j by computing the mean, we use stochastic gradient descent, to remodel the mi such that : m i = m
Instead of updating by computing the mean, we use stochastic gradient descent,
to remodel the mi such that :
with learning rate step size
Recall that in the update step of the standard Kmean algorithm, we assign each cluster
centre to be the mean centroid of the data points closest to that centre. It turns out that a
particular choice of the learning rate which may be different for each cluster makes the
two algorithms batch gradient descent and the standard kmeans algorithm have identical
update steps. Let's focus on the update for the first cluster, with center
d Implement the equation instead of mean in the standard algorithm and find the
learning rate value, such that the value of both algorithms perform the same
update for
marks
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
