Dealing With Missing, Imbalanced, and Sparse Features During the Development of a Prediction Model for Sudden Death Using Emergency Medicine Data: Machine Learning Approach
Open Access
- 20 January 2023
- journal article
- research article
- Published by JMIR Publications Inc. in JMIR Medical Informatics
- Vol. 11, e38590
Abstract
Background: In emergency departments (EDs), early diagnosis and timely rescue, which are supported by prediction modes using ED data, can increase patients’ chances of survival. Unfortunately, ED data usually contain missing, imbalanced, and sparse features, which makes it challenging to build early identification models for diseases. Objective: This study aims to propose a systematic approach to deal with the problems of missing, imbalanced, and sparse features for developing sudden-death prediction models using emergency medicine (or ED) data. Methods: We proposed a 3-step approach to deal with data quality issues: a random forest (RF) for missing values, k-means for imbalanced data, and principal component analysis (PCA) for sparse features. For continuous and discrete variables, the decision coefficient R2 and the κ coefficient were used to evaluate performance, respectively. The area under the receiver operating characteristic curve (AUROC) and the area under the precision-recall curve (AUPRC) were used to estimate the model’s performance. To further evaluate the proposed approach, we carried out a case study using an ED data set obtained from the Hainan Hospital of Chinese PLA General Hospital. A logistic regression (LR) prediction model for patient condition worsening was built. Results: A total of 1085 patients with rescue records and 17,959 patients without rescue records were selected and significantly imbalanced. We extracted 275, 402, and 891 variables from laboratory tests, medications, and diagnosis, respectively. After data preprocessing, the median R2 of the RF continuous variable interpolation was 0.623 (IQR 0.647), and the median of the κ coefficient for discrete variable interpolation was 0.444 (IQR 0.285). The LR model constructed using the initial diagnostic data showed poor performance and variable separation, which was reflected in the abnormally high odds ratio (OR) values of the 2 variables of cardiac arrest and respiratory arrest (201568034532 and 1211118945, respectively) and an abnormal 95% CI. Using processed data, the recall of the model reached 0.746, the F1-score was 0.73, and the AUROC was 0.708. Conclusions: The proposed systematic approach is valid for building a prediction model for emergency patients.Keywords
This publication has 56 references indexed in Scilit:
- Predicting out of intensive care unit cardiopulmonary arrest or death using electronic medical record dataBMC Medical Informatics and Decision Making, 2013
- Identification of context-specific gene regulatory networks withGEMULA—gene expression modeling using LAssoBioinformatics, 2011
- Sudden cardiac death: epidemiology and risk factorsNature Reviews Cardiology, 2010
- Boosting support vector machines for imbalanced data setsKnowledge and Information Systems, 2009
- What is principal component analysis?Nature Biotechnology, 2008
- Laboratory risk factors for hospital mortality in acutely admitted patientsQJM: An International Journal of Medicine, 2007
- A comparative investigation of methods for logistic regression with separated or nearly separated dataStatistics in Medicine, 2006
- Novel Unsupervised Feature Filtering of Biological DataBioinformatics, 2006
- Bias reduction of maximum likelihood estimatesBiometrika, 1993
- Consistency in Generalized Isotonic RegressionThe Annals of Statistics, 1975