From: Phishing website prediction using base and ensemble classifier techniques with cross-validation
Type of metric | Formula | Â |
---|---|---|
Accuracy | \({\text{ACC}} = \frac{{{\text{tp}} + {\text{tn}}}}{{{\text{tp}} + {\text{fp}} + {\text{tn}} + {\text{fn}}}}\) | (11) |
Recall | \({\text{Recall}} = \frac{{{\text{tp}}}}{{{\text{tp}} + {\text{fn}}}}\) | (12) |
Precision | \({\text{Precision}} = \frac{{{\text{tp}}}}{{{\text{tp}} + {\text{fp}}}}\) | (13) |
F1-score | \({\text{F}} = 2.\frac{{{\text{precision}}.{\text{recall}}}}{{{\text{precision}} + {\text{recall}}}}\) | (14) |
Specificity | \({\text{Specificity}} = \frac{{{\text{tn}}}}{{{\text{tn}} + {\text{fp}}}}\) | (15) |