Skip to content
Open access

Evaluating CNN Performance for Sentiment Classification of Mental Health-Related Social Media Text: A Comparative Study of Small and Large Datasets

2026 · International journal of research and scientific innovation · Vol 13, pp. 3358-3367 · 0 citations

TL;DR

The results indicate that CNN can classify sentiment patterns in mental-health-related social media text, however, sentiment classification cannot be considered a clinical diagnosis or direct evidence of schizophrenia.

Abstract

Social media provides a large amount of user-generated text in which people share their thoughts, feelings, experiences, and opinions. This text can be studied using natural language processing and deep learning techniques. This study evaluates the performance of a Convolutional Neural Network (CNN) for sentiment classification of mental-health-related social media text. A small dataset and a larger dataset are compared to examine the classification performance of the CNN across datasets of different sizes. The small dataset contains 732 social media text entries, while the large dataset contains 27,972 entries. The text data were prepared using lowercasing, tokenization, stopword removal, stemming, and lemmatization. TF-IDF, GloVe, and Word2Vec were used for text representation as described for the respective datasets. CNN models were developed using Keras and evaluated using accuracy, precision, recall, and F1-score. The CNN achieved an accuracy of 97% on the small dataset and 90.56% on the large dataset. The reported F1-scores were 49% and 90%, respectively. The difference between accuracy and F1-score in the small dataset shows the importance of considering class distribution when evaluating classification performance. The results indicate that CNN can classify sentiment patterns in mental-health-related social media text. However, sentiment classification cannot be considered a clinical diagnosis or direct evidence of schizophrenia. The study therefore focuses on sentiment classification and on comparing CNN performance across datasets of different sizes.

Read PDF

Similar papers

Open access Oct 2026

Classification of Humorous and Serious Communication Styles on X Social Media Using a Hybrid Convolutional Neural Network and Long Short-Term Memory Model

Social media platforms like X generate massive volumes of user-generated text containing diverse communication styles, including humorous and serious expressions that are difficult to distinguish due to their reliance on contextual and semantic nuance. This study proposes a hybrid Convolutional Neural Network (CNN) and...

A. Erwanda, M. Ula, Muhammad Daud et al. · 0 citations
Open access Nov 2026

A TF-IDF and logistic regression baseline for binary sentiment classification of short texts

The rapid growth of social media has created a large amount of short-text data that expresses people's feelings and opinions on many topics; therefore, sentiment classification has become a popular problem to address. This paper focuses on binary sentiment classification using the Sentiment 140 dataset of 1.6 million l...

Mustafa Ali Mohsin, Salam Abdulkhaleq Noaman · 1 citation
Open access 2026

A COMPARATIVE STUDY OF MACHINE LEARNING TECHNIQUES FOR SENTIMENT CLASSIFICATION OF SOCIAL MEDIA TEXT

Social media platforms generate vast volumes of opinionated text, making automated sentiment classification a core task in natural language processing. One high-stakes application is the analysis of public opinion on India's National Education Policy 2020 (NEP-2020), which has sustained online debate through its fifth...

P. Jain, M. S. Ansari · 0 citations
Conference Open access 2026

Sentiment Analysis for Social Media Applications: A Deep Learning and Neuro-Symbolic Perspective

In the current paper we address the sentiment analysis case of social media by comparing some of the deep learning, hybrid and neuro-symbolic approaches to this specific area. Social media text is distinctive both in form and in area, usually with sentiment in different languages and in an unformatted state that is har...

Bandanjot Kaur, Sushil Kumar Garg · 0 citations
Open access 2025

ML Model Comparison for Sentiment Analysis Across Diverse Datasets

Analyzing sentiment is crucial for understanding public opinion on various issues in marketing, politics, and social sciences. This study compares the performance of seven different machine learning algorithms for sentiment classification, focusing on their effectiveness, accuracy, and complexity. The research is condu...

Ruchika Gupta, N. Singh · 0 citations
Conference Oct 2026

Integrated sentiment analysis of social media based on deep learning and topic modeling—a case study of Xiaomi's Weibo trending data

As social media serves as a public arena for information aggregation, the volume of user-generated comment data provides resources for corporate public opinion monitoring and product feedback. This paper proposes a sentiment analysis framework that integrates the BERT language model, jieba word segmentation and keyword...

Xiao-Xi Wang, Zi-Xin Jia · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.