Techniques analysis

For each machine learning technique we calculate their confusion matrix, accuracy, F1 Score and show their conditional probability. This will help us summarize each technique.

Logistic regression

Logistic regression is an extension of linear regression, that assures that the estimate of conditional probability is between 0 and 1. This approach applies the logistic transformation:
$g(p) = log\frac{p}{1-p}$
The conditional probability is modeled by a line, which is computed by the maximum likelihood estimate (MLE).

To illustrate the accuracy achieved, we can see the boundary line of the logistic regression applied to the training and testing data: