REGRESSION
A statistical measure determines the strength of the relationship between the dependent variable (yp) and another independent variable (x1, x2, x3…)
It is used for predicting and forecasting
-
Linear regression:
it checks the distance or relation between the independent and dependent variable
Working:
continuous in nature
-
It calculated the predicted variable (yp)
-
Create a best-fit line by using the least square method (LSM)
(y=mx + c)
R2 is used to minimize the error
-
Logistic regression
Classification type
It does not continue in nature
It follows sigmoid function
It can be modified the line of equation
y=dependent
x=independent
Target variable= y= categorical, discrete nature
S cure (sigmoid line)
it gives probability value
value of y is depend upon threshold value
last equation or final equation=> y= c + m1 x1 + m2 x2…mnxn