Solved – Plotting decision boundary of Logistic Regression (liblinear)

classificationlibsvmlogisticregressionsvm

I have liblinear model file for a classifier learned using logistic regression. In the file, they say, the weight vector and intercept term. But when I simply plot it as
$$w^Tx + b$$
on the original data, it does not seems like the proper decision boundary. But in case of SVM, plotting

$$w^Tx+b$$ seems to be the correct way. Is there any difference in case of Logistic Regression with liblinear ?

Best Answer

Logistic regression does not have decision boundaries. It is a method to estimate probabilities of events/class membership. Decisions are made in a separate step once you know the estimated risk along with utilities/costs/loss function, which is the way optimum decisions are made.