Implementation of popular machine learning algorithms using only NumPy to understand the fundamentals better. No high-level ML libraries - just pure math and NumPy!
- Decision Trees ✓
- Random Forest
- K-Nearest Neighbors (KNN)
- Linear Regression
- Logistic Regression
- K-Means Clustering
- Neural Networks
- Support Vector Machines (SVM)
- Principal Component Analysis (PCA)
pip install -r requirements.txt
Each algorithm has its own directory containing:
- Implementation file
- Example usage
- Mathematical explanation
- Visualizations
Contributions are welcome! Feel free to:
- Add new algorithms
- Improve existing code
- Add test cases
- Enhance documentation
MIT License