Sign inSubmit
computersciencejournal.org is not ours. This journal is published only at thescipub.com/jcs. Report a suspicious emailcomputersciencejournal.org is not ours · Report
ArticleMetrics
Research Article · Open access · Published 16 June 2026

Application of Machine Learning for the Detection of Depression and Mindfulness as a Mitigation Method

Santiago Domingo Moquillaza Henriquez1,2, Liliana Ruth Huamán Rondón3, Nestor Marcial Alvarado Bravo4, Roberto José Antonio Carbonel Pezo5 & Juan Faustino Infantes Loo3,6

Journal of Computer Science, Volume 22, Issue 6, pp. 1823–1834 · doi.org/10.3844/jcssp.2026.1823.1834

1,216 accesses736 downloads0 citations (Crossref)Metrics
Cite Check for updates

Abstract

Depression is a global mental health problem with various causes. Nowadays, with Artificial Intelligence, it can be predicted in order to take preventive measures, whether at a psychotherapeutic or pharmacological level. This research, based on a survey conducted, detects depression using logistic regression with a 91% fit to the ROC-AUC model, accuracy of 0.839188, precision 0.851354. In addition, a study is carried out applying Mindfulness as a technique to alleviate depression or chronic stress that often ends in depression, giving good results at an overall level with pre-test and post-test tests, with a significance or p value less than 5% in a Wilcoxon test, which shows that the condition of those involved in their stress level improves. Similarly, it is observed that by disaggregating the information by sex, the level of stress improves, which is a factor of Depression. The novelty of this research is that it uses a Logistic Regression algorithm to detect depression, along with the use of mindfulness to mitigate it, validating it with statistical tests.

Licence and reuse

Open access. This article is licensed under a Creative Commons Attribution 4.0 International Licence (CC BY 4.0), as printed on the article, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original authors and the source. No permission is needed.

How to reuse this article

Responses (0)

Have a comment on this research? Sign in to respond. Responses are moderated and published with your name and affiliation; the authors are invited to reply. How we use your dataWrite a response

About this article

Cite this article

Henriquez, S. D. M., Rondón, L. R. H., Bravo, N. M. A., Pezo, R. J. A. C. & Loo, J. F. I. (2026). Application of Machine Learning for the Detection of Depression and Mindfulness as a Mitigation Method. Journal of Computer Science, 22(6), 1823–1834. https://doi.org/10.3844/jcssp.2026.1823.1834

Licence
CC BY 4.0
Issue
Volume 22, Issue 6
Policies
Editorial independenceUse of generative AIData availabilityAppeals and complaints
Version
Version of record
Application of Machine Learning for the Detection of Depression and Mindfulness as a Mitigation MethodJournal of Computer Science · Volume 22, Issue 6 · pp. 1823–1834 · CC BY 4.0Download