Coder Social home page Coder Social logo

vaibhaves / mentalhealthwithai Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 2.0 54.69 MB

divorcePRED offers an end to end solution from predicting the state of marriage with the help of machine learning, finding like minded people through clustering, emotional analysis through natural language processing and finding optimal routes and therapy centres through graph algorithms.

Python 91.50% CSS 1.07% HTML 1.76% Jupyter Notebook 4.54% JavaScript 0.82% SCSS 0.31%
artificial-intelligence bitmasking clustering dynamic-programming graph-algorithms machine-learning

mentalhealthwithai's Introduction

Overview

Mental health is a taboo topic and often people don't open up their problems with others, through this website users can evaluate their situation without a third party.

DivorcePRED offers an end to end solution from predicting the state of marriage with the help of machine learning, finding like minded people through clustering, emotional analysis through natural language processing and finding optimal routes and therapy centres through graph algorithms.

$ cd to project location and activate virtual env using "venv\scripts\activate"  
$ Install flask using pip with command "pip install flask flask-sqlalchemy" 
$ Run using "python run.py"

Features

  • Emotional Analysis
A couple involved in a relationship will be going through a wide range of emotions. When that relationship is in turmoil, even greater emotion is displayed and many do not know how to handle them or overcome them. These emotions may be affecting them mentally and they may not even be aware of it as they are occupied with other thoughts, This module will focus on analysing how the uses are feeling about themselves or how they are feeling about their relationship. Based on the analysis made on their response, appropriate solutions will be provided to help them tackle their problems.
  • Map
Imagine after a doctor appointment, you are required to visit different kind of therapy centres, there are a lot of constraints and requirements and many possible therapy centres to choose from or suppose you need to choose the best centre according to your needs, this is where our map module is handy. Consider a scenario, where you want to cover different therapy centres for different treatments and also want to optimize your journey so that we cover the least total distance. For example if the requirements are art therapy and depression we only need to cover two centres which offer these services.
  • Clustering
Anyone who is emotionally at a low point needs support and counselling to overcome their grief. Therapy and especially group therapy is an effective method. In group therapy people express their issues and problems with similar peers and is helped by the peers and the therapist to overcome their grief and sorrow.This is where the clustering module is used. With the use of various clustering algorithms, the form input entered by the user is taken as the attributes for clustering purpose. People who answered similarly in the questionnaire would be facing similar issues and similar people would be grouped to the same cluster.Similar people grouped into the same group therapy session, would lead to faster improvement and betterment of the patients.
  • Divorce Predictor
This module forms the heart of the application with various other modules being dependent on the output of this module. The main function of the module is to predict whether the user will get a divorce based on the input provided by the user. The input from the user is taken through a form and fed to the trained machine learning model which resides in the backend. The model will then produce a prediction which will then be displayed to the user. Eight ML models have been trained and tested. Gradient Boosting with cross validation has given the highest accuracy. Since GB has given the highest accuracy, it is used for prediction.

mentalhealthwithai's People

Contributors

aravinda214 avatar balaji-m13 avatar kishan-ui avatar praneethgh avatar satya8502 avatar vaibhaves avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

mentalhealthwithai's Issues

UI changes

  • The error page in clustering module has to be changed to a professional one

image

  • The loading page in emotional analysis is transparent, and the robot image looks odd because of the white background

image

  • Footer has to be added to all page modules, please paste the footer code in footer.html and remove the existing footer code in home.html, everyone else extend it in your modules.

Footer

We need to add a responsive footer

Prediction result is too small

I think it will look a lot better if

  • We increase the size of box
  • Smoothen the corners, instead of a square [rounded corners] [https://www.w3schools.com/css/css3_borders.asp]

image

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.