MLCrack

    CLASSICAL ML · INTERVIEW QUESTION

    What is cluster analysis and what are its main applications?

    🟢 beginner · Unsupervised Learning

    Hint: Grouping similar data points without labels.

    Answer

    Cluster analysis partitions data into groups (clusters) where intra-cluster similarity is high and inter-cluster similarity is low — all without labeled data.

    Applications:

    1. Customer segmentation: group customers by behavior for targeted marketing.

    2. Anomaly detection: points far from any cluster are anomalies.

    3. Image segmentation: group pixels by color/texture.

    4. Document clustering: organize text corpora by topic.

    5. Gene expression analysis: find co-expressed genes.

    6. Recommendation: cluster users for collaborative filtering.

    Evaluation: internal metrics (silhouette score, Calinski-Harabasz) when no ground truth, external metrics (ARI, NMI) when labels exist.

    Key challenge: there's no single 'correct' clustering — depends on the similarity measure and granularity desired.