reading-notes

Software Development Reading Notes

View on GitHub

Linear Regression

When Do You Need Regression?

Formulation

dependent variable 𝑦 
on the set of independent variables 𝐱 = (π‘₯₁, …, π‘₯α΅£),
where π‘Ÿ is the number of predictors, 
a linear relationship between 𝑦 and 𝐱: 𝑦 = 𝛽₀ + 𝛽₁π‘₯₁ + β‹― + 𝛽ᡣπ‘₯α΅£ + πœ€. 
this equation is the regression equation. 𝛽₀, 𝛽₁, …, 𝛽ᡣ are the regression coefficients, 
πœ€ is the random error.

Linear Regression types

Underfitting and Overfitting

Simple Linear Regression With scikit-learn

There are five basic steps when you’re implementing linear regression: