Skip to content

A deep learning project that detects signs of depression in user-generated text using a CNN model. Built with Keras and TensorFlow, the model is trained on a large-scale, multi-source dataset aggregated from Kaggle.

License

Notifications You must be signed in to change notification settings

Rayan-Azrai/NLP-CNN-Depression-detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Depression Detection using CNN

This project uses a Convolutional Neural Network (CNN) model to detect signs of depression in user-generated text. It combines multiple datasets from Kaggle, which have been preprocessed and merged for effective training.

πŸ“‚ Project Structure

  • Depression detection CNN.ipynb: Jupyter Notebook with data preprocessing, model training, and evaluation.
  • The dataset used was compiled from multiple publicly available sources on Kaggle.

πŸ’‘ Highlights

  • Preprocessing steps that are done and not included in this project include emoji and noise removal, lowercasing, and tokenization.
  • Model built using TensorFlow/Keras with embedding layers and 1D convolutions.
  • Achieves strong performance on large-scale, multi-source text data.

πŸ“Š Dataset

The datasets were sourced from Kaggle and combined. Due to the large size (~500,000 entries), the dataset is not included in this repo.

You can download similar datasets here:

  • [Kaggle Dataset 1](will provice source later)
  • [Kaggle Dataset 2](will provice source later)

πŸ”§ Requirements

  • Python 3.7+
  • TensorFlow
  • scikit-learn
  • pandas
  • numpy
  • matplotlib

Install dependencies:

pip install -r requirements.txt

About

A deep learning project that detects signs of depression in user-generated text using a CNN model. Built with Keras and TensorFlow, the model is trained on a large-scale, multi-source dataset aggregated from Kaggle.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published