#点移

关于KMeans 最外围点移除实验(其中心保持不变)

importmatplotlib.pyplotaspltfromsklearn.datasetsimportmake_blobsimportnumpyasnpX,labels=make_blobs(100,centers=1)fromsklearn.clusterimportKMeanskmeans=KMeans(n_...