Unsupervised Learning
Find structure in unlabeled data with clustering, dimensionality reduction, anomaly detection and matrix-factorization recommenders, and judge whether that structure is useful.
4 objectives 6 steps about 140 min
Learn it step by step
Read the lessons in order, try the practice checks, then prove the skill with the knowledge check.
This skill page is a public outline. Its lessons and knowledge check appear here as subject-matter experts approve them.
Learning objectives
- Apply k-means, Gaussian mixture models, hierarchical clustering and DBSCAN, choosing the algorithm and its parameters from the data's shape, and validate clusters with silhouette scores and segment profiles.
- Reduce dimensionality with PCA, read explained variance, and use the result for visualization, compression or as a preprocessing step.
- Detect anomalies with an isolation forest or a distance-based method and evaluate the detector against a small labeled sample.
- Build a collaborative-filtering recommender from implicit feedback with matrix factorization and show, with ranking metrics (recall@k, NDCG) on a time-based split, whether it beats a popularity baseline.
Lesson plan
6 steps, about 140 min · 5 of 5 lessons available so far
- Clustering: Centroids, Mixtures, Hierarchies and Density Concept · 25 min
- Lab: Segment Customers and Defend the Segments Lab · 30 min
- PCA: Finding the Directions That Matter Concept · 20 min
- Worked Example: Catching Anomalies with an Isolation Forest Worked example · 20 min
- Lab: Recommendations from Interaction Data with Matrix Factorization Lab · 30 min
- Check: Structure Without Labels Knowledge check · 8 questions
Practise it
Segment a customer or transaction dataset: scale features, compare k-means with DBSCAN, choose a solution using silhouette scores plus a written profile of each segment, plot the segments in two PCA components, and flag the 1% most anomalous records with an isolation forest checked against a hand-labeled sample; separately, beat a popularity baseline on recall@10 with a matrix-factorization recommender trained on interactions before a cut-off date.
Build it from scratch
Practice builds that exercise this skill by re-creating a real technology.
References
Hard prerequisites
None.
Unlocks
Nothing depends on this skill yet.
On these roadmaps
Progress and evidence for this skill are shared across all of them.