Linear regression to Logistic regression a conversion | Maths Intuition | Data Science | Machine Learning | Mathematics Photo by Chris Lawton on Unsplash Logistic regression is a machine learning algorithm, which is used for : 1. Binary Classification 2. Multiclass Classification Yes, it is a classification algorithm, not a regression algorithm as the name is suggesting. Basically, it is used to classify between the Yes/No , 0/1 or True/False . It uses the sigmoid function to predict the result. Problem with the linear regression: In linear regression, we can find the value of a dependent variable with the help of other independent variables. It works with continuous values, basically, it draws a regression line over the graph so that the distance between the regression line and the points should be minimum. But when it comes to the binary classification then it is impossible to make a regression line through the data points, so that it can give you the best results a...
Comments
Post a Comment