OBJECTIVE: To develop a deep learning-based decision tree for the primary care setting, to stratify adult patients with confirmed and unconfirmed coronavirus disease 2019 (COVID-19), and to predict the need for hospitalization or home monitoring. PATIENTS AND METHODS: We performed a retrospective cohort study on data from patients admitted to a COVID hospital in Rome, Italy, between 5 March 2020 and 5 June 2020. A confirmed case was defined as a patient with a positive nasopharyngeal RT-PCR test result, while an unconfirmed case had negative results on repeated swabs. Patients' medical history and clinical, laboratory and radiological findings were collected, and the dataset was used to train a predictive model for COVID-19 severity. RESULTS: Data of 198 patients were included in the study. Twenty-eight (14.14%) had mild disease, 62 (31.31%) had moderate disease, 64 (32.32%) had severe disease, and 44 (22.22%) had critical disease. The G2 value assessed the contribution of each collected value to decision tree building. On this basis, SpO2 (%) with a cut point at 92 was chosen for the optimal first split. Therefore, the decision tree was built using values maximizing G2 and LogWorth. After the tree was built, the correspondence between inputs and outcomes was validated. CONCLUSIONS: We developed a machine learning-based tool that is easy to understand and apply. It provides good discrimination in stratifying confirmed and unconfirmed COVID-19 patients with different prognoses in every context. Our tool might allow general practitioners visiting patients at home to decide whether the patient needs to be hospitalized.
Gemelli decision tree Algorithm to Predict the need for home monitoring or hospitalization of confirmed and unconfirmed COVID-19 patients (GAP-Covid19): preliminary results from a retrospective cohort study