Supervised vs Unsupervised Learning
Supervised vs Unsupervised Learning
Unsupervised Learning
1. Supervised Learning:
- The model is trained on labeled data (input-output pairs).
- Goal: Learn a mapping from inputs to outputs.
- Examples: Classification (e.g., spam detection), Regression (e.g., house price
prediction)
- Algorithms: Linear regression, Logistic regression, Support Vector Machines
(SVM), Decision Trees, Neural Networks
2. Unsupervised Learning:
- The model works with unlabeled data and tries to find structure or patterns.
- Goal: Discover hidden structures in data.
- Examples: Clustering (e.g., customer segmentation), Dimensionality Reduction
(e.g., PCA)
- Algorithms: K-Means, Hierarchical Clustering, DBSCAN, Autoencoders
Choosing the right learning type depends on the problem and the data available.