A comprehensive collection of Machine Learning and Deep Learning algorithms implemented from scratch in Python, with mathematical intution, detailed explanations, and practical examples.
Machine Learning Hub is an educational repository implementing machine learning algorithms from scratch instead of relying on high-level machine learning frameworks. The focus is to understand the mathematics, logic and optimization behind every algorithm.
To develop a strong foundation in machine learning with clean, well-structured, and reusable code.
- π Machine Learning algorithms implemented from scratch
- π§ Mathematical intuition and derivations
- π» Clean, readable, and well-documented Python code
- π Practical examples with datasets
- π Data visualization for better understanding
- π Step-by-step learning progression
- π Continuous repository updates
Machine-Learning-Hub/
β
βββ 01_Linear_Regression/
βββ 02_Logistic_Regression/
βββ 03_KNN/
βββ 04_Naive_Bayes/
βββ 05_Decision_Tree/
βββ 06_Random_Forest/
βββ 07_Support_Vector_Machine/
βββ 08_KMeans/
βββ 09_Principal_Component_Analysis/
βββ 10_Neural_Network/
βββ 11_Backpropagation/
βββ 12_Gradient_Descent/
βββ 13_CNN/
βββ 14_RNN/
βββ 15_LSTM/
βββ 16_Transformer/
β
βββ datasets/
βββ assets/
βββ README.md
βββ LICENSE
- β Linear Regression
- β³ Logistic Regression
- β³ K-Nearest Neighbors (KNN)
- β³ Naive Bayes
- β³ Decision Tree
- β³ Random Forest
- β³ Support Vector Machine (SVM)
- β³ K-Means Clustering
- β³ Principal Component Analysis (PCA)
- β³ Neural Networks
- β³ Gradient Descent
- β³ Backpropagation
- β³ Convolutional Neural Networks (CNN)
- β³ Recurrent Neural Networks (RNN)
- β³ Long Short-Term Memory (LSTM)
- β³ Transformer Architecture
- Python
- NumPy
- Pandas
- Matplotlib
- Build every algorithm from scratch.
- Understand the mathematical foundations of Machine Learning.
- Improve problem-solving and implementation skills.
- Create reusable educational implementations.
- Build a strong foundation for Deep Learning and Artificial Intelligence.
- Implement optimization algorithms
- Build a custom neural network library
- Implement automatic differentiation (Autograd)
- Build transformer models from scratch
- Train small language models
- Develop an educational Machine Learning framework
Contributions, suggestions, and improvements are welcome.
If you find an issue or have ideas for enhancement, feel free to open an issue or submit a pull request.
This project is licensed under the Apache License 2.0.
See the LICENSE file for more information.
Your support helps motivate continued development and encourages others to discover the project. If you find this repository helpful, consider giving it a star π.
Learn β’ Implement β’ Experiment β’ Understand