Unsupervised Learning: Difference between revisions
Line 42: | Line 42: | ||
# Then calculate the centroids <math>\mathbf{\mu}</math>. | # Then calculate the centroids <math>\mathbf{\mu}</math>. | ||
# Then update the labels for each example to the closest centroid. | # Then update the labels for each example to the closest centroid. | ||
# Update the centroids by taking the mean of | # Update the centroids by taking the mean of every point in the cluster. | ||
# Repeat steps 3 and 4 | # Repeat steps 3 and 4 | ||