regression algorithms linear regression introduction to linear regression linear regression may be defined as the statistical model that analyzes the linear relationship between dependent variable with given set of independent variables linear relationship between variables means that when the value of one or more independent variables will change (increase or decrease)the value of dependent variable will also change accordingly (increase or decreasemathematically the relationship can be represented with the help of following equationy mx herey is the dependent variable we are trying to predict is the dependent variable we are using to make predictions is the slop of the regression line which represents the effect has on is constantknown as the -intercept if would be equal to furthermorethe linear relationship can be positive or negative in nature as explained belowpositive linear relationship linear relationship will be called positive if both independent and dependent variable increases it can be understood with the help of following graphpositive linear relationship