Single logo
  • Courses
  • Blog
  • About
Join for freeJoin free
  1. Blog
  2. /
  3. Learning paths
  4. /
  5. Find Structure Without Labels: Clustering, PCA and Recommenders

Learning path · 6 tutorials

Find Structure Without Labels: Clustering, PCA and Recommenders

Who it is for
Learners who can prepare data with scikit-learn and want to find groups, patterns and recommendations in data that has no labels.
What you will achieve
Group customers with K-Means, pick k with the elbow and silhouette, use hierarchical clustering and DBSCAN, shrink columns with PCA, mine shopping baskets for rules, and recommend items with collaborative filtering.
Prerequisites
Basic Python and pandas · Feature scaling with StandardScaler
Start with step 1: K-Means Clustering

Curriculum

  1. 1
    Step 1: K-Means Clustering: Find Groups in Data With No Labels

    How k-means finds groups without labels: the assign-update loop worked by hand on eight homes, then KMeans on 2,600 customers, bad random starts, k-means++ and why you scale first.

  2. 2
    Step 2: Choosing k for K-Means: the Elbow Method and the Silhouette Score

    K-means always returns exactly k groups, even when k is wrong. Use the elbow plot and the silhouette score to pick k for 2,600 customers, then describe each group in plain words.

  3. 3
    Step 3: Hierarchical Clustering and DBSCAN: Dendrograms, Linkage, eps and Noise

    Two more ways to find groups: agglomerative clustering builds a family tree of merges (the dendrogram), and DBSCAN grows clusters from crowds and leaves loners out as noise. Shown on eight homes, 2,600 customers and two moons.

  4. 4
    Step 4: Dimensionality Reduction with PCA: 13 Columns Down to 2

    PCA squeezes many columns into a few new ones and keeps most of the information. Reduce 178 wines from 13 columns to 2, see why scaling comes first, pick the number of components and use PCA in a pipeline.

  5. 5
    Step 5: Association Rules and Market Basket Analysis: Support, Confidence, Lift and Apriori

    Which items are bought together? Work out support, confidence and lift by hand on eight baskets, then let Apriori in mlxtend find 240 rules in 14,963 real grocery baskets.

  6. 6
    Step 6: Recommender Systems: Item-Based Collaborative Filtering with Cosine Similarity

    Build an item-based recommender: a user-item matrix, correlation and cosine similarity on five readers, then 433,671 Book-Crossing ratings in a sparse matrix to find the books closest to A Painted House.

Single logo

StudyEasy AI Community

Hosted onSkool

Learn AI engineering, share what you build, and connect with other learners.

  • Free resources: lesson files, notebooks and code

  • Ask questions and join engineering discussions

  • Meet real people learning and building with AI

Join free on Skool

Single logo

Empowering Education, One Course at a Time

About
About usContact usFAQs
Legal
Terms of ServicePrivacy Policy

© 2026 StudyEasy Organization. All rights reserved.