December 29, 2020
Logistic regression deals with with binary class problems and in it we try to predict in which of the two classes the data point belongs. Secondly we compute this probability using the distance of the point from the line that separates the the two classes. In other words the prediction accuracy depends upon the slope and intercept value of the aforementioned line.
The attributes of sigmoid function that makes it best suited for logistic regression algorithm are:
- Accentuation: Due exponential nature of the curve described by sigmoid function, a small change in input results in large change in output. Therefore for a small variation in the slope or intercept of the classification line, the change in error rate is significant. This helps improve model accuracy and ensures generalization.
- Range: The range of the function is between 0 & 1, thus making it a suitable candidate for probability computations.
by : Monis Khan
Logistic regression deals with with binary class problems and in it we try to predict in which of the two classes the data point belongs. Secondly we compute this probability using the distance of the point from the line that separates the the two classes. In other words the prediction accuracy depends upon the slope […]