1). The k-means clustering process of manual playing of playing cards:> 30 cards, 3 types
2). * K-means algorithm is independently written, clustering is performed on the iris petal length data, and displayed with a scatterplot. (Plus points)
Source code:
Clustering results:
Drawing results:
3). Use sklearn.cluster.KMeans and iris petal length data for clustering and display with scatter plot.
Source code:
forecast result:
Drawing results:
4). Complete data of iris flowers are clustered and displayed with a scatterplot.
Source code:
forecast result:
Drawing results:
5). Think about what is used in the k-means algorithm?
The k-means algorithm is mainly an algorithm used for classification. By putting similar data together in a mess of data, multiple categories are formed.