Skip to content

Commit

Permalink
Update protocols.md
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueShark002 authored Sep 29, 2024
1 parent add0087 commit adc768a
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions docs/documentation/protocols.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,25 @@ Construct three prediction models named iExtreme-T, iExtreme-P and iExtreme-S se

## 3. Evaluation metrics of models
To evaluate the predictive ability of the model, the following metrics are used:accuracy (ACC), precision (Prec), Recall (Rec) and F1 Score (F1) as in Eqs. (1)-(4)


$$
(1)~~ACC = \frac{TP+TN}{TP+TN+FP+FN}
$$

$$
(2)~~Rec = \frac{TP}{TP+FP}
(2)~~Prec = \frac{TP}{TP+FP}
$$

$$
(3)~~F1 = 2 \times \frac{Prec \times Rec}{Prec+Rec}
(3)~~Rec = \frac{TP}{TP+FN}
$$

$$
(4)~~F1 = 2 \times \frac{Prec \times Rec}{Prec+Rec}
$$



True positives (TP) represent the number of EMs (Extreme microorganisms) correctly predicted as EMs; false positives (FP) are the number of non-EMs incorrectly predicted as EMs; true negatives (TN) are the number of non-EMs correctly predicted as non-EMs; and false negatives (FN) are the number of EMs incorrectly predicted as non-EMs.

Expand Down

0 comments on commit adc768a

Please sign in to comment.