Machine Learning Based Depression Prediction Using Nutritional Factors

Background:In recent years, depression has been rapidly increasing in Korea, with a 35.1% rise in cases over the past 5 years.Globally, about 280 million people suffer from depression.While many studies focus on social factors, some also point to the impact of diet and nutrients on mental health.This research aims to identify how nutrition affects depression using big data and machine learning (ML), providing evidence for precision nutrition medicine and developing a depression prediction system utilizing explainable artificial intelligence for clinical use.Methods: This study utilized data from the Korea National Health & Nutrition Examination Survey (2020, 2018, 2016, and 2014) to analyze depression in adults aged 20-59, focusing on the Patient Health Questionnaire-9 (PHQ-9) scale, which is measured every 2 years.After excluding missing values, 11,463 subjects were included, with 594 classified as depressed (PHQ-9 score 10) and 10,869 classified as normal (PHQ-9 score 9).Statistical analysis involved 2 tests for general characteristics and independent t-tests for body mass index, sedentary hours, and nutritional intake.ML classification was performed using XGBoost, with an 8:2 data split.Accuracy, precision, recall, F1 score, and area under the receiver operating characteristic curve were calculated to evaluate performance.The results were further interpreted using SHAP summary plots, broken down by sex and age groups.Results: Although there were slight differences in the effects of nutrients on depression depending on sex and age, overall, maintaining sufficient intake of minerals and vitamins was significantly associated with a reduction in depression.Conclusion: ML based depression prediction, despite including well-known factors such as stress, subjective physical health status, socioeconomic factors, health behaviors, and disease conditions, many types of nutrients ranked high in importance and proved effective in enhancing the accuracy of depression diagnosis.Including nutritional factors in depression prediction could contribute to realizing precision medicine as part of a digital healthcare system.

Authors

Institutions

Publication Details

Journal
Digital Health Research
Published
2025-01-01
DOI
https://doi.org/10.61499/dhr.2025.3.e4
Primary Topic
Nutritional Studies and Diet
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Machine Learning Based Depression Prediction Using Nutritional Factors

Jin Hyung Lee, I.M. Park, Hyun Wook Han, Myung-Gwan Kim et al.
Digital Health Research
Nutritional Studies and Diet
article

Machine Learning Based Depression Prediction Using Nutritional Factors

Jin Hyung Lee, I.M. Park, Hyun Wook Han, Myung-Gwan Kim, Joon Ho Park, So Yeon Park
article en

Abstract

Background:In recent years, depression has been rapidly increasing in Korea, with a 35.1% rise in cases over the past 5 years.Globally, about 280 million people suffer from depression.While many studies focus on social factors, some also point to the impact of diet and nutrients on mental health.This research aims to identify how nutrition affects depression using big data and machine learning (ML), providing evidence for precision nutrition medicine and developing a depression prediction system utilizing explainable artificial intelligence for clinical use.Methods: This study utilized data from the Korea National Health & Nutrition Examination Survey (2020, 2018, 2016, and 2014) to analyze depression in adults aged 20-59, focusing on the Patient Health Questionnaire-9 (PHQ-9) scale, which is measured every 2 years.After excluding missing values, 11,463 subjects were included, with 594 classified as depressed (PHQ-9 score 10) and 10,869 classified as normal (PHQ-9 score 9).Statistical analysis involved 2 tests for general characteristics and independent t-tests for body mass index, sedentary hours, and nutritional intake.ML classification was performed using XGBoost, with an 8:2 data split.Accuracy, precision, recall, F1 score, and area under the receiver operating characteristic curve were calculated to evaluate performance.The results were further interpreted using SHAP summary plots, broken down by sex and age groups.Results: Although there were slight differences in the effects of nutrients on depression depending on sex and age, overall, maintaining sufficient intake of minerals and vitamins was significantly associated with a reduction in depression.Conclusion: ML based depression prediction, despite including well-known factors such as stress, subjective physical health status, socioeconomic factors, health behaviors, and disease conditions, many types of nutrients ranked high in importance and proved effective in enhancing the accuracy of depression diagnosis.Including nutritional factors in depression prediction could contribute to realizing precision medicine as part of a digital healthcare system.

Digital Health ResearchVol. 3(3)
CHA University (KR), Chung-Ang University (KR)
Openalex Percentile: Top 64%
Nutritional Studies and Diet
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.