Logistic regression
The logreg model assumes that the classes for every sample are connected via:
whereby is the probability of a sample with a sample of class being of class 1, and is the probability of the sample with value being of class 0
The probability function is thus , where
With two trainable parameters and , the logistic regression is the combination of the Linear regression and the Sigmoid function
is often referred to as the logit function with value
Logistic functions need to minimise a function called the Log-likelihood cross-entropy function
We evaluate logistic regression models through a Confusion matrix.