Demo entry 6641341

py

   

Submitted by anonymous on Sep 17, 2017 at 22:02
Language: Python 3. Code size: 140 Bytes.

kmeans = KMeans(n_clusters = 4, max_iter = 100, n_init = 10, init='k-means++', random_state=42)
kmeans.fit(data)
kmeans_plot(data, kmeans)

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).