All projects
hobby

Univariate Linear Regression: Understanding ULR from Scratch

Building Linear Regression Without Libraries

A from-scratch implementation of univariate linear regression to understand what's happening under the hood.

Overview

Instead of just calling sklearn's LinearRegression and moving on, I built ULR from scratch — gradient descent, cost function, update rules, all of it written manually. The point was to actually understand what the libraries are doing rather than treating them as black boxes. Published on Kaggle as both a learning exercise and a reference for others going through the same thing.