Logistic Regression
Logistic regression is a classification algorithm used to
observations discrete set of classes
to
-
assign a
Unlike linear regression which outputs continuous number
values logistic regression transforms its output
using the sigmoid function to return the probability
value which can then be to two or more discrete
mailed
classes
Logistic regression models the probabilities for
classification problem with two possible outcomes
Logistic regression is used when dependent variableCtarget
is categorical
Instead of fitting model
a
straight line or hyperplane the
logistic regression uses the logistic function to
squeeze the output of a linear equation between 042
Sigmoid function y 1
n
te
here R is the independent variable which we want to
transform
e is Euler's constant i e Z 71828 and y is output
Sigmoid function is simply trying to convert the
independent variable into a probability that ranges
between 0 and 2 with respect to the dependent
variable
Q what about data points
which are positioned precisely
at o s probability
Ans They will be unclassified
This situation is very rare
fields where Logistic Regression
is used
fraud Detection
Disease Diagnosis
Emergency Detection
Spam No spam
True false
while working with Logistic Regression dataset should
be free of missing values