/regression

Digging into the regression algorithm, understanding it and coding it from scratch.

Primary LanguageJupyter Notebook

Regression-How-It-Works

##Linear Regression: Digging into the regression algorithm, undertstanding and coding it from scratch.

The Best-Fit Line to a particular set of data is the linear line that fits it the most. But is it an accurate/good-fit to that data?

The Good-Fit Line is the line that is the most accurate to that data. The R2 or the coefficent of determination indicates the extent of how well the line has fit the data and this s done using Sqaured Error theory

The Line with the most R2 score/Coefficent of Determination will be the best approximation for future values and thus, a good-fit line.

Coefficent of Determination