Data Science Center

Twelve labs, thirty-plus interactive experiments, a project studio that analyses your files locally, a dataset library, learning paths and a specialised assistant.

41interactive experiments

Data Science Center

Customer segmentation with k-means

عربي

Intermediate

Problem

Do customer behaviours form understandable segments?

Goal

Choose k and interpret segments after standardising.

Dataset

Customers (synthetic) Synthetic, generated in the browser

Work steps

  1. Choose numeric features
  2. Standardise them
  3. Try k from 2 to 6
  4. Compare silhouette
  5. Name segments by what the means show

Statistical methods

  • k-means
  • Silhouette
  • Standardisation

Challenges

  • Choosing k
  • Non-spherical clusters

Discussion questions

  • Is the segment real or an artefact of the algorithm?
  • How do you check its stability?

Tools used

  • K-means Simulator
  • Project Studio

Expected outcomes

Segments that need domain interpretation, not just numbers. No result figures are published here.

No recorded results are shown here; your results come from running the project on the data.

Run this project in the Studio

References

  1. MacQueen, J. (1967). Some methods for classification and analysis of multivariate observations. Proceedings of the Fifth Berkeley Symposium on Mathematical Statistics and Probability, 1, 281-297 (bibliographic data entered by the editor, not machine-checked)
  2. Arthur, D., & Vassilvitskii, S. (2007). k-means++: the advantages of careful seeding. Proceedings of the 18th ACM-SIAM Symposium on Discrete Algorithms (SODA), 1027-1035 (bibliographic data entered by the editor, not machine-checked)