Table 3.
Performance metrics and functions.
| Metric (M) | Description | Function |
|---|---|---|
| Accuracy | Proportion of correctly classified segments | |
| Precision | Proportion of correctly identified positive segments | |
| Recall | Proportion of positive segments identified | |
| F1-score | Harmonic mean of precision and recall |
tp = true positives for each class, where true and predicted label are both positive. tn = true negatives for each class, where true and predicted label are both negative. fp = false positives for each class, where the true label is negative but predicted label is positive. fn = false negatives for each class, where the true label is positive but predicted label is negative.