1οΈβ£ Supervised Learning Algorithms
(Labelled data hota hai)
πΉ Regression Algorithms
- Linear Regression
- Multiple Linear Regression
- Polynomial Regression
- Ridge Regression
- Lasso Regression
- Elastic Net
- Bayesian Regression
- Quantile Regression
- Support Vector Regression (SVR)
- Decision Tree Regression
- Random Forest Regression
- Gradient Boosting Regression
- XGBoost Regression
- LightGBM Regression
- CatBoost Regression
πΉ Classification Algorithms
- Logistic Regression
- Naive Bayes
- Gaussian NB
- Multinomial NB
- Bernoulli NB
- K-Nearest Neighbors (KNN)
- Support Vector Machine (SVM)
- Decision Tree
- Random Forest
- Extra Trees (Extremely Randomized Trees)
- Gradient Boosting
- AdaBoost
- XGBoost
- LightGBM
- CatBoost
- Linear Discriminant Analysis (LDA)
- Quadratic Discriminant Analysis (QDA)
- Perceptron
- Passive Aggressive Classifier
2οΈβ£ Unsupervised Learning Algorithms
(Label nahi hota)
πΉ Clustering Algorithms
- K-Means
- K-Medoids
- Hierarchical Clustering
- Agglomerative
- Divisive
- DBSCAN
- HDBSCAN
- Mean Shift
- Gaussian Mixture Model (GMM)
- Spectral Clustering
- OPTICS
- BIRCH
- Affinity Propagation
πΉ Dimensionality Reduction
- Principal Component Analysis (PCA)
- Kernel PCA
- Linear Discriminant Analysis (LDA)
- t-SNE
- UMAP
- Independent Component Analysis (ICA)
- Autoencoders
- Factor Analysis
- Truncated SVD
πΉ Association Rule Learning
- Apriori Algorithm
- FP-Growth
- Eclat
3οΈβ£ Semi-Supervised Learning
- Label Propagation
- Label Spreading
- Self Training
- Co-Training
- Semi-Supervised SVM
4οΈβ£ Reinforcement Learning Algorithms
πΉ Value-Based
- Q-Learning
- SARSA
- Deep Q Network (DQN)
- Double DQN
- Dueling DQN
πΉ Policy-Based
- REINFORCE
- Policy Gradient
πΉ Actor-Critic
- A2C
- A3C
- DDPG
- TD3
- PPO
- SAC
5οΈβ£ Ensemble Learning Techniques
- Bagging
- Boosting
- Stacking
- Voting Classifier
- Random Forest
- Gradient Boosting
6οΈβ£ Neural Network Based Algorithms
(Deep Learning ML ka hi part hai)
πΉ Basic
- Artificial Neural Network (ANN)
- Multilayer Perceptron (MLP)
πΉ Advanced
- Convolutional Neural Network (CNN)
- Recurrent Neural Network (RNN)
- LSTM
- GRU
- Transformer
- Graph Neural Network (GNN)
7οΈβ£ Anomaly / Outlier Detection
- Isolation Forest
- One-Class SVM
- Local Outlier Factor (LOF)
- Elliptic Envelope
- Autoencoder based anomaly detection
8οΈβ£ Probabilistic & Statistical Models
- Hidden Markov Model (HMM)
- Conditional Random Field (CRF)
- Bayesian Networks
- Markov Chain
9οΈβ£ Online Learning Algorithms
- Stochastic Gradient Descent (SGD)
- Online Perceptron
- Hoeffding Tree
π Note:
- Industry me sabse zyada use hone wale: π Linear/Logistic Regression, Random Forest, XGBoost, SVM, Neural Networks
- Exams / Interviews ke liye: π KNN, Naive Bayes, Decision Tree, Clustering, PCA
Agar aap chaho to main:
- πΉ sirf Deep Learning algorithms
- πΉ exam-oriented short list
- πΉ Python ke sath algorithms
- πΉ kaunsa algorithm kab use kare
bhi bana sakta hoon π
Prompt:
kaunsa algorithm kab use kare
ye bhi batatao
Response:
ΰ€ ΰ₯ΰ€ ΰ€Ήΰ₯ π
ΰ€¨ΰ₯ΰ€ΰ₯ βkaunsa Machine Learning algorithm kab use kareβ ko simple decision guide + examples ke saath samjha raha hoon.
1οΈβ£ Data ke type ke hisaab se algorithm
πΉ Numerical data (numbers)
- Linear Regression β relation linear ho
- Polynomial Regression β curve type relation
- Random Forest / XGBoost β complex patterns, best accuracy
π Example: House price prediction
πΉ Categorical data (class / label)
- Logistic Regression β simple & fast
- Naive Bayes β text data (spam detection)
- Decision Tree β explainable model
- Random Forest / XGBoost β high accuracy
π Example: Spam vs Not Spam
2οΈβ£ Dataset size ke hisaab se
πΉ Chhota dataset (<10k rows)
- KNN
- Naive Bayes
- SVM
- Decision Tree
β οΈ Deep Learning avoid karo (overfitting hota hai)
πΉ Medium dataset (10k β 1M)
- Random Forest
- Gradient Boosting
- XGBoost
- LightGBM
πΉ Bahut bada dataset (>1M)
- SGD
- Linear / Logistic Regression
- Neural Networks
- Online Learning algorithms
3οΈβ£ Problem type ke hisaab se
πΉ Regression problem (number predict karna)
| Situation | Best Algorithm |
|---|---|
| Linear relation | Linear Regression |
| Outliers present | Ridge / Lasso |
| Non-linear | Random Forest |
| High accuracy chahiye | XGBoost |
πΉ Classification problem (class predict)
| Condition | Algorithm |
|---|---|
| Binary classification | Logistic Regression |
| Text classification | Naive Bayes |
| High dimension | SVM |
| Interpretability | Decision Tree |
| Best accuracy | XGBoost / RF |
4οΈβ£ Unlabelled data (Clustering)
πΉ Clustering
| Data | Algorithm |
|---|---|
| Well-separated clusters | K-Means |
| Noise present | DBSCAN |
| Unknown clusters | Hierarchical |
| Probabilistic | GMM |
π Example: Customer segmentation
5οΈβ£ Dimensionality zyada ho
- PCA β features kam karne ke liye
- t-SNE / UMAP β visualization
- Autoencoders β deep features
π Example: Image / gene data
6οΈβ£ Time series data
- ARIMA
- SARIMA
- LSTM
- GRU
- Prophet
π Example: Stock price, weather
7οΈβ£ Text / NLP problems
- Naive Bayes
- Logistic Regression + TF-IDF
- Word2Vec
- LSTM
- Transformers (BERT, GPT)
π Example: Sentiment analysis
8οΈβ£ Image data
- CNN
- ResNet
- EfficientNet
- Vision Transformers
π Example: Face recognition
9οΈβ£ Real-time / streaming data
- Online SGD
- Hoeffding Tree
- Reinforcement Learning
π Example: Recommendation system
π Reinforcement Learning kab use kare?
- Environment + reward ho
- Agent decision leta ho
π Example: Game AI, Robotics
π§ Golden Rule (Interview Friendly)
1οΈβ£ Simple model se start karo
2οΈβ£ Overfitting check karo
3οΈβ£ Ensemble try karo
4οΈβ£ Deep Learning tab hi jab data zyada ho
Top comments (0)