Mental health is a critical issue in global public health, especially in the digital era where individuals often express their psychological conditions through social media posts. This study aims to develop a multi-class classification model to detect mental health conditions based on social media text using TF-IDF (term frequency–inverse document frequency) for feature extraction and XGBoost…