Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2024 Oct 26;14(1):25470.
doi: 10.1038/s41598-024-77193-0.

Ensemble of hybrid model based technique for early detecting of depression based on SVM and neural networks

Affiliations

Ensemble of hybrid model based technique for early detecting of depression based on SVM and neural networks

Dip Kumar Saha et al. Sci Rep. .

Abstract

The prevalence of depression has increased dramatically over the last several decades: it is frequently overlooked and can have a significant impact on both physical and mental health. Therefore, it is crucial to develop an automated detection system that can instantly identify whether a person is depressed. Currently, machine learning (ML) and artificial neural networks (ANNs) are among the most promising approaches for developing automated computer-based systems to predict several mental health issues, such as depression. This study propose an ensemble of hybrid model-based techniques that aims to build a strong detection model that considers many psychological and sociodemographic characteristics of an individual to detect whether a person is depressed. Support vector machines (SVM) and multilayer perceptrons (MLP) are the two fundamental methods used to construct the suggested ensemble approach. The hybrid DeprMVM served as a meta-learner. In this study, the hybrid DeprMVM is a level-1 learner, whereas the SVM and MLP networks are level-0 learners. After the classifiers are trained and tested at level 0, their outputs are based on both the independent and dependent variables in the new data set that was used to train the meta-classifier. The training data class imbalance was reduced by applying the synthetic minority oversampling technique (SMOTE) and cluster sampling together, which improved the accuracy for detecting depression. Additionally, it can effectively reduce the risk of over-fitting from simply duplicating data points. To further confirm the effectiveness of the proposed method, various performance evaluation metrics were calculated and compared with previous studies conducted on this specific dataset. In conclusion, among all the techniques for identifying depression, the suggested ensemble approach had the best accuracy, at 99.39%, and an F1-score of 99.51%.

PubMed Disclaimer

Conflict of interest statement

The authors declare no competing interests.

Figures

Fig. 1
Fig. 1
The proposed methodology of this research (i) Load the dataset (ii) Dataset preprocessing (iii) Data manipulation (iv) Spiliting of the dataset (v) Make ensemble method using two base model (vi) Generate new dataset from the base model (vii) Train models applying ML and hybrid algorithms (viii) Detect depression (ix) Evaluate best model
Fig. 2
Fig. 2
Distribution of the dataset’s participants-those with and without depression.
Fig. 3
Fig. 3
Correlation of features after standard scaling.
Fig. 4
Fig. 4
The architecture of the hybrid model DeprMVM, combines the MLP and SVM classifiers. The MLP block and detection block have shown here.
Fig. 5
Fig. 5
In the proposed ensemble of hybrid model architecture, Two base classifiers combine to create a new dataset, and the DeprMVM method serves as a meta-model to produce the ultimate detection.
Algorithm 1
Algorithm 1
Proposed hybrid model ensemble.
Fig. 6
Fig. 6
Representation of the dataset after applying SMOTE.
Fig. 7
Fig. 7
Confusion Matrix of best three models applying SMOTE and cluster sampling together, (a) RFC, (b) MLP, and (c) Proposed Ensemble of hybrid model.
Fig. 8
Fig. 8
The (a) ROC and (b) DET curve applying cluster sampling and SMOTE together are displayed.
Fig. 9
Fig. 9
Evaluation of best model applying SMOTE and cluster sampling together.
Fig. 10
Fig. 10
The precision-recall Curves of all models applying SMOTE and cluster sampling together.

References

    1. Guo, L.-N. et al. Psychometric assessment of the depressive cognition scale among older chinese people. Archives of Psychiatric Nursing 31, 477–482 (2017). - PubMed
    1. Le, H.-N. & Boyd, R. C. Prevention of major depression: Early detection and early intervention in the general population. Clin Neuropsychiatry 3, 6–22 (2006).
    1. Depression, W. Other common mental disorders: global health estimates. Geneva: World Health Organization 24 (2017).
    1. Aladağ, A. E., Muderrisoglu, S., Akbas, N. B., Zahmacioglu, O. & Bingol, H. O. Detecting suicidal ideation on forums: proof-of-concept study. Journal of medical Internet research 20, e9840 (2018). - PMC - PubMed
    1. Wang, S., Peng, G., Zheng, Z. & Xu, Z. Capturing emotion distribution for multimedia emotion tagging. IEEE Transactions on Affective Computing 12, 821–831 (2019).

LinkOut - more resources