Table 2.
All allergies | Drug allergies | Food allergies | All unique strings only | |||||
---|---|---|---|---|---|---|---|---|
Dataset | Dataset | Dataset | Dataset | |||||
Measure | Training | Testing | Training | Testing | Training | Testing | Training | Testing |
# evaluated | 22 995 | 23 910 | 21 019 | 20 737 | 1755 | 1828 | 3275 | 3662 |
Accuracy (%) | 98.22 | 95.98 | 98.63 | 96.69 | 98.38 | 93.63 | 99.60 | 81.13 |
Specificity (%) | 95.97 | 97.79 | 90.32 | 85.00 | 100.00 | 88.89 | 75.00 | 97.60 |
Precision (%) | 99.98 | 99.98 | 99.99 | 99.99 | 100.00 | 99.95 | 99.97 | 99.89 |
Recall (%) | 98.23 | 95.97 | 98.83 | 96.70 | 98.38 | 93.65 | 99.63 | 80.55 |
F-measure (%) | 99.10 | 97.93 | 99.30 | 98.30 | 99.18 | 96.69 | 99.80 | 89.18 |
F-measure=harmonic mean of precision and recall.