Code Monkey home page Code Monkey logo

amrutwali / depression-detector Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 2.0 32.79 MB

An Application which can be used to feed speech transcript via a chatbot interface and get the depression indicator of the person speaking. A deep learning model is used to classify the depression percentage

License: GNU General Public License v3.0

HTML 2.25% CSS 6.23% JavaScript 14.30% Python 3.13% TeX 74.10%
daic-woz deep-learning flask flask-server full-stack glove-embeddings neural-network python python-backend react reactjs

depression-detector's Introduction

Readme

This project contains an application to take input of text and classify it into two categories which are Depressed or Non-Depresssed using a deep learning algorithm. The project contains a frontend where the user can input text data which will be sent to the model to be processed and a result will be generated. The implementation has two components the front-end for user interaction and the back-end for the python run flask server

Pre-requisites

This project uses a deep learning algorithm word vectorization using the GloVe vector corpus which has to be pre-downloaded by the user
It is available to download Here

It must be extracted into the folder glove.6B and the folder should be placed in the server directory

The final path must look something like this server\glove.6B\*.txt

Execution

Run Front-end

  • Open a command line in the client directory
  • npm install --legacy-peer-deps to install all the required node libraries
  • npm start to run the development server

Run Flask Server

The backend part of the depression training model

  • pip install virtualenv to install virtual environment to local machine
  • Open the server directory in a new command line
  • Create a virtual environment in current directory with virtualenv venv
  • Switch to the virtual environment venv\Scripts\activate
  • Install all the required python Libraries pip install -r requirements.txt
  • Run the flask development server using flask run

xcopy <source> <destination> /EXCLUDE:exclude.txt /S

/S is for recursive copy

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.