吴恩达机器学习笔记week13——聚类算法 Clustering
13-1.无监督学习 Unsupervised learning introduction
聚类的应用
13-2.K-Means算法 K-means algorithm——迭代算法
聚类中心cluster centroids
两步骤:簇分类;移动聚类中心
13-3.优化目标 Optimization objective
失真代价函数 distortion cost function
13-4.随机初始化 Random initialization——避免局部最优解
多次随机初始化,多次k-means
13-5.选取聚类数量 Choosing the number of clusters——如何选择K值
肘部法则 Elbow Method
根据目的定K: