Clustering
Example of clustering using the Customer Mall dataset
Dataset cleaned: Yes
Dataset name: customer_dataset.csv
Dataset link: here
Gender Age Annual Income Spending Score (1-100)
Male 19 15 39
Male 21 15 81
Female 20 16 6
Female 23 16 77
Female 31 17 40
Age Annual Income (k$) Spending Score (1-100)
count 200.00 200.00 200.00
mean 38.85 60.56 50.20
std 13.97 26.26 25.82
min 18.00 15.00 1.00
25% 28.75 41.50 34.75
50% 36.00 61.50 50.00
75% 49.00 78.00 73.00
max 70.00 137.00 99.00
correlation matrix
Correlation Matrix Heatmap
Visualize the data using a 3D scatter plot
K-Means
k-Means Algorithm
  • ..
  • ..
  • ..
Correlation Matrix Heatmap