This repository contains implementations of core Machine Learning algorithms written from scratch using only Python, NumPy, and pandas. The goal is to build a deeper understanding of how these algorithms work under the hood without relying on external ML libraries like scikit-learn.
- Univariate Linear Regression
- Multiple variable Linear Regression
- Ridge & Lasso Regression
- Logistic Regression
- Support Vector Machine (SVM)
- Naive Bayes (Multinomial for text classification)
- K-Nearest Neighbours
- Feature Scaling
- Custom Train-Test Split
- Loss Visualization
- Ames Housing Dataset
- SMS Spam Collection Dataset
- Banknote Authentication Dataset
- Iris Dataset
This project is part of my journey into Machine Learning, aimed at solidifying foundational concepts by building each algorithm from the ground up. Ideal for beginners looking to move beyond theory and understand the math and code that power modern ML systems.
- Clone the repository:
git clone https://github.com/piyusha2001/ml-algorithms-from-scratch.git cd ml-algorithms-from-scratch