Different Types Of Machine Learning
1. Supervised Learning
Supervised Learning is a type of Machine Learning where the model is trained using labeled data.
Both input features (X) and target output (Y) are known.
The goal is to learn a mapping from inputs to outputs and make accurate predictions.
1.1 Regression
Regression is a supervised learning technique used to predict continuous numerical values.
The output variable is a real-valued number.
1.2 Classification
Classification is a supervised learning technique used to predict categorical outcomes.
The output variable belongs to a fixed set of classes.
2. Unsupervised Learning
Unsupervised Learning is a type of Machine Learning where the data is unlabeled.
The model discovers patterns and structures in data without predefined outputs.
2.1 Clustering
Clustering groups similar data points together based on their features.
No target variable is used.
2.2 Dimensionality Reduction
Dimensionality Reduction reduces the number of input features while retaining important information.
It helps improve model performance and visualization.
2.2.1 Principal Component Analysis (PCA)
Transforms data into fewer dimensions by maximizing variance.
2.2.2 Linear Discriminant Analysis (LDA)
Reduces dimensions while maximizing class separability.
3. Semi-Supervised Learning
Semi-Supervised Learning uses a small amount of labeled data along with a large amount of unlabeled data.
It is useful when labeling data is expensive or time-consuming.
3.1 Learning Methods
3.1.1 Self-Training
Model trains itself using its own predictions as labels.
3.1.2 Co-Training
Uses multiple models to label unlabeled data.
3.1.3 Graph-Based Learning
Uses graph structures to propagate labels.
4. Reinforcement Learning
Reinforcement Learning is a learning method based on trial and error.
An agent learns by interacting with an environment and receiving rewards or penalties.
4.1 Value-Based Methods
Value-Based methods learn the value of actions to maximize rewards.
4.1.1 Q-Learning
Learns an optimal action-selection policy using a Q-table.
4.1.2 Deep Q Networks (DQN)
Uses neural networks to approximate Q-values.
4.2 Policy-Based Methods
Policy-Based methods learn a direct mapping from states to actions.
4.2.1 Policy Gradient
Optimizes the policy directly using gradients.
4.2.2 Actor-Critic
Combines value-based and policy-based approaches.
Difference Between Algorithms
Type of Learning
Data Type
Main Tasks
Examples
Supervised Learning
Labeled data
Classification, Regression
Spam detection, Price prediction
Unsupervised Learning
Unlabeled data
Clustering, Dimensionality Reduction
Customer segmentation, Anomaly detection
Reinforcement Learning
Interactive (Environment feedback)
Sequential decision-making, Control
Game AI, Autonomous driving
Semi-supervised Learning
Small labeled + large unlabeled data
Classification, Clustering
Image recognition with few labeled samples
Self-supervised Learning
Unlabeled data (auto-generated labels)
Representation learning, Pre-training
Models like BERT, GPT (pre-training stage)
Last updated