mahdi-eth/Linear-Regression-from-Scratch

This project implements a Python-based linear regression model from scratch, complete with custom functions for mean squared error and gradient descent algorithm. It is tested on data, using features to predict target variables. The project offers a practical introduction to linear regression.

37
/ 100
Emerging

This project helps data scientists and machine learning engineers understand the core mechanics of linear regression by providing a transparent, from-scratch implementation. You provide a dataset with numerical features and a target variable, and it outputs a model that can predict future values, along with an explanation of how the predictions are made. It's ideal for those learning or teaching the foundational algorithms of predictive modeling.

No commits in the last 6 months.

Use this if you are a student, educator, or practitioner looking to deeply understand how a linear regression model works under the hood without relying on black-box libraries.

Not ideal if you need a production-ready, highly optimized, or feature-rich linear regression implementation for real-world applications.

data-science-education machine-learning-foundations predictive-modeling-basics algorithm-explanation
Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 5 / 25
Maturity 16 / 25
Community 16 / 25

How are scores calculated?

Stars

14

Forks

6

Language

Jupyter Notebook

License

MIT

Last pushed

Mar 28, 2025

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/mahdi-eth/Linear-Regression-from-Scratch"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.