How to randomly select five data points on moon dataset

后端 未结 0 1471
鱼传尺愫
鱼传尺愫 2020-12-29 00:58
X,y = make_moons(n_samples=200,noise=0, random_state=0)
n_clusters=5
KMeans(n_clusters = 15,random_state=10)
model.fit(X)
centroids = model.cluster_centers_
labels =         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题