Is this a clinical diagnosis?
No. It is a statistical estimate from a random forest trained on survey data. It cannot replace a clinician or campus counselling.
MindMetric turns twelve daily student habits
into a 0–10 mental health score.
Descriptive group means and Pearson correlations from the 5,000-row student survey in this repository.
Group mean on 0–10 scale
Group mean on 0–10 scale
One stateless API call from the browser to the FastAPI model endpoint.
Demographics, primary platform, screen time, phone unlocks, study, exercise, sleep, and self-reported stress.
Trained on Student Social Media And Mental Health Impact.csv (n = 5,000, R² 0.878) using scikit-learn.
Returns a continuous 0–10 estimate alongside the sample mean (6.23) without storing personal entries.
Scope, data handling, and model limitations.
No. It is a statistical estimate from a random forest trained on survey data. It cannot replace a clinician or campus counselling.
No. Your twelve fields are sent to POST /predict to compute the score and returned immediately without database storage or tracking.
Fields are bounded to the observed ranges in the 5,000-student training data (for example age 18–24 and sleep 3.6–9.9 hours) so the model does not extrapolate.
In the training dataset, average daily social media usage (−0.816) and nightly sleep (+0.766) have the strongest linear correlations with the score.