*3.5. Performance Evaluation*

The performance evaluation that was implemented in this study is based on the following expressions:

$$\text{Precision} = \frac{\text{TP}}{\text{TP} + \text{FP}} \tag{1}$$

$$\text{Recall} = \frac{\text{TP}}{\text{TP} + \text{FN}} \tag{2}$$

$$\text{F}-\text{measure}=\frac{\text{2 (TP)}}{\text{2 ((TP)}+(\text{FN}))}\tag{3}$$

$$\text{Accuracy} = \frac{\text{TP} + \text{TN}}{\text{TP} + \text{TN} + \text{FP} + \text{FN}} \tag{4}$$

Receiver operating characteristic (ROC) curve is a plot graph of the true positive rate against the false positive rate at different classification threshold setting. The true positive rate is also known as Recall in Equation (2) and false positive is defined as following expression:

$$\text{False positive rate} = \frac{\text{FP}}{\text{FP} + \text{TN}} \tag{5}$$

where TP—True Positive, TN—True Negative, FP—False Positive, and FN—False Negative.
