Week 14 and 15 Machine Learning Unsupervised 2
Week 14 and 15 Machine Learning Unsupervised 2
Machine Learning:
Unsupervised Learning
Term 2-ARTI 106
Computer Track
2024-2025
Learning outcomes
❖ The Manhattan distance (also called taxicab norm or 1-norm) is given by:
How does the K-means work:
step 3
How does the K-means work:
step 4
How does the K-means work:
step 5
How does the K-means work:
Strengths of k-means
❑ Simple: easy to understand and to implement
❑ Efficient: Time complexity: O(tkn),
❖ where n is the number of data points,
❖ k is the number of clusters, and
❖ t is the number of iterations.
❑ Flexibility: K-Means clustering is a flexible algorithm that can easily
adjust to changes. If there are any problems, adjusting the cluster
segment will allow changes to easily occur on the algorithm.
❑ K-means is the most popular clustering algorithm.
Weaknesses of k-means