/Ordinary-Least-Squares-Regression

OLSM regression from scratch and using library

Primary LanguageJupyter Notebook

Ordinary-Least-Squares-Regression

OLSM regression from scratch and using library

This code is an implementation of simple linear regression.

Contains 2 files.

File 1: OLSM using Library - Used library statsmodel for regression File 2: OLSM raw - From scratch implementation of OLSM

Used the dataset provided in the dataset.csv file. Head size vs Brain weight.