- About the Project
- Technology Used
- Importance
- Prerequisites
- License
- How to Contribute to the Project
This is an AI powered app that uses NLP to assess the mental state of a user an then uses data stored in Snowflake database i.e Location of Psychologists and Psychiatrists within their county. it utilizes Snowflake snowpark python ,to connect the streamlit app with the database and nlp-bert-base-multilingual-uncased-sentiment algorithm to determine the polarity of the user.
Once the user has accessed the MentalMuse app , he/she answers questions in a questionnaire. Each question carries its own weight, depending on the relevance of the question in determining the mental state of the individual. Once the polarity of the answer they have given is predicted , it is then multiplied by the weight. This technique improves the accuracy of the prediction i.e. degree of their mental state.
The percentage stress level is output and then queried into the database and the solution based on it is given. Awesome , Right 😉! The app also asks the location of the user and then from the database gets the address location of a psychaitrist/psychologists near them.
- STREAMLIT
I have utilized this framework to run MentalMuse. It was fun using it 😄 It is very easy to use.
- Snowflake
I have utilized this cloud platform to create my database and tables containing the Psychologist Office Location , Reviews and the advise they offer dapending on the level of depression and stress generated.
- Natural Language Processing
For this part , I have utilzed the bert-base-multilingual-uncased-sentiment to carry out the classification of the users input. It is finetuned for sentiment analysis on feedback in six languages: English, Dutch, German, French, Spanish and Italian. It predicts the sentiment of the the input as a number of stars (between 1 and 5).
1 - Very Negative
5- very Positive
The importance of MentalMuse is to help people get advice on how to tackle their mental health issues which are on the rise because of many reasons. According to the World health Organization , one in every 4 people suffer from Mental Health illness. Prevention and early intervention are key to promoting mental health and preventing the development of mental health conditions.
From the requirement.txt;
- streamlit
- transformers==4.12.5
- torch==1.10.0
- bs4==0.0.1
- snowflake-snowpark-python
- Python 3.8