Author
Listed:
- Samika Sameer Patil
(Student, Pillai College of Engineering, New Panvel (Autonomous), Mumbai University, Navi Mumbai, Maharashtra)
- Dr. Sharvari Govilkar
(Professor, Department of Computer Engineering, Pillai College of Engineering, New Panvel (Autonomous), Navi Mumbai, Maharashtra, 410206)
Abstract
Research Background: Suicidal ideation is a major public health concern that affects millions of individuals worldwide and can lead to severe psychological consequences if not identified at an early stage. The increasing availability of user-generated textual content on social media and online platforms provides an opportunity to develop automated systems for detecting suicide-related risk factors through natural language analysis. Objective: This study aims to analyze and detect suicidal ideation in text data using machine learning techniques and to identify the most effective model for accurate, interpretable, and scalable mental health screening. Methods: A balanced dataset consisting of approximately 232,000 text posts obtained from Kaggle was utilized for experimentation. The proposed framework employed a four-stage pipeline involving data preprocessing, feature extraction using Term Frequency–Inverse Document Frequency (TF-IDF), model training, and evaluation. Three machine learning algorithms—Logistic Regression (LR), Linear Support Vector Machine (SVM), and Naive Bayes (NB)—were implemented and optimized using Grid Search CV. Performance was assessed using accuracy, precision, recall, F1-score, confusion matrix analysis, and cross-validation techniques. Results: The experimental results demonstrated that Logistic Regression achieved the best overall performance with an accuracy of 90.2% and an F1-score of 90.2%. Linear SVM achieved the highest recall of 92.1%, making it highly effective in identifying potential suicidal cases and reducing false negatives. Naive Bayes exhibited the fastest execution time while maintaining competitive classification performance. Feature importance analysis identified terms such as “hopeless†and “alone†as strong predictors of suicidal ideation. Conclusion: The findings indicate that traditional machine learning models can provide accurate, interpretable, and computationally efficient solutions for suicidal ideation detection. The proposed framework demonstrates significant potential for real-time mental health monitoring and suicide prevention systems. Future work will focus on integrating real-time data sources and conducting clinical validation studies to enhance practical deployment.
Suggested Citation
Samika Sameer Patil & Dr. Sharvari Govilkar, 2026.
"Analysis and Detection of Suicidal Ideation in Text Data Using Machine Learning,"
International Journal of Research and Innovation in Social Science, International Journal of Research and Innovation in Social Science (IJRISS), vol. 10(6), pages 9870-9889, June.
Handle:
RePEc:bcp:journl:v:10:y:2026:i:6:p:9870-9889
Download full text from publisher
Corrections
All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:bcp:journl:v:10:y:2026:i:6:p:9870-9889. See general information about how to correct material in RePEc.
If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.
We have no bibliographic references for this item. You can help adding them by using this form .
If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.
For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Dr. Pawan Verma (email available below). General contact details of provider: https://rsisinternational.org/journals/ijriss/ .
Please note that corrections may take a couple of weeks to filter through
the various RePEc services.