RESUMEN
The mental and physical well-being of healthcare workers is being affected by global COVID-19. The pandemic has impacted the mental health of medical staff in numerous ways. However, most studies have examined sleep disorders, depression, anxiety, and post-traumatic problems in healthcare workers during and after the outbreak. The study's objective is to evaluate COVID-19's psychological effects on healthcare professionals of Saudi Arabia. Healthcare professionals from tertiary teaching hospitals were invited to participate in the survey. Almost 610 people participated in the survey, of whom 74.3% were female, and 25.7% were male. The survey included the ratio of Saudi and non-Saudi participants. The study has utilized multiple machine learning algorithms and techniques such as Decision Tree (DT), Random Forest (RF), K Nearest Neighbor (KNN), Gradient Boosting (GB), Extreme Gradient Boosting (XGBoost), and Light Gradient Boosting Machine (LightGBM). The machine learning models offer 99% accuracy for the credentials added to the dataset. The dataset covers several aspects of medical workers, such as profession, working area, years of experience, nationalities, and sleeping patterns. The study concluded that most of the participants who belonged to the medical department faced varying degrees of anxiety and depression. The results reveal considerable rates of anxiety and depression in Saudi frontline workers.