K Means Clustering, Hierarchical Clustering, Machine Learning, Dendrogram, Silhouette Score.
After initializing the centroids, we need to identify which points are closer to each centroid. This can be done by calculating the distance between the points. To make it easier to visualize, we can draw a straight line connecting two centroids and a perpendicular line to the straight line. All