The Mental Health Analytics App is a Streamlit-based application designed to help mental health specialists in urban areas quickly understand their patients' mental health, particularly those in inaccessible rural areas. This tool bridges the gap between rural patients and therapists in urban centres by providing insights into patient moods, recurring thought patterns, and categorized concerns.
- Allows users to share their thoughts and moods through text.
- Basic Version:
- Performs sentiment analysis (Positive, Negative, Neutral).
- Logistic Regression-based self-trained model with 80% accuracy.
- Pro Version:
- Performs multi-emotion classification using a pre-trained DistilBERT model.
- Visualizes emotion distribution over time.
- Uses Multimodal Naive Bayes classifier to classify recurring thoughts into 7 predefined categories such as:
- Family, Finance, Relationships, Abuse, Health, Employment, Education.
- Tracks and visualizes recurring themes over time to highlight areas of concern.
- Generates a consolidated PDF report for therapists, including:
- Mood trends and emotion distribution.
- Categorized thought patterns.
- Infographics for quick analysis.
- Python 3.8+
- Git
- Clone the repository:
git clone https://github.com/ferozk0333/Mental-Health-Analytics-using-NLP.git cd Mental-Health-Analytics
- Create Virtual Environment:
python -m venv venv venv\Scripts\activate
- Install Dependencies:
pip install -r requirements.txt
- Run app:
streamlit run main.py
- Regional Language Support: Support local and regional languages to cater to a broader audience.