JOURNAL ARTICLE

Enhancing Suicide Detection via Chi-Square-Based Feature Selection and Machine Learning

Asfakahemad Y DarveshwalaVidita PatelKaushal Kumar SharmaRamizraja Shethwala

Year: 2025 Journal:   Metallurgical and Materials Engineering Vol: 31 (4)Pages: 386-393   Publisher: Association of Metallurgical Engineers of Serbia

Abstract

Suicidal ideation detection has emerged as a crucial issue in mental health research, especially as social media use has increased and users are more likely to reveal psychological distress. In this study, an AI-driven approach to detecting suicide intent on Twitter is proposed using machine learning techniques. Natural Language Processing (NLP) techniques were used to collect and preprocess a dataset of tweets, from which features were selected using the SelectKBest algorithm, which is based on chi-square analysis. Using an 80:20 train-test split, four classification models—AdaBoost, K-Nearest Neighbors (KNN), Support Vector Machine (SVM), and Decision Tree—were trained and evaluated. The SVM classifier achieved the highest accuracy of 89.66% and the highest precision of 91%, outperforming the other classifiers in detecting suicidal tendencies in social media posts. For the early detection of suicide risk, the results validate the effectiveness of conventional machine learning models when combined with appropriate feature selection techniques. This work shows how AI can be integrated into real-time mental health monitoring systems for early intervention and prevention.

Keywords:
Feature selection Materials science Square (algebra) Feature (linguistics) Selection (genetic algorithm) Artificial intelligence Machine learning Pattern recognition (psychology) Computer science Mathematics Geometry

Metrics

0
Cited By
0.00
FWCI (Field Weighted Citation Impact)
0
Refs
0.05
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Topics

Anomaly Detection Techniques and Applications
Physical Sciences →  Computer Science →  Artificial Intelligence
Mental Health Research Topics
Social Sciences →  Psychology →  Experimental and Cognitive Psychology
© 2026 ScienceGate Book Chapters — All rights reserved.