4.4.1 Precision
Precision is a degree of what fraction of test data is detected as attack are actually from the attack classes.
Where TP represents the true positive value, FP indicates the false positive.