What is Linear Regression ???
Vishwajeet Singh Rana
Senior Software Engineer (AI, Computer Vision and Video Analytics) at Collins Aerospace, Raytheon Technologies
Linear regression is a statistical method used to model the relationship between a dependent variable and one or more independent variables. The basic formula for a simple linear regression with one independent variable (x) and one dependent variable (y) is:
y = b0 + b1 * x
where:
In multiple linear regression, there are more than one independent variables, and the formula is:
y = b0 + b1 * x1 + b2 * x2 + ... + bn * xn
where:
The coefficients can be estimated using a variety of methods, such as the ordinary least squares (OLS) method, and can be used to make predictions about the dependent variable.