| Literature DB >> 27459993 |
Abstract
BACKGROUND: Longitudinal data sources, such as electronic health records (EHRs), are very valuable for monitoring adverse drug events (ADEs). However, ADEs are heavily under-reported in EHRs. Using machine learning algorithms to automatically detect patients that should have had ADEs reported in their health records is an efficient and effective solution. One of the challenges to that end is how to take into account the temporality of clinical events, which are time stamped in EHRs, and providing these as features for machine learning algorithms to exploit. Previous research on this topic suggests that representing EHR data as a bag of temporally weighted clinical events is promising; however, the weights were in that case pre-assigned according to their time stamps, which is limited and potentially less accurate. This study therefore focuses on how to learn weights that effectively take into account the temporality and importance of clinical events for ADE detection.Entities:
Keywords: Adverse drug events; Electronic health records; Learning weights; Machine learning; Pharmacovigilance; Random forest; Temporality
Mesh:
Year: 2016 PMID: 27459993 PMCID: PMC4965710 DOI: 10.1186/s12911-016-0311-6
Source DB: PubMed Journal: BMC Med Inform Decis Mak ISSN: 1472-6947 Impact factor: 2.796
Fig. 1Learning temporal weights of clinical events from electronic health records
Datasets description including class label, number of positive examples, number of negative examples and number of related unique clinical events
| ADE | Description | Positive | Negative | Events |
|---|---|---|---|---|
| D611 | Drug-induced aplastic anaemia | 593 | 105 | 2025 |
| D642 | Drug-induced secondary sideroblastic anaemia | 217 | 9673 | 6076 |
| D695 | Secondary thrombocytopenia | 1246 | 2148 | 4134 |
| E273 | Drug-induced adrenocortical insufficiency | 70 | 259 | 1601 |
| G620 | Drug-induced polyneuropathy | 96 | 783 | 2448 |
| I952 | Drug-induced hypotension | 115 | 1287 | 2933 |
| L270 | Drug-induced generalized skin eruption | 182 | 468 | 2480 |
| L271 | Drug-induced localized skin eruption | 151 | 498 | 2481 |
| M804 | Drug-induced osteoporosis with pathological fracture | 52 | 1170 | 2208 |
| M814 | Drug-induced osteoporosis | 57 | 5097 | 4158 |
| O355 | Maternal care for damage to fetus by drugs | 146 | 260 | 1277 |
| R502 | Drug-induced fever | 80 | 6434 | 5151 |
| T782 | Adverse effects: anaphylactic shock | 131 | 856 | 2639 |
| T783 | Adverse effects: angioneurotic oedema | 283 | 720 | 2639 |
| T784 | Adverse effects: allergy | 574 | 415 | 2635 |
| T801 | Vascular complications following infusion, transfusion and therapeutic injection | 66 | 609 | 2063 |
| T808 | Other complications following infusion, transfusion and therapeutic injection | 538 | 138 | 2060 |
| T886 | Drug-induced anaphylactic shock | 89 | 1506 | 3765 |
| T887 | Unspecified adverse effect of drug or medicament | 1047 | 550 | 3770 |
Predictive performance of models using pre-assigned (P) or learned (L) weights in the weighted aggregation (WA) strategy
| Accuracy | AUC | AUPRC | ||||||
|---|---|---|---|---|---|---|---|---|
| ADE | PWA | LWA | PWA | LWA | PWA | LWA | ||
| D611 | 76.46 |
| 0.882 | 0.882 |
| 0.954 | ||
| D642 | 97.79 | 97.79 |
| 0.965 |
| 0.688 | ||
| D695 | 76.28 |
| 0.863 |
|
| 0.768 | ||
| E273 | 81.77 |
|
| 0.669 | 0.309 |
| ||
| G620 | 91.64 | 91.64 |
| 0.803 | 0.316 |
| ||
| I952 | 91.71 | 91.71 |
| 0.564 |
| 0.107 | ||
| L270 |
| 72.12 |
| 0.841 |
| 0.793 | ||
| L271 | 84.18 | 84.18 |
| 0.735 |
| 0.342 | ||
| M804 | 95.17 | 95.17 |
| 0.615 |
| 0.075 | ||
| M814 | 98.71 | 98.71 | 0.732 |
| 0.040 |
| ||
| O355 |
| 71.55 | 0.978 |
| 0.934 |
| ||
| R502 | 99.16 | 99.16 |
| 0.776 |
| 0.168 | ||
| T782 | 94.81 | 94.81 |
| 0.700 |
| 0.152 | ||
| T783 | 83.33 | 83.33 | 0.749 |
| 0.362 |
| ||
| T784 | 66.15 | 66.15 | 0.734 |
| 0.809 |
| ||
| T801 | 90.35 | 90.35 | 0.891 |
|
| 0.458 | ||
| T808 |
| 77.72 |
| 0.879 | 0.958 | 0.958 | ||
| T886 | 94.95 | 94.95 | 0.689 |
|
| 0.109 | ||
| T887 |
| 60.97 | 0.751 |
|
| 0.773 | ||
| Average | 84.58 | 84.50 | 0.788 | 0.782 | 0.493 | 0.482 | ||
|
| 0.2936 | 0.1564 | 0.08743 | |||||
Bold indicates winning
Predictive performance of models using pre-assigned (P) or learned (L) weights in the weighted sampling (WS) strategy
| Accuracy | AUC | AUPRC | ||||||
|---|---|---|---|---|---|---|---|---|
| ADE | PWS | LWS | PWS | LWS | PWS | LWS | ||
| D611 | 76.46 |
| 0.887 |
| 0.949 |
| ||
| D642 | 97.79 |
| 0.979 |
| 0.814 |
| ||
| D695 | 71.10 |
| 0.895 |
| 0.806 |
| ||
| E273 |
| 79.92 | 0.615 |
| 0.264 |
| ||
| G620 | 91.64 |
| 0.815 |
| 0.334 |
| ||
| I952 |
| 91.64 |
| 0.554 | 0.116 |
| ||
| L270 | 67.14 |
|
| 0.828 | 0.791 |
| ||
| L271 | 84.18 |
| 0.753 |
| 0.356 |
| ||
| M804 |
| 95.12 | 0.571 |
| 0.072 |
| ||
| M814 |
| 98.69 | 0.702 |
| 0.039 |
| ||
| O355 | 82.13 |
| 0.980 |
| 0.948 |
| ||
| R502 | 99.16 |
|
| 0.774 | 0.148 |
| ||
| T782 | 94.81 |
| 0.741 |
| 0.188 |
| ||
| T783 | 83.33 |
| 0.771 |
| 0.393 |
| ||
| T784 | 66.86 |
|
| 0.761 |
| 0.829 | ||
| T801 | 90.35 |
| 0.868 |
| 0.533 |
| ||
| T808 | 77.93 |
| 0.869 |
| 0.954 | 0.954 | ||
| T886 |
| 94.86 |
| 0.738 | 0.159 |
| ||
| T887 | 60.19 |
| 0.762 |
| 0.765 |
| ||
| Average | 84.49 | 88.85 | 0.787 | 0.797 | 0.498 | 0.548 | ||
|
| 0.002838 | 0.01597 | 0.00001907 | |||||
Bold indicates winning
Fig. 2Error rates of average tree versus ensemble of the weighted aggregation (WA) and weighted sampling (WS) strategy using pre-assigned (P) and learned (L) weights respectively
Fig. 3Compare weights learned on different specificity levels in terms of predictive performance. Green indicates a significant difference and red indicates no significance. P-values are obtained via a Friedman test
Post-hoc analysis results of significance testing on pair-wised comparisons among different weights specificity levels in the weighted sampling strategy
| Accuracy | AUC | AUPRC | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| ADE | all | type | time | all | type | time | all | type | time | ||
| all | – | 0.052 | 0.045 | – | 0.028 | 0.746 | – | 0.002 | 0.144 | ||
| type | – | – | 0.626 | – | – | 0.028 | – | – | 0.052 | ||
| Ave. Rank | 1.53 | 2.16 | 2.32 | 1.68 | 2.53 | 1.79 | 1.47 | 2.58 | 1.95 | ||