Downloads · 30 days
0
amirsoahil101/Student_sleep_mental_health_2026
Student_sleep_mental_health_2026 is a machine learning model from amirsoahil101. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
An end-to-end Machine Learning classification project designed to analyze student sleep patterns, lifestyle factors, and predict mental health outcomes. Multiple algorithms were evaluated alongside Grid/Randomized Sea…
Downloads · 30 days
0
Access
Public
Updated Aug 17, 2026
Repo size
208 KB
Likes
0
Public
Click a slice to open those files.
.ipynb286 KB · 40%
From the Hugging Face model README
An end-to-end Machine Learning classification project designed to analyze student sleep patterns, lifestyle factors, and predict mental health outcomes. Multiple algorithms were evaluated alongside Grid/Randomized Search hyperparameter tuning to achieve an optimized predictive accuracy of ~82.34%.

🚀 Click Here to Access Live Streamlit App
Student-Sleep-Mental-Health-Prediction/
├── student_sleep_mental_health_2026.csv # Dataset containing student sleep & mental health metrics
├── model.ipynb # Jupyter Notebook with EDA, Hyperparameter Tuning & Evaluation
├── model.pkl # Best performing trained classification model
├── scaler.pkl # Feature scaling object for normalization
├── columns.pkl # Saved column structure to ensure input alignment
└── README.md # Project documentation
Systematic hyperparameter search was conducted across 5-fold cross-validation (split0 to split4) to optimize regularizations and sampling parameters (colsample_bytree, subsample, reg_lambda, reg_alpha):
StandardScaler (scaler.pkl) to ensure numerical feature compatibility.columns.pkl to safeguard exact feature ordering during real-time inference.model.pkl, scaler.pkl, columns.pkl).git clone https://github.com/amirsohail100/Student-Sleep-Mental-Health-Prediction.git
cd Student-Sleep-Mental-Health-Prediction
pip install -r requirements.txt
streamlit run app.py
End-to-end Machine Learning project predicting student mental health from sleep & lifestyle metrics. Features EDA, 5-fold CV hyperparameter tuning (XGBoost/Logistic Regression ~83% accuracy), and an interactive Streamlit UI web app.
An end-to-end Machine Learning classification project designed to analyze student sleep patterns, lifestyle factors, and predict mental health outcomes. Multiple algorithms were evaluated alongside Grid/Randomized Search hyperparameter tuning to achieve an optimized predictive accuracy of ~82.34%.

🚀 Click Here to Access Live Streamlit App
Student-Sleep-Mental-Health-Prediction/
├── student_sleep_mental_health_2026.csv # Dataset containing student sleep & mental health metrics
├── model.ipynb # Jupyter Notebook with EDA, Hyperparameter Tuning & Evaluation
├── model.pkl # Best performing trained classification model
├── scaler.pkl # Feature scaling object for normalization
├── columns.pkl # Saved column structure to ensure input alignment
└── README.md # Project documentation
Systematic hyperparameter search was conducted across 5-fold cross-validation (split0 to split4) to optimize regularizations and sampling parameters (colsample_bytree, subsample, reg_lambda, reg_alpha):
StandardScaler (scaler.pkl) to ensure numerical feature compatibility.columns.pkl to safeguard exact feature ordering during real-time inference.model.pkl, scaler.pkl, columns.pkl).git clone https://github.com/amirsohail100/Student-Sleep-Mental-Health-Prediction.git
cd Student-Sleep-Mental-Health-Prediction
pip install -r requirements.txt
streamlit run app.py
End-to-end Machine Learning project predicting student mental health from sleep & lifestyle metrics. Features EDA, 5-fold CV hyperparameter tuning (XGBoost/Logistic Regression ~83% accuracy), and an interactive Streamlit UI web app.