Abstract

ObjectivesTo predict community acquired pneumonia after respiratory tract infection (RTI) consultations in primary care by applying machine learning to electronic health records. Study design and SettingA population-based cohort study was conducted using primary care electronic health records between 2002 to 2017. Sixteen thousand two hundred eighty-nine patients who consulted with RTIs then subsequently diagnosed with pneumonia within 30 days were compared with a random sample of eligible RTI patients. Variable selection compared logistic regression, random forest and penalized regression models. Prediction models were developed using classification and regression trees (CART) and logistic regression. Model performance was assessed through internal and temporal validations. ResultsOlder age, comorbidity, and initial presentation with lower respiratory tract infection (LRTIs) were identified as the main predictors of pneumonia diagnosis. Developed models achieved good discrimination accuracy with AUROC for the logistic regression model being 0.81 (0.80, 0.84) and 0.70 (0.69, 0.71) for CART during internal validation, and 0.80 (0.79, 0.81) vs. 0.68 (0.67, 0.69) for temporal validation. ConclusionFrom a large number of candidate variables, a small number of predictors of pneumonia were consistently identified through machine learning variable selection procedures. Logistic regression generally provided better model performance than CART models.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.