Skip to content

Latest commit

Β 

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Mental Health Analysis Among Indian Youth (Machine Learning Project)

This repository contains my data science minor project on analyzing mental health, stress, anxiety, and depression among Indian youth using machine learning.

πŸ” Project Overview

  • Dataset: 600 survey responses from Indian students and young professionals
  • Goal:
    • Understand stress and mental health patterns
    • Predict stress levels and mental health risk
    • Identify high-stress students who may need support

πŸ“‚ Files used

  • collecteddata.csv – Original survey dataset
  • mental_health_analysis.ipynb – Main Jupyter Notebook with:
    • Data loading and exploration
    • Data cleaning and preprocessing
    • Outlier detection and removal
    • Feature engineering
    • Machine learning modeling (5 insights)
    • Result summaries and visualizations
  • report/Mental_Health_Analysis_Report.pdf – Full project report (30+ pages)

🧠 Main Analyses (Insights)

  1. Predicting Student Stress Levels

    • Regression models to predict stress (1–5) from lifestyle and demographic features
    • Best model: Linear Regression (MAE β‰ˆ 0.79)
  2. Identifying Mental Health Risk (Anxiety/Depression)

    • Binary classification (has mental issue vs no issue)
    • Best model: Logistic Regression (Accuracy β‰ˆ 66%, good recall for screening)
  3. Classifying Emotional States

    • Multi-class classification (Happy, Neutral, Stressed, Anxious, Depressed)
    • Best model: Random Forest (slightly better than random, emotional state is complex)
  4. Impact of Sleep on Stress

    • Regression models using sleep hours, screen time, exercise, age group
    • Confirms that lifestyle alone cannot fully explain stress, but sleep still matters
  5. Detecting High-Stress Students (Levels 4–5)

    • Binary classification (high stress vs low/medium stress)
    • Best model: SVM (Accuracy β‰ˆ 66%, good recall for high-stress cases)

πŸ“Š Technologies

  • Python, Jupyter Notebook
  • pandas, NumPy
  • matplotlib, seaborn
  • scikit-learn (Linear Regression, Logistic Regression, Decision Trees, Random Forest, SVM, Naive Bayes, KNN)

▢️ How to Run the project

  1. Clone the repository:
    git clone https://github.com/mayank2295/mental-health-analysis-india.git
    cd mental-health-analysis-india

About

Mental Health Analysis Among Indian Youth Using Machine Learning

Resources

Stars

23 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages