Phase 6 - Unsupervised Learning & Dimensionality Reduction
What unsupervised learning is
Unsupervised learning works with features only (X) — no labels yy. As
Yann LeCun put it, if intelligence were a cake, unsupervised learning would
be the cake itself, and supervised learning would just be the icing.
Goals include:
- clustering: group similar points
- dimensionality reduction: compress data while keeping its structure
- anomaly detection: find rare/unusual samples
- association rules: discover co-occurrence patterns
This phase mirrors Chapters 8 and 9 of Hands-On Machine Learning (Géron): first the clustering and anomaly-detection algorithms that group and score unlabeled instances, then the projection and manifold-learning techniques — above all Principal Component Analysis (PCA) — that fight the curse of dimensionality by compressing high-dimensional data down to something a model (or a human) can actually work with.
flowchart LR X["Unlabeled data (X)"] --> A[Unsupervised algorithm] A --> C[Clustering] A --> D["Dimensionality Reduction (PCA)"] A --> AN[Anomaly Detection] A --> R[Association Rules]
Phase 6 topics
- Introduction to Clustering
- K-Means Clustering Algorithm
- Hierarchical Clustering (Dendrograms)
- DBSCAN: Density-Based Clustering
- Anomaly Detection with Isolation Forests
- Association Rule Learning (Apriori Algorithm)
- Principal Component Analysis (PCA)
- t-SNE and Manifold Learning
Common real-world uses
- customer segmentation
- grouping products by similarity
- detecting fraud/anomalies
- analyzing basket/cart patterns
- compressing high-dimensional data (e.g. MNIST) for faster training and 2D/3D visualization
If this helped you, consider buying me a coffee ☕
Buy me a coffeeWas this page helpful?
Let us know how we did
