RESUMO
OBJECT: To obtain Pulmonary Inflammation Index scores from imaging chest CT and combine it with clinical correlates of viral pneumonia to predict the risk and severity of viral pneumonia using a computer learning model. METHODS: All patients with suspected viral pneumonia on CT examination admitted to The Affiliated Traditional Chinese Medicine Hospital of Southwest Medical University from December 2022 to March 2023 were retrospectively selected. The respiratory viruses were monitored by RT-PCR and categorized into patients with viral pneumonia and those with non-viral pneumonia. The extent of lung inflammation was quantified according to the Pulmonary Inflammation Index score (PII). Information on patient demographics, comorbidities, laboratory tests, pathogenetic testing, and radiological data were collected. Five machine learning models containing Random Forest(RF), Radial Basis Function Neural Network (RBFNN), Support Vector Machine (SVM), K Nearest Neighbour Algorithm (KNN), and Kernel Ridge Regression (KRR) were used to predict the risk of onset and severity of viral pneumonia based on the clinically relevant factors or PII. RESULTS: Among the five models, the SVM model performed best in ACC (76.75 %), SN (73.99 %), and F1 (72.42 %) and achieved a better area under the receiver operating characteristic curve (ROC) (0.8409) when predicting the risk of developing viral pneumonia. RF had the best overall classification accuracy in predicting the severity of viral pneumonia, especially in predicting pneumonia with a PII classification of grade I, the RF model achieved an accuracy of 98.89%. CONCLUSION: Machine learning models are valuable in assessing the risk of viral pneumonia. Meanwhile, machine learning models confirm the importance in predicting the severity of viral pneumonia through PII. The establishment of machine learning models for predicting the risk and severity of viral pneumonia promotes the further development of machine learning in the medical field.