Next Article in Journal
Mortality Risk Assessment in Peripheral Arterial Disease—The Burden of Cardiovascular Risk Factors over the Years: A Single Center’s Experience
Next Article in Special Issue
Infection with SARS-CoV-2 Is Associated with Elevated Levels of IP-10, MCP-1, and IL-13 in Sepsis Patients
Previous Article in Journal
Genome-Wide Association Study Identifies Genetic Variants Associated with Rotator Cuff Tear—A Pilot Study
Previous Article in Special Issue
Dealing with the Problem of Monotone Likelihood in the Inflation of Estimated Effects in Clinical Studies. Comment on Hasegawa et al. Impact of Blood Type O on Mortality of Sepsis Patients: A Multicenter Retrospective Observational Study. Diagnostics 2020, 10, 826
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Predicting Bacteremia among Septic Patients Based on ED Information by Machine Learning Methods: A Comparative Study

1
Department of Emergency Medicine, National Cheng Kung University Hospital, College of Medicine, National Cheng Kung University, Tainan 70101, Taiwan
2
Clinical Medicine Research Center, College of Medicine, National Cheng Kung University, Tainan 70101, Taiwan
3
Department of Statistics and Institute of Data Science, College of Management, National Cheng Kung University, Tainan 70101, Taiwan
4
Waikato Management School, University of Waikato, Hamilton 3240, New Zealand
*
Authors to whom correspondence should be addressed.
Diagnostics 2022, 12(10), 2498; https://doi.org/10.3390/diagnostics12102498
Submission received: 18 August 2022 / Revised: 10 October 2022 / Accepted: 10 October 2022 / Published: 15 October 2022
(This article belongs to the Special Issue Prediction and Diagnosis of Sepsis)

Abstract

:
Introduction: Bacteremia is a common but life-threatening infectious disease. However, a well-defined rule to assess patient risk of bacteremia and the urgency of blood culture is lacking. The aim of this study is to establish a predictive model for bacteremia in septic patients using available big data in the emergency department (ED) through logistic regression and other machine learning (ML) methods. Material and Methods: We conducted a retrospective cohort study at the ED of National Cheng Kung University Hospital in Taiwan from January 2015 to December 2019. ED adults (≥18 years old) with systemic inflammatory response syndrome and receiving blood cultures during the ED stay were included. Models I and II were established based on logistic regression, both of which were derived from support vector machine (SVM) and random forest (RF). Net reclassification index was used to determine which model was superior. Results: During the study period, 437,969 patients visited the study ED, and 40,395 patients were enrolled. Patients diagnosed with bacteremia accounted for 7.7% of the cohort. The area under the receiver operating curve (AUROC) in models I and II was 0.729 (95% CI, 0.718–0.740) and 0.731 (95% CI, 0.721–0.742), with Akaike information criterion (AIC) of 16,840 and 16,803, respectively. The performance of model II was superior to that of model I. The AUROC values of models III and IV in the validation dataset were 0.730 (95% CI, 0.713–0.747) and 0.705 (0.688–0.722), respectively. There is no statistical evidence to support that the performance of the model created with logistic regression is superior to those created by SVM and RF. Discussion: The advantage of the SVM or RF model is that the prediction model is more elastic and not limited to a linear relationship. The advantage of the LR model is that it is easy to explain the influence of the independent variable on the response variable. These models could help medical staff identify high-risk patients and prevent unnecessary antibiotic use. The performance of SVM and RF was not inferior to that of logistic regression. Conclusions: We established models that provide discrimination in predicting bacteremia among patients with sepsis. The reported results could inspire researchers to adopt ML in their development of prediction algorithms.

1. Introduction

Bacteremia is a common healthcare problem encountered by clinicians, with a community incidence of approximately 0.82% [1]. Despite the development of therapeutic strategies and antimicrobial therapy, bacteremia is usually considered a life-threatening infectious disease if organ dysfunction occurs [2]. Therefore, prompt administration of appropriate antimicrobials remains the cornerstone of bacteremia treatment to achieve favorable prognoses [3]. Generally, the gold standard for diagnosis of bloodstream infections is microbial growth on blood cultures [4]. However, microbial growth is time-consuming, and the result cannot be recognized immediately by first-line physicians in the emergency department (ED) [5]. Therefore, ED physicians usually need to decide whether to order a blood culture and prescribe empirical antibiotics to patients when they suspect bacteremia based on their experience and intuition without microbiologic support [6,7].
The clinical presentation of bacteremia varies and largely depends on the infection site, host immune status or comorbidities, causative microorganisms, and severity of illness at onset [8]. However, because a well-defined rule to assess patient risk of bacteremia and the urgency of blood culture is lacking for ED physicians [9], the incidence of bacteremia is often underestimated, and excessive culture examinations are conducted [5]. We believe the underestimation of bacteremia in patients could result in the delayed administration of appropriate antibiotics, and excessive culture examination could result in a waste of medical resources [10] and expose patients to unnecessary risks [5].
To prevent unnecessary blood culture examination, numerous studies aiming to identify populations with a high risk of bacteremia have been reported [11]. However, the utilization and validation of these studies are often limited [11]. The majority of models can only be applied to specific populations [12] or specific infectious foci [13,14], and some models achieve poor discrimination in bacteremic patients [15]. To date, numerous reports have addressed ED patients to predict the occurrence of bacteremia, but their targeted populations were patients with infections suspected by ED physicians [16,17]. Investigations detailing septic population to establish a valuable model for prediction of bacteremia are lacking in clinical ED practice.
The disposition of large-scale information has been realized through the introduction of information technologies and electronic medical records (EMRs) at modern medical institutes. Patient physiologic and laboratory parameters are often extracted to build predictive models using machine learning (ML) [18]. Several studies have proposed the prediction of bacteremia using multilayer perceptron, random forest (RF), and gradient boosting algorithms [19] or logistic regression (LR) and support vector machines (SVM) via machine learning techniques [20]. However, few analyses have compared machine learning methods. Based on the advantage of ML in managing big data [21], the aim of this study is to establish a predictive model for bacteremia in septic patients using big data available in the ED through LR, SVM, and RF.

2. Material and Methods

2.1. Study Design and Data Collection

We conducted a cohort study consisting of retrospectively captured target patients in the ED of National Cheng Kung University Hospital (a university-affiliated medical center with 1400 beds) from January 2015 to December 2019. The inclusion criteria were ED adults (≥18 years) presenting with systemic inflammatory response syndrome (SIRS) who had blood cultures during their ED stay. Exclusion criteria included patients with incomplete information detailing our measurements and outcomes. The layer sampling method was used to divide all the targeted patients into a 70% derivation dataset and a 30% validation dataset.

2.2. Measurements and Outcomes

All variables available in the ED were captured for analyses regarding patient demographics, previously identified comorbidities, vital signs upon ED triage, and laboratory data. Past comorbidities were retrieved from EMRs at the hospital and were determined by the international statistical classification of diseases and related health problems 10th revision codes [22]. Vital signs included body temperature, heart rate, respiratory rate, blood pressure, oxygen saturation, and Glasgow coma scale. Similarly to a previous investigation [5], laboratory information was collected within 12 h after ED arrival. Laboratory parameters included white blood cell count and platelet count. Each parameter of vital signs and laboratory measurements was transferred to the categorical variable for further analysis. The primary outcome was the occurrence of bacteremia diagnosed in the ED. Two investigators, one board-certified emergency medicine physician and an infectious disease clinician, independently reviewed the computerized records. Any reviewing discrepancy was resolved by discussion between the investigators in periodic meetings.

2.3. Definition

True bacteremia is defined as the causative pathogen yielded in at least one blood culture after excluding contaminated sampling [23]. The growth of potentially contaminated pathogens on blood cultures includes coagulase-negative staphylococci, Clostridium perfringens, Micrococcus spp., Bacillus spp., Propionibacterium spp., and Gram-positive bacilli according to previously published criteria [16]. Patients with contamination were regarded as having no bacteremia episodes and needing further analysis. Patients with SIRS were recognized based on the Sepsis-2 criteria [24]; information about patients’ comorbidity was retrieved from EMRs and recorded with specific International Classification of Diseases 10 (ICD-10) codes [22] (shown in Supplemental Table S1).

2.4. Ethical Considerations

This study was approved by the Institutional Review Board of National Cheng Kung University Hospital (B-ER-111-064). The requirement for informed consent was waived because the captured information was deidentified prior to analysis.

2.5. Statistical Analysis

The Statistical Package for the Social Sciences for Windows version 23.0 (Chicago, IL, USA) was used for descriptive statistical analyses; R version 4.1.2 packages were used for LR, SVM, and RF methods; and the significance level in this study was set to 0.01. Continuous variables were described as the median (interquartile range, IQR) or mean (standard deviation, SD), and categorical variables were expressed as numbers (percentages). Categorical variables were compared using the Pearson chi-square test, and continuous variables were adopted for independent t-tests. For the assessed models, the area under the receiver operating characteristic curve (AUROC) was applied to assess performance in differentiating bacteremic patients from non-bacteremic populations. The model with the highest AUROC value was chosen for further comparison with the ML algorithms.

2.6. Logistic Regression

The LR model is a linear regression with the primary purpose of establishing the relationship between the binary response variable, such as whether the event occurred, and the explanatory variables [25]. The mathematical equation of LR is expressed as follows.
l o g ( p 1 p ) = β 0 + β 1 X 1 + β 2 X 2 + + β m X m
where p is the probability of an event occurring, p 1 p is the odds or risk for very low p values, X i is the i th explanatory variable, and β i   is the coefficient of X i . Before model building, screening and selection of adequate explanatory variables were necessary for LR. Excessive variables would calculate the regression coefficient complex [26]. The methods of forwarding selection and increasing interaction terms were applied to separately select the adequate variables.
The forward selection method was used to build model I as a stepwise regression. First, variables were added to the model one by one. In each forward step, the variable that best improved the model was picked up and added to the model. Next, the interaction term was applied to establish model II. The method was used to create new variables representing the interactions between the existing variables. The interactions between the variables were subjectively judged based on the operator’s experience and knowledge in an attempt to improve the performance of the model.
ROC-AUC and Akaike information criterion (AIC) were adopted for these two LR-built models to determine which model was superior. The AIC was used to measure the models’ complexity and the goodness of fit; the lower the AIC, the better the model [27].

2.7. Support Vector Machine and Random Forest

SVM is a machine learning model commonly used to deal with classification problems. SVM is a linear classifier that can be used to solve issues such as small samples, nonlinearity, and high dimensionality. The main concept is to construct a hyperplane to separate and classify sample data. This hyperplane correctly separates the two types of samples and maximizes the distance between the two groups. When encountering nonlinear problems, the data that cannot be linearly classified in low dimensions can be projected into high-dimensional space using kernel function transformation. Then, the data can be organized by establishing a hyperplane. SVM has a positive effect on classification problems, so it has been widely used in classification problems in various fields in recent years [28].
RF is a machine learning model that consists of multiple decision trees. The decision tree includes the root, parent, child, and leaf nodes. It is an analysis method of tree structure used to deal with classification problems. A general decision tree starts from the root, branches with features, is divided into two or more child nodes, and continues to branch until the self-defined stopping condition, that is, to the leaf. Each internal node uses a feature branch, each branch represents a possible field output outcome, and each endpoint represents the final predicted or decided result of a given classification. RF can handle classification and regression tasks, and used features can be discrete or continuous data. Furthermore, because RF uses random sampling and the selection of features to construct multiple decision trees in the operation process, it can reduce the occurrence of overfitting [29].
Because the true positivity rate of bacteremia in the original data was 7.7%, they was imbalanced data. Imbalanced data can significantly compromise the distributive characteristics of most standard learning algorithms and ultimately result in unfavorable predictive accuracy [30]. Therefore, data processing was necessary before model building. First, we dealt with the training dataset using the methods of oversampling, undersampling, and random oversampling (ROSE). Then, the adjusted datasets were used to build model III with the SVM algorithm and model IV with the RF algorithm. A total of 500 trees were generated, and their depth was 5 in model built with RF.

2.8. Net Reclassification Index

These models were compared with the net reclassification index (NRI) to determine which model was superior [31]. If the value of NRI was more than 0 and the result was statistically significant, the comparison model was better than the original model.
The null hypothesis of this test is that “NRI ≦ 0” because the equation of the test statistic (z) is:
z = N R I ^ P ^ p , u p + P ^ p , d o w n N b a c t e r e m i a 2 + P ^ n , u p + P ^ n , d o w n N n o n b a c t e r e m i a 2
P ^ p , u p is the possibility that patients with bacteremia were predicted as nonbacteremic in the original model and as bacteremia in the comparison model.
P ^ p , d o w n is the possibility that patients with bacteremia were predicted to have bacteremia in the original model and non-bacteremia in the comparison model.
P ^ n , u p is the possibility that patients without bacteremia were predicted to have bacteremia in the original model and non-bacteremia in the comparison model.
P ^ n , d o w n is the possibility that patients without bacteremia were predicted as nonbacteremic in the original model and as bacteremia in the comparison model.
N b a c t e r e m i a is the number of patients with bacteremia, and N n o n b a c t e r e m i a is the number of patients without bacteremia.
The level of significance was 0.01. If the value of z was above 2.326, then the null hypothesis was rejected. This result suggests that the comparison model was superior to the original model.

3. Results

3.1. Study Population

During the study period, 437,969 patients visited the study ED. Blood cultures indicated that 41,416 of these adults had SIRS; 40,395 were enrolled as the targeted cohort after excluding 312,836 SIRS < 2, 69,338 not receiving blood culture, 14,379 patients younger than 18 years old, and 1021 with incomplete information (Figure 1). Patients with bacteremia episodes in the ED accounted for 7.7% (4197 patients) of the targeted cohort. The demographic and clinical characteristics of the bacteremic and non-bacteremic patients are shown in Table 1. Compared to patients without bacteremia episodes, those with bacteremia were older and more frequently had specific comorbidities, namely diabetes, liver disease, chronic kidney disease, and malignancy. There were also significant differences in white blood cell count, platelet count, body temperature, heart rate, respiratory rate, blood pressure, and consciousness level. The patient demographics and clinical characteristics were similar between the derivative and validation patients (Figure 2).

3.2. Model Training with Logistic Regression

For the derivation dataset, the significant variables of patients enrolled in the logistic regression model (i.e., models I and II) are shown in Table 2. The AUC in models I and II were 0.729 (95% CI, 0.718–0.740) and 0.731 (95% CI, 0.721–0.742), with AICs of 16,840 and 16,803 (Table 3), respectively. Owing to the correlation between patient age and uncomplicated diabetes, the interaction term of age and diabetes mellitus was added in model II. Consequently, regardless of which dataset (derivation or validation) was used, the performance of model II was superior to that of model I. Figure 3 shows a diagram of the interaction between age and uncomplicated DM. When uncomplicated DM = 1, log(odds) = −3.505 + 0.004 × age. The amount of increased risk is 0.004 as the age of the patient increases by one year. When uncomplicated DM = 0, log(odds) = −5.12 + 0.024 × age. The amount of increased risk is 0.024 as the age of the patient increases by one year. Risk increased more rapidly in patients without uncomplicated DM than in patients with uncomplicated DM.

3.3. Model Training with Support Vector Machine and Random Forest

The performance of models III and IV in the derivation and validation of patients is shown in Figure 4 and Table 3, respectively. The AUC values of models III and IV in the derivation group were 0.751 (95% CI, 0.740–0.761) and 0.835 (95% CI, 0.825–0.844), and those in the validation dataset were 0.730 (95% CI, 0.713–0.747) and 0.705 (0.688–0.722), respectively. The performance of model III in predicting bacteremia patients was inferior to that of model IV in the derivation patients, but the superiority of model III was exhibited in validation patients. Notably, the performance of the SVM and RF models was discrepant in the derivation and validation datasets.

3.4. Comparison of Support Vector Machine, Random Forest, and Logistic Regression

We used the ROC curve and the tangent of slope 1 to solve the sensitivity, specificity, and confusion matrix. The sensitivity, specificity, and positive likelihood ratio each of the models were 0.660, 0.653, and 1.902 for LR; 0.698, 0.631, and 1.892 for SVM; and 0.661, 0.639, and 1.831 for RF. The LR model with the best performance (model II) was tested with SVM and RF models. However, as shown in Table 4, irrespective of the SVM or RF model, there was no statistical evidence to support that the performance of the model created with LR was superior to that of the models created with SVM and RF.
LR and RF models have similar significant variables, including age, gender, chronic obstructive pulmonary disease, uncomplicated diabetes, hemato-oncology, white blood cell > 12,000/μL, band cells > 10%, platelet < 140,000/μL, body temperature, and heart rate. Mean arterial pressure, respiratory rate, and Glasgow coma scale were considered significant in the RF model but not in the LR model (Table 5).

4. Discussion

Based on clinical information available in the ED, we established algorithms with proper discrimination in predicting bacteremia episodes among septic patients. We hope that the reported results will inspire ED physicians to develop a prediction model to manage the clinical problems they face daily. Furthermore, the SVM and RF models predicted bacteremia with similar effectiveness as those established by LR. The advantage of the SVM and RF models is that the prediction model is more elastic and not limited to a linear relationship. The advantage of the LR model is that it is easy to explain the influence of the independent variable on the response variable. Each method has its advantages. Because the performance of the SVM and RF models is equal to that of the traditional LR model, medical researchers should be open-minded about adopting SVM or RF for the development of prediction algorithms.
Based on patient demographics and laboratory data available in the ED, the algorithms with proper discriminations in predicting bacteremia episodes among septic patients were evident. Similar to previous studies indicating that the performance of SVM and RF models was not inferior to that of traditional LR models [32,33,34], the prediction performance of the SVM and RF models was not inferior to that of the LR-based model in our study.
Sepsis is a life-threatening infectious disease resulting in organ dysfunction caused by dysregulated host immunity [35]. Sepsis is a common healthcare problem encountered by clinicians because it is a heterogeneous syndrome with varying clinical presentations and characteristics [36]. In addition, the therapeutic outcomes of septic patients differ depending on socioeconomic status, location of episodes, host immune status or comorbidities, causative microorganisms, sites of infection, the severity of illness at onset, and quality of care [37,38,39]. In 2016, the Sepsis-3 criteria proposed the quick Sequential (sepsis-related) Organ Failure Assessment (qSOFA) as a replacement for the SIRS score, issued by previous Sepsis-2 measures [40] for the early screening of sepsis outside of intensive care units because SIRS scores were deemed to have unsatisfactory specificity and sensitivity in detecting septic patients [41]. According to the Sepsis-3 criteria, bacteremia patients with initial qSOFA scores of ≥2 at ED arrival were identified early as septic candidates, and those with organ dysfunction (i.e., an increase in SOFA scores of ≥2 from the baseline score within three days of ED arrival) during hospitalization were identified as septic patients. However, this revised definition of sepsis syndrome is unsuitable for ED physicians. In addition, a previous bacteremia investigation indicated that the contemporary definition is unsafe in EDs before culture information on bacteremia is recognized [42]. Accordingly, in the present study, we included patients with sepsis who met the aforementioned Sepsis-2 criteria as the target population.
Although blood culture study is considered the gold standard for diagnosis of bacteremia, false-positive results might be misinterpreted and result in patient harm. The probability of true positive blood culture, which means that the causative pathogen is identified, is low. The rate ranges from 4.1% to 7% [8,9,43]. The low yield rate of blood culture study represents a financial burden for hospital laboratories [44]. On the other hand, false-positives influenced by contamination occur at a similar or even higher rate [9,10,45]. A general blood culture study without patient selection might not be beneficial and could be harmful to the patients and medical staff. False positives could subject patients to unnecessary antibiotic treatment and hospitalization, harming patients and increasing the burden on healthcare workers. Our model may help medical staff identify high-risk patients, decrease the amount of unnecessary blood culture studies, and reduce the incidence of false-positive results. Both patients and the hospitals can benefit from our proposed model.
The medical community has widely used the method of logistic regression for the development of prediction models [46]. LR was first proposed in 1958. It is a kind of linear regression helpful for the analysis of the correlation between explanatory and response variables [25]. However, LR is based on theory and linear assumptions. It is usually limited by human intervention and subjective knowledge and results in a lack of flexibility [47]. Benefiting from the development of EMRs, SVM and RF have been gradually adopted as tools to exploit clinical risk prediction models [21,48,49]. Compared to LR models, SVM and RF models have higher flexibility as a result of including nonlinear association and interaction terms [50]. In addition, SVM and RF models perform exceptionally well when dealing with multiple variables [48,51].
On the other hand, the modelling of SVM or RF is sometimes so complex that humans cannot straightforwardly interpret it. This condition is the so-called “black box” [52]. The black box is a significant concern for many clinicians in adopting an algorithm-based aspect in their research [53,54,55]. Notably, some studies have suggested that the critical variables of SVM and RF models are usually consistent with clinical intuition and significant predictors found in prior studies in the field [32,33,34]. Accordingly, the essential variables chosen in the RF model are primarily compatible with the variables from the LR model presented in our study. However, variables that are distinct from those of LR models (e.g., mean arterial pressure, respiratory rate, and Glasgow coma scale) have previously been found to be relevant to bacteremia [5,16,56]. Therefore, the variables inside the black box may not be too ambiguous to be interpreted. Consistent with previous studies indicating that the performance of SVM and RF models is not inferior to that of traditional LR models [32,33,34], our findings reveal that SVM or RF should not be a barrier for clinicians in predicting bacteremia episodes in septic ED patients. Recent worldwide advances in EMR have created a suitable environment to leverage SVM and RF to improve the quality of patient care. Therefore, we believe that now is a good time to integrate disparate data sources through SVM or RF to achieve real-time decisions. Beside SVM and RF, deep learning is a subset of machine learning that completely relies on artificial neural networks. This learning machine is input with raw data and establishes its own representation required for pattern recognition. The revolution of deep learning can aid in optimizing pathways of diagnosis and prognosis to develop individualized treatment plans. This field had achieved promising results in the image and language sector since the digitization of medical records. In this manner, machine learning systems could represent an opportunity for medical providers to benefit from studies that require large datasets, such as multicohort studies or object classification in future studies.
In the current study, the performances of SVM and RF models in predicting bacteremia patients were dissimilar between the derivation and validation datasets. We believe the following were the leading reasons contributing to this finding. First, the derivation dataset was imbalanced, and data processing was needed prior to model training. Therefore, oversampling, undersampling, and ROSE were adopted to deal with the data before model establishment. Thus, there were three subgroups of the derivation dataset with different methods of prior data processing. Consequently, all these subgroup datasets were used to develop models in the derivation dataset and then examined in the validation dataset. In our opinion, the methods for establishing model IV are reasonably appropriate for management of clinical information.

5. Limitations

Our study is subject to several limitations. First, this is a single-center retrospective study; unfortunately, we do not have complete data on patients with no prior visits, except for age and sex. Therefore, diagnosing sepsis or bacteremia mainly depends on coding by ED physicians, leading to information bias when analyzing the outcome. Second, confined to the dataset of a single medical center, external validation with a dataset from other medical institutes is required to improve the predictive power and accuracy of the proposed model and for potential broader utilization. Third, to reduce categorization bias, all clinical information was randomly retrieved by two physicians, who inspected medical records together to solve discrepancies. Finally, the model was limited to laboratory analysis. Further integration and connection with existing information systems in the hospital are needed to develop the model as an automated decision support tool for ED practice. Balancing the model’s certainty and financial factors during development would be challenging.

6. Conclusions

Bacteremia is substantially associated with high morbidity and mortality, and prompt identification and intervention can vastly improve the survival of patients with bacteremia. Through clinical information captured in the ED, we established algorithms with useful discrimination in predicting bacteremia episodes among septic patients. Furthermore, the similar performance of the ML model and traditional logistic regression models in predicting bacteremia was established herein. Accordingly, medical researchers should be open-minded about adopting ML for the development of prediction algorithms to solve their clinical problems. We believe that our reported results will inspire ED physicians to develop a useful prediction model to manage the clinical problems they face daily.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/diagnostics12102498/s1, Table S1: Definition of comorbidity.

Author Contributions

Conceptualization, C.-H.L. and C.-C.H.; Data curation, M.-C.M. and W.Y.C.W.; Formal analysis, V.G., Y.-J.C. and C.-C.H.; Investigation, V.G. and Y.-J.C.; Methodology, C.-C.L., C.-H.L. and C.-C.H.; Software, M.-C.M. and W.Y.C.W.; Supervision, C.-H.L.; Writing—original draft, V.G. and Y.-J.C.; Writing—review & editing, C.-C.L., C.-H.L. and C.-C.H. All authors have read and agreed to the published version of the manuscript.

Funding

This study was partially supported by research grants from the Ministry of Science and Technology (NSC 102-2314-B-006-079 and MOST 109-2634-F006-023-).

Institutional Review Board Statement

This study was approved by the Institutional Review Board of National Cheng Kung University Hospital (B-ER-111-064).

Informed Consent Statement

The requirement for informed consent was waived because the captured information was deidentified prior to analysis.

Data Availability Statement

Data available on request due to restrictions of ethical.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Laupland, K.B.; Gregson, D.B.; Flemons, W.W.; Hawkins, D.; Ross, T.; Church, D.L. Burden of community-onset bloodstream infection: A population-based assessment. Epidemiol. Infect. 2007, 135, 1037–1042. [Google Scholar] [CrossRef] [PubMed]
  2. Bates, D.W.; Pruess, K.E.; Lee, T.H. How Bad Are Bacteremia and Sepsis?: Outcomes in a Cohort With Suspected Bacteremia. Arch Intern. Med. 1995, 155, 593–598. [Google Scholar] [CrossRef] [PubMed]
  3. Lee, C.C.; Lee, C.H.; Chuang, M.C.; Hong, M.Y.; Hsu, H.C.; Ko, W.C. Impact of inappropriate empirical antibiotic therapy on outcome of bacteremic adults visiting the ED. Am. J. Emerg. Med. 2012, 30, 1447–1456. [Google Scholar] [CrossRef] [PubMed]
  4. Magadia, R.R.; Weinstein, M.P. Laboratory diagnosis of bacteremia and fungemia. Infect. Dis. Clin. N. Am. 2001, 15, 1009–1024. [Google Scholar] [CrossRef]
  5. Takeshima, T.; Yamamoto, Y.; Noguchi, Y.; Maki, N.; Gibo, K.; Tsugihashi, Y.; Doi, A.; Fukuma, S.; Yamazaki, S.; Kajii, E.; et al. Identifying Patients with Bacteremia in Community-Hospital Emergency Rooms: A Retrospective Cohort Study. PLoS ONE 2016, 11, e0148078. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  6. Kelly, A.M. Clinical impact of blood cultures taken in the emergency department. J. Accid. Emerg. Med. 1998, 15, 254–256. [Google Scholar] [CrossRef]
  7. Mountain, D.; Bailey, P.M.; O’Brien, D.; Jelinek, G.A. Blood cultures ordered in the adult emergency department are rarely useful. Eur. J. Emerg. Med. 2006, 13, 76–79. [Google Scholar] [CrossRef] [PubMed]
  8. Ntusi, N.; Aubin, L.; Oliver, S.; Whitelaw, A.; Mendelson, M. Guideline for the optimal use of blood cultures. S. Afr. Med. J. 2010, 100, 839–843. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  9. Ratzinger, F.; Dedeyan, M.; Rammerstorfer, M.; Perkmann, T.; Burgmann, H.; Makristathis, A.; Dorffner, G.; Lotsch, F.; Blacky, A.; Ramharter, M. A risk prediction model for screening bacteremic patients: A cross sectional study. PLoS ONE 2014, 9, e106765. [Google Scholar] [CrossRef] [PubMed]
  10. Hall, K.K.; Lyman, J.A. Updated review of blood culture contamination. Clin. Microbiol. Rev. 2006, 19, 788–802. [Google Scholar] [CrossRef]
  11. Coburn, B.; Morris, A.M.; Tomlinson, G.; Detsky, A.S. Does this adult patient with suspected bacteremia require blood cultures? JAMA 2012, 308, 502–511. [Google Scholar] [CrossRef] [PubMed]
  12. Pfitzenmeyer, P.; Decrey, H.; Auckenthaler, R.; Michel, J.P. Predicting bacteremia in older patients. J. Am. Geriatr. Soc. 1995, 43, 230–235. [Google Scholar] [CrossRef] [PubMed]
  13. Falguera, M.; Trujillano, J.; Caro, S.; Menendez, R.; Carratala, J.; Ruiz-Gonzalez, A.; Vila, M.; Garcia, M.; Porcel, J.M.; Torres, A.; et al. A prediction rule for estimating the risk of bacteremia in patients with community-acquired pneumonia. Clin. Infect. Dis. 2009, 49, 409–416. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  14. Kim, K.S.; Kim, K.; Jo, Y.H.; Kim, T.Y.; Lee, J.H.; Lee, S.J.; Rhee, J.E.; Suh, G.J. A simple model to predict bacteremia in women with acute pyelonephritis. J. Infect. 2011, 63, 124–130. [Google Scholar] [CrossRef] [PubMed]
  15. Nakamura, T.; Takahashi, O.; Matsui, K.; Shimizu, S.; Setoyama, M.; Nakagawa, M.; Fukui, T.; Morimoto, T. Clinical prediction rules for bacteremia and in-hospital death based on clinical data at the time of blood withdrawal for culture: An evaluation of their development and use. J. Eval. Clin. Pr. 2006, 12, 692–703. [Google Scholar] [CrossRef] [Green Version]
  16. Shapiro, N.I.; Wolfe, R.E.; Wright, S.B.; Moore, R.; Bates, D.W. Who needs a blood culture? A prospectively derived and validated prediction rule. J. Emerg. Med. 2008, 35, 255–264. [Google Scholar] [CrossRef]
  17. Su, C.P.; Chen, T.H.; Chen, S.Y.; Ghiang, W.C.; Wu, G.H.; Sun, H.Y.; Lee, C.C.; Wang, J.L.; Chang, S.C.; Chen, Y.C.; et al. Predictive model for bacteremia in adult patients with blood cultures performed at the emergency department: A preliminary report. J. Microbiol. Immunol. Infect. 2011, 44, 449–455. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  18. Obermeyer, Z.; Emanuel, E.J. Predicting the Future-Big Data, Machine Learning, and Clinical Medicine. N. Engl. J. Med. 2016, 375, 1216–1219. [Google Scholar] [CrossRef] [Green Version]
  19. Lee, K.H.; Dong, J.J.; Kim, S.; Kim, D.; Hyun, J.H.; Chae, M.H.; Lee, B.S.; Song, Y.G. Prediction of Bacteremia Based on 12-Year Medical Data Using a Machine Learning Approach: Effect of Medical Data by Extraction Time. Diagn. (Basel) 2022, 12, 102. [Google Scholar] [CrossRef]
  20. Tsai, C.M.; Lin, C.R.; Zhang, H.; Chiu, I.M.; Cheng, C.Y.; Yu, H.R.; Huang, Y.H. Using Machine Learning to Predict Bacteremia in Febrile Children Presented to the Emergency Department. Diagn. (Basel) 2020, 10, 307. [Google Scholar] [CrossRef]
  21. Chen, J.H.; Asch, S.M. Machine Learning and Prediction in Medicine-Beyond the Peak of Inflated Expectations. N. Engl. J. Med. 2017, 376, 2507–2509. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  22. Bannay, A.; Chaignot, C.; Blotiere, P.O.; Basson, M.; Weill, A.; Ricordeau, P.; Alla, F. The Best Use of the Charlson Comorbidity Index With Electronic Health Care Database to Predict Mortality. Med. Care 2016, 54, 188–194. [Google Scholar] [CrossRef] [PubMed]
  23. Jaimes, F.; Arango, C.; Ruiz, G.; Cuervo, J.; Botero, J.; Vélez, G.; Upegui, N.; Machado, F. Predicting bacteremia at the bedside. Clin. Infect. Dis. 2004, 38, 357–362. [Google Scholar] [CrossRef] [Green Version]
  24. Dellinger, R.P.; Levy, M.M.; Rhodes, A.; Annane, D.; Gerlach, H.; Opal, S.M.; Sevransky, J.E.; Sprung, C.L.; Douglas, I.S.; Jaeschke, R.; et al. Surviving Sepsis Campaign: International guidelines for management of severe sepsis and septic shock, 2012. Intensive. Care Med. 2013, 39, 165–228. [Google Scholar] [CrossRef]
  25. Cox, D.R. The Regression Analysis of Binary Sequences. J. R. Stat. Society. Ser. B (Methodol.) 1958, 20, 215–242. [Google Scholar] [CrossRef]
  26. Stoltzfus, J.C. Logistic regression: A brief primer. Acad. Emerg. Med. 2011, 18, 1099–1104. [Google Scholar] [CrossRef]
  27. Akaike, H. A New Look at the Statistical Model Identification. In Selected Papers of Hirotugu Akaike; Parzen, E., Tanabe, K., Kitagawa, G., Eds.; Springer: New York, NY, USA, 1998; pp. 215–222. [Google Scholar]
  28. Cortes, C. and Vapnik, V. Support-vector networks. Mach. Learn. 1995, 20, 273–297. [Google Scholar] [CrossRef]
  29. Breiman, L. Random Forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef] [Green Version]
  30. He, H.; Garcia, E.A. Learning from Imbalanced Data. Knowl. Data Eng. IEEE Trans. 2009, 21, 1263–1284. [Google Scholar] [CrossRef]
  31. Leening, M.J.; Vedder, M.M.; Witteman, J.C.; Pencina, M.J.; Steyerberg, E.W. Net reclassification improvement: Computation, interpretation, and controversies: A literature review and clinician’s guide. Ann. Intern. Med. 2014, 160, 122–131. [Google Scholar] [CrossRef] [PubMed]
  32. Churpek, M.M.; Yuen, T.C.; Huber, M.T.; Park, S.Y.; Hall, J.B.; Edelson, D.P. Predicting cardiac arrest on the wards: A nested case-control study. Chest 2012, 141, 1170–1176. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  33. Churpek, M.M.; Yuen, T.C.; Winslow, C.; Robicsek, A.A.; Meltzer, D.O.; Gibbons, R.D.; Edelson, D.P. Multicenter development and validation of a risk stratification tool for ward patients. Am. J. Respir. Crit. Care Med. 2014, 190, 649–655. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  34. Escobar, G.J.; LaGuardia, J.C.; Turk, B.J.; Ragins, A.; Kipnis, P.; Draper, D. Early detection of impending physiologic deterioration among patients who are not in intensive care: Development of predictive models using data from an automated electronic medical record. J. Hosp. Med. 2012, 7, 388–395. [Google Scholar] [CrossRef] [PubMed]
  35. Seymour, C.W.; Liu, V.X.; Iwashyna, T.J.; Brunkhorst, F.M.; Rea, T.D.; Scherag, A.; Rubenfeld, G.; Kahn, J.M.; Shankar-Hari, M.; Singer, M.; et al. Assessment of Clinical Criteria for Sepsis: For the Third International Consensus Definitions for Sepsis and Septic Shock (Sepsis-3). JAMA 2016, 315, 762–774. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  36. Seymour, C.W.; Kennedy, J.N.; Wang, S.; Chang, C.H.; Elliott, C.F.; Xu, Z.; Berry, S.; Clermont, G.; Cooper, G.; Gomez, H.; et al. Derivation, Validation, and Potential Treatment Implications of Novel Clinical Phenotypes for Sepsis. JAMA 2019, 321, 2003–2017. [Google Scholar] [CrossRef] [PubMed]
  37. Coopersmith, C.M.; De Backer, D.; Deutschman, C.S.; Ferrer, R.; Lat, I.; Machado, F.R.; Martin, G.S.; Martin-Loeches, I.; Nunnally, M.E.; Antonelli, M.; et al. Surviving sepsis campaign: Research priorities for sepsis and septic shock. Intensive. Care Med. 2018, 44, 1400–1426. [Google Scholar] [CrossRef] [Green Version]
  38. Ranzani, O.T.; Shankar-Hari, M.; Harrison, D.A.; Rabello, L.S.; Salluh, J.I.F.; Rowan, K.M.; Soares, M. A Comparison of Mortality From Sepsis in Brazil and England: The Impact of Heterogeneity in General and Sepsis-Specific Patient Characteristics. Crit. Care Med. 2019, 47, 76–84. [Google Scholar] [CrossRef]
  39. Tonai, M.; Shiraishi, A.; Karumai, T.; Endo, A.; Kobayashi, H.; Fushimi, K.; Hayashi, Y. Hospital-onset sepsis and community-onset sepsis in critical care units in Japan: A retrospective cohort study based on a Japanese administrative claims database. Crit. Care 2022, 26, 136. [Google Scholar] [CrossRef]
  40. Bone, R.C.; Balk, R.A.; Cerra, F.B.; Dellinger, R.P.; Fein, A.M.; Knaus, W.A.; Schein, R.M.; Sibbald, W.J. Definitions for sepsis and organ failure and guidelines for the use of innovative therapies in sepsis. The ACCP/SCCM Consensus Conference Committee. American College of Chest Physicians/Society of Critical Care Medicine. Chest 1992, 101, 1644–1655. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  41. Singer, M.; Deutschman, C.S.; Seymour, C.W.; Shankar-Hari, M.; Annane, D.; Bauer, M.; Bellomo, R.; Bernard, G.R.; Chiche, J.D.; Coopersmith, C.M.; et al. The Third International Consensus Definitions for Sepsis and Septic Shock (Sepsis-3). JAMA 2016, 315, 801–810. [Google Scholar] [CrossRef]
  42. Lee, C.C.; Ho, C.Y.; Chen, P.L.; Hsieh, C.C.; Wang, W.Y.C.; Lin, C.H.; Ko, W.C. Is qSOFA Suitable for Early Diagnosis of Sepsis Among Bacteremia Patients in Emergency Departments? Time for a Reappraisal of Sepsis-3 Criteria. Front Med. (Lausanne) 2021, 8, 743822. [Google Scholar] [CrossRef] [PubMed]
  43. Bates, D.W.; Cook, E.F.; Goldman, L.; Lee, T.H. Predicting bacteremia in hospitalized patients. A prospectively validated model. Ann. Intern. Med. 1990, 113, 495–500. [Google Scholar] [CrossRef] [PubMed]
  44. van der Heijden, Y.F.; Miller, G.; Wright, P.W.; Shepherd, B.E.; Daniels, T.L.; Talbot, T.R. Clinical impact of blood cultures contaminated with coagulase-negative staphylococci at an academic medical center. Infect. Control Hosp. Epidemiol. 2011, 32, 623–625. [Google Scholar] [CrossRef] [Green Version]
  45. Little, J.R.; Trovillion, E.; Fraser, V. High frequency of pseudobacteremia at a university hospital. Infect. Control Hosp. Epidemiol. 1997, 18, 200–202. [Google Scholar] [CrossRef] [PubMed]
  46. Steyerberg, E.W. Clinical Prediction Models: A Practical Approach to Development, Validation, and Updating; Springer: New York, NY, USA, 2009; 497p. [Google Scholar]
  47. Christodoulou, E.; Ma, J.; Collins, G.S.; Steyerberg, E.W.; Verbakel, J.Y.; Van Calster, B. A systematic review shows no performance benefit of machine learning over logistic regression for clinical prediction models. J. Clin. Epidemiol. 2019, 110, 12–22. [Google Scholar] [CrossRef]
  48. Beam, A.L.; Kohane, I.S. Big Data and Machine Learning in Health Care. JAMA 2018, 319, 1317–1318. [Google Scholar] [CrossRef] [PubMed]
  49. Goldstein, B.A.; Navar, A.M.; Carter, R.E. Moving beyond regression techniques in cardiovascular risk prediction: Applying machine learning to address analytic challenges. Eur. Heart J. 2017, 38, 1805–1814. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  50. Boulesteix, A.-L.; Schmid, M. Machine learning versus statistical modeling. Biom. J. 2014, 56, 588–593. [Google Scholar] [CrossRef] [PubMed]
  51. Rajkomar, A.; Oren, E.; Chen, K.; Dai, A.M.; Hajaj, N.; Hardt, M.; Liu, P.J.; Liu, X.; Marcus, J.; Sun, M.; et al. Scalable and accurate deep learning with electronic health records. NPJ Digit. Med. 2018, 1, 18. [Google Scholar] [CrossRef] [PubMed]
  52. Petch, J.; Di, S.; Nelson, W. Opening the Black Box: The Promise and Limitations of Explainable Machine Learning in Cardiology. Can. J. Cardiol. 2022, 38, 204–213. [Google Scholar] [CrossRef]
  53. Cabitza, F.; Rasoini, R.; Gensini, G.F. Unintended Consequences of Machine Learning in Medicine. JAMA 2017, 318, 517–518. [Google Scholar] [CrossRef] [PubMed]
  54. Tu, J.V. Advantages and disadvantages of using artificial neural networks versus logistic regression for predicting medical outcomes. J. Clin. Epidemiol. 1996, 49, 1225–1231. [Google Scholar] [CrossRef]
  55. Vellido, A. The importance of interpretability and visualization in machine learning for applications in medicine and health care. Neural. Comput. Appl. 2020, 32, 18069–18083. [Google Scholar] [CrossRef] [Green Version]
  56. van Werkhoven, C.H.; Huijts, S.M.; Postma, D.F.; Oosterheert, J.J.; Bonten, M.J. Predictors of Bacteraemia in Patients with Suspected Community-Acquired Pneumonia. PLoS ONE 2015, 10, e0143817. [Google Scholar] [CrossRef] [PubMed]
Figure 1. The selection process for the targeted cohort. (SIRS = systemic inflammatory response syndrome).
Figure 1. The selection process for the targeted cohort. (SIRS = systemic inflammatory response syndrome).
Diagnostics 12 02498 g001
Figure 2. Patient demographics and laboratory data were similar between the derivation and validation cohorts. The p value of each variable was 0.999. CKD = chronic kidney disease; COPD = chronic obstructive pulmonary disease; HIV = human immunodeficiency virus; TIA = transient ischemic accident.
Figure 2. Patient demographics and laboratory data were similar between the derivation and validation cohorts. The p value of each variable was 0.999. CKD = chronic kidney disease; COPD = chronic obstructive pulmonary disease; HIV = human immunodeficiency virus; TIA = transient ischemic accident.
Diagnostics 12 02498 g002
Figure 3. The interaction of age and uncomplicated DM when other explanatory variables are based onreference groups. The equation of the logistic regression model is log(p/(1 − p)) = −5.12 + 0.024 × age + 1.615 × uncomplicated DM 0.02 × age × uncomplicated DM. (DM = diabetes mellitus).
Figure 3. The interaction of age and uncomplicated DM when other explanatory variables are based onreference groups. The equation of the logistic regression model is log(p/(1 − p)) = −5.12 + 0.024 × age + 1.615 × uncomplicated DM 0.02 × age × uncomplicated DM. (DM = diabetes mellitus).
Diagnostics 12 02498 g003
Figure 4. ROC curve of each model. (ROC curve = receiver operating characteristic curve; AUC = area under the curve; SVM = support vector machine).
Figure 4. ROC curve of each model. (ROC curve = receiver operating characteristic curve; AUC = area under the curve; SVM = support vector machine).
Diagnostics 12 02498 g004
Table 1. Differences in patient demographics and laboratory data between bacteremic and non-bacteremic patients.
Table 1. Differences in patient demographics and laboratory data between bacteremic and non-bacteremic patients.
VariablesPatient Number (%)p Value
All
(n = 40,395)
Bacteremia
(n = 4058)
Non-Bacteremia
(n = 36,337)
Age, mean ± SD63.5 ± 19.469.2 ± 15.462.9 ± 19.7<0.001
Gender, male21,272(53)2032(50)19,240(53)<0.001
Comorbidities
Myocardial infarction289(0.7)23(0.6)266(0.7)0.277
Congestive heart failure2502(6.2)231(5.7)2271(6.3)0.173
Peripheral vascular disease231(0.6)25(0.6)206(0.6)0.776
Old stroke or TIA440(1.1)53(1.3)387(1.1)0.186
Dementia130(0.3)19(0.5)111(0.3)0.112
COPD3220(8)130(3.2)3090(8.5)<0.001
Connective tissue disease697(1.7)54(1.3)643(1.8)0.049
Peptic ulcer disease521(1.3)57(1.4)464(1.3)0.542
Mild liver disease1190(3)217(5.4)973(2.7)<0.001
Uncomplicated diabetes10,078(25)1289(32)8789(24)<0.001
Moderate to severe CKD2552(6.3)345(8.5)2207(6.1)<0.001
Hemato-oncology8131(20)979(24)7152(20)<0.001
Metastatic solid tumor108(0.3)8(0.2)100(0.3)0.451
HIV infections206(0.5)16(0.4)190(0.5)0.330
Laboratory data in the ED
White blood cell > 12,000/μL17,812(44)2054(51)15,758(43)<0.001
White blood cell < 4000/μL2900(7.2)389(9.6)2511(6.9)<0.001
Band cells > 10%6884(17)1437(35)5447(15)<0.001
Platelet < 140,000/μL9458(23)1588(39)7870(22)<0.001
Vital signs upon ED triage
Body temperature, °C <0.001
36–3814,493(36)1108(27)13,385(37)
<36 °C or >38 °C25,902(64)2950(73)22,952(63)
Heart rate, beats/minute <0.0001
70–10919,089(47)1735(43)17,354(48)
55–69 or 110–13918,681(46)1903(47)16,778(46)
40–54 or 140–1792550(6.3)405(10)2145(5.9)
<40 or >179750.215(0.4)60(0.2)
Mean arterial pressure, mmHg <0.001
70–10926,962(67)2697(66)24,265(67)
50–69 or 110–12910,547(26)1103(27)9444(26)
130–1592444(6.1)188(4.6)2256(6.2)
<50 or >159442(1.1)70(1.7)372(1)
Respiratory rate per minute
12–2432,496(80)3311(82)29,185(80)0.091
10–11 or 25–346357(16)585(14)5772(16)
6–9 or 35–491364(3.4)141(3.5)1223(3.4)
<6 or >49178(0.4)21(0.5)157(0.4)
Peripheral oxygenation, % 0.006
>8934,359(88)3405(87)30,954(88)
86–892026(5.2)205(5.2)1821(5.2)
75–851899(4.9)223(5.7)1676(4.8)
>75%716(1.8)91(2.3)625(1.8)
Glasgow coma scale <0.0001
>1333,069(82)3097(76)29,972(82)
11–132150(5.3)278(6.9)1872(5.2)
8–102936(7.3)388(9.6)2548(7)
5–71450(3.6)176(4.3)1274(3.5)
<5790(2)119(2.9)671(1.9)
CKD = chronic kidney disease; COPD = chronic obstructive pulmonary disease; HIV = human immunodeficiency virus; SD = standard deviation; TIA = transient ischemic accident. Data are expressed as numbers (%) unless indicated specifically, and boldface indicates statistical significance.
Table 2. The logistic regression method in the derivation dataset established significant variables in models I and II.
Table 2. The logistic regression method in the derivation dataset established significant variables in models I and II.
VariablesModel IModel II
Odds Ratio95% CIp ValueOdds Ratio95% CIp Value
Age, years1.0211.018–1.023<0.0011.0241.022–1.027<0.001
Sex, male0.9020.832–0.9780.0120.8870.818–0.9620.003
Comorbidities
Chronic obstructive pulmonary disease0.4070.327–0.506<0.0010.4070.327–0.507<0.001
Mild liver disease1.6241.34–1.967<0.0011.6041.324–1.944<0.001
Uncomplicated diabetes1.2531.146–1.37<0.0015.213.331–8.148<0.001
Moderate to severe CKD1.341.154–1.555<0.0011.321.137–1.532<0.001
Hemato-oncology1.1551.048–1.2720.0041.1521.046–1.270.004
Laboratory data in the ED
White blood cell > 12,000/μL1.5981.464–1.745<0.0011.5981.464–1.745<0.001
White blood cell < 4000/μL1.2981.114–1.511<0.0011.2991.115–1.513<0.001
Band cell > 10%2.8472.607–3.109<0.0012.8432.603–3.106<0.001
Platelet < 140,000/μL2.1611.973–2.367<0.0012.1511.964–2.357<0.001
Vital signs upon ED triage
Body temperature < 36 °C or > 38 °C1.8351.674–2.012<0.0011.851.688–2.028<0.001
Heart rate, beats/minute
55–69 or 110–1391.2791.174–1.394<0.0011.281.175–1.395<0.001
40–54 or 140–1792.0251.748–2.346<0.0012.0261.749–2.348<0.001
<40 or >1792.4061.187–4.8780.0152.4651.213–5.0120.013
Age plus uncomplicated diabetes---0.980.974–0.986<0.001
CKD = chronic kidney disease; CI = confidence interval; ED = emergency department.
Table 3. AUROC, AIC, and 95% confidence interval in the derivation and validation datasets.
Table 3. AUROC, AIC, and 95% confidence interval in the derivation and validation datasets.
ModelAlgorithmDerivation DatasetValidation Dataset
AUROCAIC95% CIAUROCAIC95% CI
ILogistic regression0.72916,8400.718–0.7400.722-0.705–0.739
IILogistic regression0.73116,8030.721–0.7420.725-0.708–0.742
IIISupport vector machine0.751-0.740–0.7610.730-0.713–0.747
IVRandom forest0.835-0.825–0.8440.705-0.688–0.722
AUROC = area under the operating characteristic curve; AIC = Akaike information criterion.
Table 4. Comparison of the model II and machine learning models in the discrimination of bacteremia in the validation dataset.
Table 4. Comparison of the model II and machine learning models in the discrimination of bacteremia in the validation dataset.
Comparing ModelNet Reclassification Indexp Value
Model III (support vector machine)−0.02>0.01
Model IV (random forest)0.01>0.01
Table 5. Comparison of significant variables in the logistic regression and random forest models.
Table 5. Comparison of significant variables in the logistic regression and random forest models.
ModelLogistic RegressionRandom Forest
VariablesAgeAge
GenderGender
COPDCOPD
Uncomplicated DMUncomplicated DM
Hemato-oncologyHemato-oncology
WBC > 12,000/μLWBC > 12,000/μL
Band cell > 10%Band cell > 10%
Platelet < 140,000/μLPlatelet < 140,000/μL
Body temperatureBody temperature
Heart rateHeart rate
Mild liver diseaseMean arterial pressure
Moderate to severe CKDRespiratory rate
WBC < 4000/μLGlasgow coma scale
Age plus uncomplicated DM
COPD = chronic obstructive pulmonary disease; DM = diabetes mellitus; WBC = white blood cell; CKD = chronic kidney disease.
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Goh, V.; Chou, Y.-J.; Lee, C.-C.; Ma, M.-C.; Wang, W.Y.C.; Lin, C.-H.; Hsieh, C.-C. Predicting Bacteremia among Septic Patients Based on ED Information by Machine Learning Methods: A Comparative Study. Diagnostics 2022, 12, 2498. https://doi.org/10.3390/diagnostics12102498

AMA Style

Goh V, Chou Y-J, Lee C-C, Ma M-C, Wang WYC, Lin C-H, Hsieh C-C. Predicting Bacteremia among Septic Patients Based on ED Information by Machine Learning Methods: A Comparative Study. Diagnostics. 2022; 12(10):2498. https://doi.org/10.3390/diagnostics12102498

Chicago/Turabian Style

Goh, Vivian, Yu-Jung Chou, Ching-Chi Lee, Mi-Chia Ma, William Yu Chung Wang, Chih-Hao Lin, and Chih-Chia Hsieh. 2022. "Predicting Bacteremia among Septic Patients Based on ED Information by Machine Learning Methods: A Comparative Study" Diagnostics 12, no. 10: 2498. https://doi.org/10.3390/diagnostics12102498

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop