Introduction: What is Linear Regression
Linear regression is a statistical technique that is used to model the relationships between dependent variables and one or more independent variables.The linear relationship, which is built by linear regression, gives a brief explanation of the relation between the value of the dependent variable and the values of the independent variable. The value of the dependent variable changes when the value of the independent variable is changed due to the linear relationship between these variables. The mathematical representation of linear regression can be represented as: Alpha, Beta = Alpha is the point where the line is the intercept, Beta is the coefficient of Input Variable Epsilon = That symbol represents the error rate Y = It represents the target variable which is also called the dependent variable. X = It represents the predictor variable which is also called an independent variable. There are many different ways to compute linear regression, but the most common methods to compute relationship coefficients are- Ordinary Least Squares (OLS)
- Gradient Descent