摘要: 1 K-均值聚类算法的基本思想 K-均值聚类算法是著名的划分聚类分割方法。划分方法的基本思想是:给定一个有N个元组或者纪录的数据集,分裂法将构造K个分组,每一个分组就代表一个聚类,Kdata.fl[0];double cent1 = centers->data.fl[1];double cent2 = centers->data.fl[2];CV_IMPLintcvKMeans2(constCvArr*_samples,intcluster_count,CvArr*_labels,CvTermCriteriatermcrit,intattempts,CvRNG*,intflags, 阅读全文