Logistics regressionClassification is a kind of problem in machine learning in which a machine learning model assigns the respective class to unseen data based
Divya SachanAuthor
#365
walrein
Logistics regression
Classification is a kind of problem in machine learning in which a machine learning model assigns the respective class to unseen data based on feature value. If the deciding classes are only two then the problem is known as a binary classification problem. If the classes are more than 2, then it is a multiclass logistic regression problem.
sigmoidal function
σ(z)=(1+e−z1)
where
undetermined values:
This is a specific function that converts the values of Z from to in logistic regression. This function returns a value between 0 and 1 (probabilistic).
σ(z)=(1+e−(−∞)1)
σ(z)=(1+e∞1)
σ(z)=(∞1)
σ(z)=0
z=a+bx
σ(z)=(1+e−∞1)
σ(z)=(1+e∞11)
σ(z)=(1+∞11)
σ(z)=(1+01)
σ(z)=1
In linear regression , is the output variable which gives a numerical value by using the sigmoidal function . We can turn the value between 0 and 1.
In logistic regression, we obtain a value between 0 and 1, which is a probability value, and then we decide on a threshold value.
if
V (value) T (Threshold)
Then a particular class is assigned to z, otherwise the other class.
is 0. If the result is greater than class A, otherwise class B
Binomial logistic regression.
If the number of assigned classes is two, then the logistic regression is binomial logistic regression; if the number of assigned classes is more than two, then it is multinomial logistic regression.
Logistic Regression
Logistic Degrees models are used in Binary classification and multi-classification. They are widely used in email categorization, disease detection, fraud detection, and text emotion analysis
Measurement of the performance of the machine learning model metric