This repository showcases simple, beginner-friendly implementations of:
- π΅ Linear Regression (for predicting continuous values)
- π Logistic Regression
Each model is implemented in two ways:
- π From Scratch using NumPy
- βοΈ Using scikit-learn for comparison and best practices
You can run these notebooks using Jupyter Notebook or Google Colab.
The following libraries are used in the notebooks to implement the models and preprocess the data:
Library | Description | Documentation Link |
---|---|---|
numpy |
Numerical operations for scratch implementations | NumPy Docs |
pandas |
Data manipulation and loading | Pandas Docs |
matplotlib |
Data visualization (graphs and charts) | Matplotlib Docs |
scikit-learn |
Built-in ML models and data preprocessing tools | Scikit-learn Docs |
sklearn.preprocessing |
Tools for scaling and encoding data | Sklearn Preprocessing |