| Literature DB >> 35831909 |
Omid Mehrpour1,2, Farhad Saeedi3,4, Christopher Hoyte4,5, Foster Goss6,7, Farshad M Shirazi8.
Abstract
BACKGROUND: With diabetes incidence growing globally and metformin still being the first-line for its treatment, metformin's toxicity and overdose have been increasing. Hence, its mortality rate is increasing. For the first time, we aimed to study the efficacy of machine learning algorithms in predicting the outcome of metformin poisoning using two well-known classification methods, including support vector machine (SVM) and decision tree (DT).Entities:
Keywords: Decision tree; Metformin; National Poison Data System; Support vector machine
Mesh:
Substances:
Year: 2022 PMID: 35831909 PMCID: PMC9281002 DOI: 10.1186/s40360-022-00588-0
Source DB: PubMed Journal: BMC Pharmacol Toxicol ISSN: 2050-6511 Impact factor: 2.605
Fig. 1Decision tree model
The rules driven from the decision tree model
| If acidosis and renal failure occur, patients will develop a major outcome (100%) | 1 |
| If acidosis and hypotension occur while renal failure does not occur, patients are more likely to develop major outcomes (64.6%) | 2 |
| If acidosis and hypoglycemia are present, while renal failure and hypotension do not occur, patients are more likely to develop major outcomes (50%) | 3 |
| If acidosis occurs while renal failure, hypotension and hypoglycemia do not occur, patients are more likely to develop moderate outcomes (86%) | 4 |
| If a patient experiences hypoglycemia without acidosis, moderate outcomes are more likely (92.9%) | 5 |
| If a patient with an age of more than 59.5 experiences electrolyte abnormalities without acidosis, hypoglycemia, the development of major outcomes is more likely (66.7%) | 6 |
| If a patient with an age of less than 59.5 experiences electrolyte abnormalities without acidosis, hypoglycemia, the development of a moderate outcome is very likely (96.9%) | 7 |
| If tachycardia and hypertension are present, while acidosis, hypoglycemia and electrolyte abnormalities are not present, patients develop moderate outcomes (100%) | 8 |
| If tachycardia is present without acidosis, hypoglycemia, electrolyte abnormalities and hypertension, patients are likely to develop a minor outcomes (50%) | 9 |
| If increased creatinine is present, while acidosis, hypoglycemia, electrolyte abnormalities and tachycardia are not present, patients are more likely to develop moderate outcomes (90%) | 10 |
| If an elevated anion gap is present, while acidosis, hypoglycemia, electrolyte abnormalities, tachycardia and elevated creatinine are not present, patients develop moderate outcomes (100%) | 11 |
| If a patient has an unintentional exposure without hypoglycemia, electrolyte abnormalities, tachycardia, elevated creatinine and elevated anion gap, the patient is more likely to develop minor outcomes (94.6%) | 12 |
| If acidosis does not occur, hypoglycemia does not occur, electrolyte abnormality does not exist, tachycardia does not exist, elevated creatinine does not exist, elevated anion gap does not exist, the reason for exposure is not unintentional, other miscellaneous are present, THEN patients are more likely to develop minor outcomes (71%) | 13 |
| If hypotension occurs, while acidosis, hypoglycemia, electrolyte abnormalities, tachycardia, elevated creatinine, elevated anion gap do not occur, the reason for exposure is unintentional, other miscellaneous are not present, THEN patients are more likely to develop moderate outcomes (75%) | 14 |
| If the cause of exposure is unintentional, and acidosis, hypoglycemia, electrolyte abnormalities, tachycardia, elevated creatinine, elevated anion gap and hypotension do not occur, other miscellaneous are not present, patients are more likely to develop minor outcomes (86.5%) | 15 |
Fig. 2Important features based on decision tree algorithm
Characteristics for the training and test sets of SVM and DT
| Labels | Dataset | Model | Major effect | Minor effect | Moderate effect | Average | Weighted average |
|---|---|---|---|---|---|---|---|
| Training Set | DT | 0.990123 | 0.798817 | 0.938451 | 0.909130 | 0.856677 | |
| SVM | 0.999506 | 0.784615 | 0.961272 | 0.915131 | 0.856145 | ||
| Test Set | DT | 0.983752 | 0.765734 | 0.941300 | 0.896929 | 0.838008 | |
| SVM | 0.986706 | 0.786713 | 0.947589 | 0.907003 | 0.852953 | ||
| Training Set | DT | 0.807692 | 0.881616 | 0.855987 | 0.848432 | 0.868604 | |
| SVM | 0.989247 | 0.876275 | 0.905724 | 0.923749 | 0.892954 | ||
| Test Set | DT | 0.717949 | 0.862140 | 0.856410 | 0.812166 | 0.851595 | |
| SVM | 0.750000 | 0.874227 | 0.874372 | 0.832866 | 0.866857 | ||
| Training Set | DT | 0.631579 | 0.964204 | 0.742978 | 0.779587 | 0.870714 | |
| SVM | 0.691729 | 0.981721 | 0.755618 | 0.809690 | 0.889249 | ||
| Test Set | DT | 0.651163 | 0.965438 | 0.687243 | 0.767948 | 0.852778 | |
| SVM | 0.627907 | 0.976959 | 0.716049 | 0.773638 | 0.868056 | ||
| Training Set | DT | 0.708861 | 0.921062 | 0.795489 | 0.808471 | 0.866553 | |
| SVM | 0.814159 | 0.926006 | 0.823890 | 0.854685 | 0.885421 | ||
| Test Set | DT | 0.682927 | 0.910870 | 0.762557 | 0.785451 | 0.847201 | |
| SVM | 0.683544 | 0.922742 | 0.787330 | 0.797872 | 0.862755 | ||
| Training Set | DT | NaN | NaN | NaN | 0.870714 | 0.870714 | |
| SVM | NaN | NaN | NaN | 0.889249 | 0.889249 | ||
| Test Set | DT | NaN | NaN | NaN | 0.852778 | 0.852778 | |
| SVM | NaN | NaN | NaN | 0.868056 | 0.868056 |
Confusion matrix for DT and SVM models in the training and test sets
| True Prediction | Dataset | Model | Major effect | Minor effect | Moderate effect |
|---|---|---|---|---|---|
| Training Set | DT | 84 | 6 | 43 | |
| SVM | 92 | 8 | 33 | ||
| Test Set | DT | 28 | 2 | 13 | |
| SVM | 27 | 1 | 15 | ||
| Training Set | DT | 1 | 1266 | 46 | |
| SVM | 1 | 1289 | 23 | ||
| Test Set | DT | 0 | 419 | 15 | |
| SVM | 0 | 424 | 10 | ||
| Training Set | DT | 19 | 164 | 529 | |
| SVM | 0 | 174 | 538 | ||
| Test Set | DT | 11 | 65 | 167 | |
| SVM | 9 | 60 | 174 |
Fig. 3Precision-recall curve for decision tree model
Fig. 4ROC curve for decision tree model
Fig. 5Precision-recall curve for SVM model
Fig. 6ROC curve for SVM model