Unsupervised Learning for Data Sciences
Unsupervised learning finds structure in data without labels. This unit covers clustering such as k-means and hierarchical methods for segmentation, dimensionality reduction with PCA, and anomaly detection that flags unusual records. Analysts use it for customer segments, visualising high-dimensional data and finding fraud or faults.
Stage: Machine Learning · Part of the Data Science roadmap · Last reviewed 19 November 2026
What to learn in Unsupervised Learning
- Run k-means and choose k using the elbow method and silhouette score
- Standardise features before distance-based clustering
- Reduce dimensions with PCA and read the explained variance ratio
- Describe each customer segment in plain business terms
- Flag anomalies using Isolation Forest or statistical thresholds
Unsupervised Learning interview questions
Why must you scale features before running k-means?
K-means uses Euclidean distance, so a feature with a large numeric range, such as income, dominates one with a small range, such as age. Standardising puts features on comparable scales so each contributes fairly to cluster assignment.
What does PCA do and when is it useful?
PCA finds new orthogonal axes that capture the most variance in the data and projects onto the top few. It helps with visualising high-dimensional data, reducing correlated features and speeding up models, though components are harder to interpret.
Where Unsupervised Learning fits in the Data Science roadmap
Unsupervised Learning belongs to the Machine Learning stage (intermediate level), which takes about 6 hours. Predict and explain.
Other units in this stage
Back to the full Data Science roadmap