Mental Health Safety and Depression Detection in Social Media Text Data: A Classification Approach Based on a Deep Learning Model

Project Code :TCMAPY1881

Objective

This project uses deep learning models—BERT+CNN, DistilBERT+BiLSTM, DeBERTa+BiLSTM, and DistilGPT2+BiLSTM—to classify Twitter data as healthy or depressed. It features a Flask-based web application with user registration and sentence classification. The goal is to develop an effective automatic tool for mental health monitoring through text analysis. Model performance is evaluated to identify the best approach for detecting depression from social media posts.

Abstract

This project focuses on identifying mental health status, specifically detecting depression, through analyzing social media text data using deep learning models. The approach uses four advanced algorithms: BERT combined with CNN, DistilBERT with BiLSTM, DeBERTa with BiLSTM, and DistilGPT2 paired with BiLSTM. These models classify user-generated text as either healthy or depressed. The dataset consists of various social media posts related to mental health. The system is designed with modules for user registration, login, sentence classification, and logout. A web application is developed using Flask as the backend framework and HTML, CSS, and JavaScript for the frontend. This setup enables users to interact with the classification system efficiently. The project aims to contribute to mental health monitoring by providing a reliable automatic detection tool based on text data analysis. The models are evaluated to find the best performing method for this classification task. This study highlights the potential of deep learning techniques in understanding mental health signals from text inputs.

 

Keywords: Mental health, depression detection, social media, text classification, deep learning, BERT, CNN, BiLSTM, DistilBERT, Flask.

NOTE: Without the concern of our team, please don't submit to the college. This Abstract varies based on student requirements.

Block Diagram

Specifications

H/W CONFIGURATION:

Processor                                 - I3/Intel Processor

Hard Disk                                - 160GB

Key Board                               - Standard Windows Keyboard

Mouse                                     - Two or Three Button Mouse

Monitor                                   - SVGA

RAM                                       - 8GB

S/W CONFIGURATION:

•      Operating System                    :  Windows 7/8/10

•      Server side Script                    :  HTML, CSS, Bootstrap & JS

•      Programming Language         :  Python

•      Libraries                                  :  Flask, Pandas, MySQL. Connector, Scikit-Learn, pytorch

•      IDE/Workbench                      :  VS Code

•      Technology                             :  Python 3.8+

•      Server Deployment                 :  Xampp Server

Demo Video