Similarity and scaling
Clustering groups observations without supplied target labels. Groups depend on the representation and distance measure, so they are not automatically natural categories. Features based on spending and visit frequency answer different questions from geography. Exclude arbitrary numeric identifiers whose differences have no behavioural meaning.
Euclidean distance is straight-line distance: (0,0) to (3,4) is 5. A field measured in thousands can dominate one between 0 and 1. Standardisation changes the meaning of distance and must be deliberate. Preserve the fitted transformation for new data.
Try it yourself
Why should numeric customer IDs usually not be clustering features?
Worked answer
Their numeric differences do not represent meaningful similarity. Use features relevant to the intended decision.
