Data Science | Machine learning algoritms

Question

Can we use the logistic regression algorithm for a regression problem?

in progress 0
Manish Gautam 4 years 1 Answer 827 views Member 2

Answer ( 1 )

  1. Logistic Regression is a machine learning algorithm that is basically used for the classification problem( Output is either 0 or 1 ). For e.g, if the ‘CGPA’ of the student is given and we have to predict whether the student is ‘fail’ or ‘Pass’ is called a classification problem. The curve of the
    Logistic Regression follows a sigmoid function with a threshold value of 0.5 therefore any type of input will be converted between 0 to 1. So there is no use in using a logistic regression algorithm for a regression problem.


    Attachment

Leave an answer

Browse
Browse