https://developers.google.com/machine-learning/clustering
https://developers.google.com/machine-learning/clustering/overview
similarity measure
https://developers.google.com/machine-learning/glossary#k-means
https://developers.google.com/machine-learning/clustering/algorithm/run-algorithm
Work-Flow
Prepare data, Z-cores normalization
https://developers.google.com/machine-learning/clustering/prepare-data
Similarity measure
https://developers.google.com/machine-learning/clustering/similarity/measuring-similarity
Apply K-means with a similarity measure, exercise
Dataset: Mall Customer segmentation
https://www.kaggle.com/datasets/vjchoudhary7/customer-segmentation-tutorial-in-python
Code
https://www.kaggle.com/code/funxexcel/p1-sklearn-k-means-example
kmeans = cluster.KMeans(n_clusters=5 ,init="k-means++")
kmeans = kmeans.fit(df[['Spending_Score','Income']])