Skip to content

Hackit-2-0/CBT-DJSCOE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DJSCE - Codeshastra 6.0

CBT DJSCE


Team name : CodeCrafters 😎

Problem Statement

Design a system that would help an individual to overcome his Mental disorder by exploring parameters like tracking anxiety levels, stress levels and physical and mental tiredness. CBT (Cognitive behavioral therapy) is commonly used to treat a wide range of disorders, including phobias, addictions, depression, and anxiety. Use CBT techniques and methods along with Machine Learning or Artificial intelligence and provide solutions. Also,a chatbot to deal with the above problem would be appreciated.

Zuly Chatbot

Solution

This project was made within 24 hours at the DJSCOE Hackathon. The problem statement chosen was to build a CBT based solution for helping users to deal with depression, anxiety, phobia, etc.

We developed a web-based portal for the same.

The user is presented with a chatbot interface where the zuly presents a set of questions to determine whether the person is under depression or anxiety and the scale of it. The quiz is based on NHS's mental health and well-being mood self-assessment test : NHS mood self assessment 📃

The results of the quiz are then shared with the user, along with helpful tips to deal with it as per the user's response.

The user can also play a game which has series of questions, based on every response that the user enters, the next question is chosen. This helps to narrow down to the actual problem faced by the user. If the user digresses from his previous responses, a fresh set of questions are presented as per his response.

Based on the response for each question, user is suggested with tips that are not only comforting but also that encourage him/her to face the problem.

Tech stack

1️⃣ Client Side : ReactJs , React Hooks , Highcharts react, Semantic UI React.

2️⃣ Server Side : Flask, Node JS.

3️⃣ ML Model : tflearn , tensorflow , nltk , Deep neural network (DNN).

4️⃣ Database and Storage : Firebase Cloud Firestore.

Requirements

Node and python package required is present Here

You can run and edit the algorithms or contribute to them using Gitpod.io, a free online development environment, with a single click.

Open in Gitpod

Clone git repository

    $ Git clone "https://github.com/Hackit-2-0/CBT-DJSCOE.git"

Folder Structure

📂 CBT-DJSCE

        :open_file_folder: assets.
                :file_folder: images.

        :open_file_folder: cbt.

                :file_folder: node_modules
                :file_folder: public
                :file_folder: src
                :page_facing_up: .gitignore
                :page_facing_up: package.json
                :page_facing_up: ReadMe.md

        :open_file_folder: server.

                :open_file_folder: models.

                        :open_file_folder: chat.
                                :page_facing_up: bot.py.
                                :page_facing_up: classification.py.
                                :page_facing_up: data.pickle.
                                :page_facing_up: model.json.
                                :page_facing_up: server.py.

Render React UI

$ cd cbt

Install node_modules

$ npm i   

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

$ npm start 

Run ML model and Start Flask server

$ cd server
$ cd models
$ cd chat
$ python bot.py
$ python classfication.py
$ python server.py

Licensed under the MIT License

Contributors

Name Email 📧
Vedang parasnis vedang.parasnis@somaiya.edu
Priya mane priya.hm@somaiya.edu
Hritik Jaiswal hritik.jaiswal@somaiya.edu

Developed with ❤️ by Vedang Parasnis , Priya mane and Hritik jaiswal.