{'fraction_non_alphanumeric': 0.034411562284927734, 'fraction_numerical': 0.02339986235375086, 'mean_word_length': 5.161016949152542, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Identification of Risk Factors Associated With Mortality Among Patients With COVID-19 Using Random Forest Model: A Historical Cohort Study

There is conflicting evidence about factors associated with Clinical course and risk factors for mortality of adult inpatients. We aimed to identify the demographic, clinical, treatment, and laboratory data factors associated with mortality in the Khoy district. We performed a retrospective cohort study including COVID-19 infected patients who were admitted to Qamar-Bani Hashim hospital from 2 November 2020 to 4 December 2020. We used random forest methods to explore the risk factors associated with death. The applied method was evaluated using sensitivity, specificity, accuracy, and the area under the curve. Age, pulmonary symptoms, patients need a ventilator, brain symptoms, nasal airway, job were the most important risk factors for mortality of COVID-19 in the random forest (RF) method. The RF method showed the highest accuracy, 82.9 and 79.3, for training and testing samples, respectively. However, this method resulted in the highest specificity (89.5% for training and 95.7% for testing sample) and the highest sensitivity (91.9% for training and 94.5% for testing sample). The potential risk factors consisting of older age, pulmonary symptoms, the use of a ventilator, brain symptoms, nasal airway, and the job could help clinicians to identify patients with poor prognosis at an early stage.