Foundations of Machine LearningClustering Methods (聚类方法)Clustering MethodsLesson 9 - 1Clustering MethodsPartitional Methods (基于划分的方法), prototype-based clustering (基于原型的聚类): K-meansHierarchical Clustering (层次聚类)Density-based Clustering (密度聚类)Clustering MethodsLesson 9 - 2K-means algorithms ( k 均值算法)Center-basedA cluster is a set of objects such that an object in a cluster is closer (more similar) to the “center” of a cluster, than to the center of any other clusterThe center of a cluster is called centroidEach point is assigned to the cluster with the closest centroidThe number of clusters usually should be specifiedClustering MethodsLesson 9 - 3K-means algorithms 基本步骤Partition {x1,…, xn} into K clusters ( K is predefined )InitializationSpecify the initial cluster centers (centroids)Iterati