Explainable machine learning for mental health prediction from social media behavior: a nested cross-validation study

Kamini Lamba1, Shalli Rani2, Mohammad Shabaz3

  • 1Chitkara University Institute of Engineering and Technology, Chitkara University, Rajpura, Punjab, 140401, India.

Discover Mental Health
|January 22, 2026
PubMed
Summary

This study introduces an explainable machine learning framework to predict depression risk from social media behavior. The model accurately identifies key behavioral markers, offering transparent insights for mental health applications.

Related Concept Videos

Stress and Mental Health01:30

Stress and Mental Health

Chronic stress profoundly affects mental health, significantly influencing mood, behavior, and overall quality of life. Research closely links chronic stress with mental health conditions such as depression, anxiety, and substance use disorders. Ongoing exposure to stress can lead to physiological and psychological changes, initiating a cycle of emotional distress and maladaptive coping mechanisms.
Individuals with depression often experience challenges in both their personal and professional...
843
Social Scripts02:10

Social Scripts

People tend to know what behavior is expected of them in specific, familiar settings. A script is a person’s knowledge about the sequence of events expected in a specific setting (Schank & Abelson, 1977). Essentially, scripts are a particular kind of schema, one containing default values for the features within an event. In the restaurant example, the script's features include the props (e.g., tables, menu, food, and money), the roles to be played (e.g., customer and waiter),...
10.2K
Higher Mental Functions of Brain: Learning and Memory01:26

Higher Mental Functions of Brain: Learning and Memory

Memory is one of the most vital higher mental functions of the brain. Memory is closely related to learning because it enables us to retain information and experiences from our past to use them in our present life. It also helps us to remember facts, events, and skills, such as riding a bike or swimming. There are two types of memory — declarative memory, which involves memorizing facts or events, and procedural memory, which enables us to remember how to do something like writing or...
1.9K
The Sense of Self: Reflected Self-Appraisal and Social Comparison02:57

The Sense of Self: Reflected Self-Appraisal and Social Comparison

According to Charles Cooley, we base our image on what we think other people see (Cooley 1902). We imagine how we must appear to others, then react to this speculation. We don certain clothes, prepare our hair in a particular manner, wear makeup, use cologne, and the like—all with the notion that our presentation of ourselves is going to affect how others perceive us. We expect a certain reaction, and, if lucky, we get the one we desire and feel good about it. But more than that, Cooley...
55.5K
Reliability and Validity01:29

Reliability and Validity

Reliability and validity are two important considerations that must be made with any type of data collection. Reliability refers to the ability to consistently produce a given result. In the context of psychological research, this would mean that any instruments or tools used to collect data do so in consistent, reproducible ways.
13.8K
Social Proof00:52

Social Proof

Social proof is a form of persuasion based on comparison and conformity. People compare their behavior and actions to what others are doing and will change to conform to do what their peers do.
31.5K