This project predicts whether a Reddit post or any post indicates depression using machine learning.
I have used Reddit's API via praw to scrape posts from mental health-related subreddits such as r/depression and r/anxiety.Code for the same can be found in the 'notebooks' folder
- Text classification using Naive Bayes, Logistic Regression, and Random Forest.
- TF-IDF-based feature extraction.
- Streamlit frontend to enter text and see predictions.
- Model comparison chart with accuracy and F1 score.
- Python, Scikit-learn, Pandas
- Streamlit
- Joblib
streamlit run app.py