Score your habitsin one glance.

MindMetric turns twelve daily student habits
into a 0–10 mental health score.

EstimatorPOST /predict
Presets:

Profile

18–24

Digital habits

1–8.8
1–273

Routine & stress

0.3–8.3
0–4.1
3.6–9.9
12 fields · no data stored

What the dataset shows

Descriptive group means and Pearson correlations from the 5,000-row student survey in this repository.

n = 5,000 · range 3.6–9.4
5,000Student responses
6.23Sample mean (0–10)
−0.816Daily usage vs. score
+0.766Sleep hours vs. score

Score by stress level

Group mean on 0–10 scale

Low7.84
Medium7.14
High6.03
Very high5.05

Score by sleep duration

Group mean on 0–10 scale

Under 6 h5.11
6–7 h6.10
7–8 h7.20
8 h +7.64

How the estimate works

One stateless API call from the browser to the FastAPI model endpoint.

FastAPI · scikit-learn 1.6.1
01

Twelve everyday inputs

Demographics, primary platform, screen time, phone unlocks, study, exercise, sleep, and self-reported stress.

02

Random forest regression

Trained on Student Social Media And Mental Health Impact.csv (n = 5,000, R² 0.878) using scikit-learn.

03

Score with context

Returns a continuous 0–10 estimate alongside the sample mean (6.23) without storing personal entries.

Questions

Scope, data handling, and model limitations.

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.

Are my inputs saved anywhere?

No. Your twelve fields are sent to POST /predict to compute the score and returned immediately without database storage or tracking.

Why are input ranges constrained?

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.

What drives the prediction most?

In the training dataset, average daily social media usage (−0.816) and nightly sleep (+0.766) have the strongest linear correlations with the score.