Research Article Open Access

Predicting Depression Levels using Back Propagation Neural Network

Eddy Muntina Dharma1, Yaya Heryadi1, Lukas2, Wayan Suparta3 and Antoni Wibowo1
  • 1 Bina Nusantara University, Indonesia
  • 2 Atmajaya University, Indonesia
  • 3 Institut Teknologi Nasional Yogyakarta, Indonesia


Depression is a mood disorder characterized by feelings of deep sadness and a sense of indifference. When depression recurs in moderate or severe intensity, it can be a serious health condition. The most effective way to deal with this problem is to predict the symptoms of depression at an early stage. In this study, a Back Propagation Neural Network (BPNN) model is proposed to predict whether a person is categorized as mild, moderate, or severe depression based on Beck's Depression Inventory (BDI) data. There are 21 BDI data items that are used as predictors in the built BPNN model. The dataset used is 227 patients and divided into 2 categories, namely 181 observations (80%) as training data and 46 observations (20%) as test data. While the BPNN model that is built has 21 neurons in the input layer, one hidden layer with 21 hidden neurons and 4 neurons in the output layer. After testing, it was found that the BPNN model is able to predict the level of depression with F1-Score of 100, 95.65, 90.91 and 95.24% for the classification of normal, mild depression, moderate depression and severe depression, respectively. Overall, the accuracy level reached 95.65%. This study concluded that the proposed model can help doctors or psychiatrists to predict depression at an early stage, whether it is classified as mild, moderate, or severe depression, so that the patient can receive appropriate treatment.

Journal of Computer Science
Volume 18 No. 3, 2022, 151-161


Submitted On: 21 November 2021 Published On: 18 March 2022

How to Cite: Dharma, E. M., Heryadi, Y., Lukas, ., Suparta, W. & Wibowo, A. (2022). Predicting Depression Levels using Back Propagation Neural Network. Journal of Computer Science, 18(3), 151-161.

  • 0 Citations



  • Depression
  • Back Propagation Neural Network
  • Beck's Depression Inventory