Skip to content

Website for depression analysis by using LSTM-based model to classify depressive tweets.

License

Notifications You must be signed in to change notification settings

TusharPuri10/MoodMeter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MoodMeter: Depressive Tweet Analysis ( Model & Website )

1680806177852.mp4

About The Project

MoodMeter is a project for analyzing depressive tweets using Natural Language Processing (NLP) techniques. The goal of this project is to explore how people express their emotions related to depression on social media and to identify patterns and trends in their language usage.

This project also aims to broaden the scope of social media-based mental health measures and to build an algorithm that can predict text-based signs of depression using existing research that has proven the correlation between depression and specific linguistic features.

Functionality

The tweets which user inputs are analyzed for their sentiment using an LSTM (Long Short-Term Memory) neural network and give label 'cheerful' or 'depressive' to the tweet.

Getting Started

To use this project, you will need to follow these steps:


1. Prerequisites

You will need to have the following software installed on your computer:

  • Python 3.8.2
  • Node.js
  • npm

2. Installing

  1. Clone this repository to your local machine using
  • git clone https://github.com/TusharPuri10/DepressiveTweetsAnalysis.git.
  1. Navigate to the root directory of the project in your terminal or command prompt.

  2. Set up a virtual environment. See here for more details. Don't forget to activate the virtual environment and then Install the required Python packages by running the following command:

  • pip install -r requirements.txt
  1. Navigate to the 'frontend' directory and install the required Node.js packages by running the following command:
  • npm install

3. Running the Application

  1. In the 'backend' directory of the project, start the Flask server by running the following command:
  • python main.py
  1. In a separate terminal or command prompt window, navigate to the 'frontend' directory and build the React application by running the following command:
  • npm run build
  1. Start the React server by running the following command:
  • npm start
  1. Open your web browser and go to http://localhost:3000/ to access the application.

Built With

Frontend

  • React
  • JavaScript
  • Material UI

Backend

  • Firebase
  • Python
  • Flask
  • Keras
  • TensorFlow

Dependencies

  • Python 3.8.2
  • Tensorflow
  • Keras
  • rest of them are listed in requirements.txt

Design of website

Design

Contributing

If you want to contribute to this project, feel free to submit a pull request. Before doing so, please make sure that your changes are aligned with the project's goals and that they do not break the existing code.

License

This project is licensed under the MIT License. Feel free to use, modify, and distribute it as you wish.

About

Website for depression analysis by using LSTM-based model to classify depressive tweets.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published