Professional Documents
Culture Documents
05 Logistic Regression
05 Logistic Regression
We may have to create best fit line again for new future data points..which will make our previous data
points category not useful//
Now we have 2 models trained on the same dataset, one by
linear regression, and another by logistic regression. We can
compare both models performance by using root mean squared
error (RMSE) and the coefficient of determination (R² score).
Problem #2: Sensitive to imbalance data
2 Convert to dummies
4 Build Model
Use Ks
Or
Sp
P/1-P = Z
Log(P)/(Log(1-P) = Z
Taking Exponential
P(1+Z) = Z
P = exp(Z)/(1+exp(Z))
Z = Anand__ Wajirabaad
Cutoff will help us getting in Precison and Recall and other parameters such as Accuracy…
But these Precision and Recall will help me in calculating the F Beta score…