Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Machine-Learning-Algorithms-Collection

Machine Learning Banner

Machine Learning Algorithms Collection

93+ Machine Learning & Deep Learning Algorithms with Python Implementations, Comments, Sample Inputs/Outputs, Visualizations, and Mini Projects.



About This Repository

This repository contains a complete collection of Machine Learning, Deep Learning, and Artificial Intelligence algorithms implemented using Python.

The main goal of this repository is to help:

  • πŸ“š Beginners learn ML easily
  • πŸ’» Students prepare for placements
  • πŸš€ Developers build strong GitHub portfolios
  • πŸ€– AI enthusiasts understand algorithms with code

Each algorithm includes:

βœ… Beginner-Friendly Code
βœ… Detailed Comments
βœ… Sample Input & Output
βœ… Visualization (where required)
βœ… Explanation of Logic
βœ… Mini Projects
βœ… Real Dataset Examples


Technologies Used

  • Python
  • NumPy
  • Pandas
  • Matplotlib
  • Scikit-learn
  • TensorFlow
  • Keras
  • OpenCV
  • PyTorch

Repository Structure

Machine-Learning-Algorithms-Collection/
β”‚
β”œβ”€β”€ Supervised Learning/
β”œβ”€β”€ Unsupervised Learning/
β”œβ”€β”€ Deep Learning/
β”œβ”€β”€ Reinforcement Learning/
β”œβ”€β”€ NLP/
β”œβ”€β”€ Computer Vision/
β”œβ”€β”€ Time Series/
β”œβ”€β”€ Recommendation Systems/
β”œβ”€β”€ Anomaly Detection/
β”œβ”€β”€ Clustering/
β”œβ”€β”€ Regression/
β”œβ”€β”€ Classification/
└── README.md

Machine Learning Algorithms Included

Regression Algorithms

  • Linear Regression
  • Polynomial Regression
  • Ridge Regression
  • Lasso Regression
  • Elastic Net Regression
  • Logistic Regression

Classification Algorithms

  • Decision Tree
  • Random Forest
  • Support Vector Machine (SVM)
  • K-Nearest Neighbors (KNN)
  • Naive Bayes
  • XGBoost
  • LightGBM
  • CatBoost
  • AdaBoost

Clustering Algorithms

  • K-Means Clustering
  • Hierarchical Clustering
  • DBSCAN
  • Mean Shift
  • Gaussian Mixture Model (GMM)
  • Spectral Clustering

Dimensionality Reduction

  • PCA
  • t-SNE
  • UMAP

Deep Learning Algorithms

  • Artificial Neural Network (ANN)
  • Perceptron
  • Multilayer Perceptron (MLP)
  • Convolutional Neural Network (CNN)
  • Recurrent Neural Network (RNN)
  • Long Short-Term Memory (LSTM)
  • GRU
  • Transformer
  • GAN
  • Autoencoder

Anomaly Detection

  • Isolation Forest
  • Local Outlier Factor (LOF)
  • One-Class SVM

Association Rule Learning

  • Apriori
  • FP-Growth
  • Eclat

Reinforcement Learning

  • Q-Learning
  • SARSA
  • Deep Q Network (DQN)

NLP Algorithms

  • Word2Vec
  • FastText
  • BERT
  • GPT
  • Seq2Seq
  • Transformer

Computer Vision

  • CNN
  • ResNet
  • YOLO
  • RCNN
  • U-Net
  • Vision Transformer (ViT)

Features

✨ Clean and Organized Code
✨ Easy for Beginners
✨ Placement Preparation Friendly
✨ GitHub Portfolio Ready
✨ Real-World Use Cases
✨ Interview-Oriented Examples
✨ Step-by-Step Learning


Sample Algorithm Format

# Import Libraries
import numpy as np

# Sample Data
X = np.array([1, 2, 3, 4, 5])

# Print Data
print("Input:", X)

# Output
print("Output:", X * 2)

Output

Input: [1 2 3 4 5]
Output: [ 2  4  6  8 10]

Installation

Clone the repository:

git clone https://github.com/snehalathaArakkonam/Machine-Learning-Algorithms-Collection.git

Move into the folder:

cd Machine-Learning-Algorithms-Collection

Install dependencies:

pip install -r requirements.txt

Run Python files:

python filename.py

Future Improvements

  • Add Web Applications
  • Add Streamlit Deployments
  • Add Real Industry Datasets
  • Add AI Projects
  • Add Interview Questions
  • Add Mathematical Explanations
  • Add Notes PDFs

Contributions

Contributions are welcome!

If you'd like to improve algorithms, add projects, or fix issues:

  1. Fork the repository
  2. Create a new branch
  3. Commit changes
  4. Create a Pull Request

Support

If you found this repository useful:

Star this repository
Fork this repository
Share with others


Author

Snehalatha Arakkonam


License

This project is licensed under the MIT License.


Made with ❀️ for Beginners, Students, and Future AI Engineers πŸš€

About

A complete collection of Machine Learning algorithms with theory, implementation, mini projects, and datasets using Python and Scikit-learn.

Resources

Stars

17 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages