https://github.com/akamohid/stress-level-predictor
π Predict student stress levels (Low/Medium/High) with ML for early intervention and support.π
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
βCITATION.cff file
-
βcodemeta.json file
Found codemeta.json file -
β.zenodo.json file
Found .zenodo.json file -
βDOI references
-
βAcademic publication links
-
βAcademic email domains
-
βInstitutional organization owner
-
βJOSS paper metadata
-
βScientific vocabulary similarity
Low similarity (11.9%) to scientific vocabulary
Repository
π Predict student stress levels (Low/Medium/High) with ML for early intervention and support.π
Basic Info
- Host: GitHub
- Owner: akamohid
- License: mit
- Language: Jupyter Notebook
- Default Branch: main
- Size: 3.94 MB
Statistics
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
# π Stress Level Predictor
π Project Overview
Predict student stress levels (Low π’, Medium π‘, High π΄) using psychological, academic, and lifestyle survey data via machine learning. Empower universities to intervene early and support student well-being.
π Key Features
- π§Ή Data Cleaning & Preprocessing
- π Exploratory Data Analysis (EDA)
- π Dimensionality Reduction with PCA
- π€ Model Training:
- Decision Tree π³
- Random Forest π²
- Support Vector Machine βοΈ
- K-Nearest Neighbors π
- Logistic Regression β
- Gradient Boosting π
- Decision Tree π³
- π Model Evaluation: Accuracy, Precision, Recall, F1-Score
- π‘ Comparison Dashboard of all models
π Repository Structure
STRESS-LEVEL-PREDICTOR/
βββ π data/ # Raw & processed datasets
β βββ Dataset.csv # 1,100 records Γ 21 features
βββ π docs/ # Markdown docs
β βββ Project Report.docx # Final project document
βββ π notebooks/ # Exploratory Jupyter notebooks
β βββ Code.ipynb # End-to-end pipeline
βββ π src/ # Python scripts
β βββ data_preprocessing.py # Load β Clean β Scale β Split
β βββ eda.py # Plots & insights
β βββ modeling.py # Train Decision Tree + metrics
β βββ evaluation.py # Train & compare all models
βββ π .gitignore # Sensitive files to ignore
βββ π LICENSE # MIT License
βββ π README.md # This file
βββ π requirements.txt # Python dependencies
πΎ Installation
Clone
bash git clone https://github.com/akamohid/STRESS-LEVEL-PREDICTOR.git cd STRESS-LEVEL-PREDICTORSetup environment
bash python -m venv venv source venv/bin/activate # macOS/Linux venv\Scripts\activate # Windows pip install -r requirements.txt
π Quick Start
- Preprocess Data
bash python src/data_preprocessing.py - Run EDA
bash python src/eda.py - Train & Evaluate Decision Tree
bash python src/modeling.py - Compare All Models
bash python src/evaluation.py - Or open the Jupyter Notebook for a unified, annotated workflow:
bash jupyter lab notebooks/Code.ipynb
π Results Overview
| Model | Accuracy | Precision | Recall | F1 Score | |------------------------|:--------:|:---------:|:------:|:--------:| | Decision Tree π³ | 0.90 | 0.90 | 0.90 | 0.89 | | Random Forest π² | 0.89 | 0.88 | 0.89 | 0.87 | | Gradient Boosting π | 0.88 | 0.87 | 0.88 | 0.86 | | SVM βοΈ | 0.87 | 0.86 | 0.87 | 0.86 | | KNN π | 0.85 | 0.85 | 0.85 | 0.84 | | Logistic Regression β | 0.86 | 0.86 | 0.86 | 0.86 |
π Decision Tree delivered the best blend of performance and interpretability.
π Literature Review
See docs/literature_review.md for details on:
- Filippis & Al Foysal (2024)
- Arya et al. (2024)
- Singh et al. (2024)
- β¦and others.
π Git Workflow
bash
git init
git remote remove origin 2>$null
git remote add origin https://github.com/akamohid/STRESS-LEVEL-PREDICTOR.git
git add .
git commit -m "Initial commit: Full Stress Level Predictor pipeline"
git branch -M main
git push -u origin main
π₯ Team Members
- Mohid Arshad β GitHub | LinkedIn
- Mohammad Umar β LinkedIn
- Mohammad Hasnain β LinkedIn
- Tahir Mehmood β LinkedIn
π License
This project is released under the MIT License. See LICENSE for details.
π¬ Contact & Feedback
Made with β€οΈ by Mohid Arshad.
βοΈ Email: akamohid@gmail.com
π LinkedIn
Feel free to open issues, contribute, or drop a β!
Owner
- Login: akamohid
- Kind: user
- Repositories: 1
- Profile: https://github.com/akamohid
GitHub Events
Total
- Watch event: 1
- Push event: 4
- Create event: 2
Last Year
- Watch event: 1
- Push event: 4
- Create event: 2
Dependencies
- matplotlib *
- numpy *
- pandas *
- python-docx *
- scikit-learn *
- seaborn *