A Happiness Prediction Model Based on Performance-Diversity Dual-Constraint Dynamic Weighted Ensemble
DOI:
https://doi.org/10.54097/dwx14789Keywords:
Happiness Prediction, Ensemble Learning, Dynamic Weighting, Machine Learning, Model FusionAbstract
To address the problems of insufficient generalization ability of traditional single machine learning models in happiness prediction tasks and the failure of fixed-weight ensemble models to adapt to sample-level prediction differences, this paper proposes a Performance-Diversity Dual-constraint Dynamic Weighting Ensemble (PD-DWE) model. First, a diversified base model pool including Random Forest, K-Nearest Neighbors, Support Vector Machine, Gradient Boosting Tree, XGBoost, Multilayer Perceptron, and LightGBM is constructed, and hyperparameter optimization of the base models is completed through a two-stage random search. Second, based on the 10-fold stratified cross-validation framework, high-quality model selection is performed using an F1-score threshold in each fold, and diversity constraint is achieved by combining predictive correlation filtering. Finally, a dynamic weight calculation strategy integrating the global performance of models and sample-level prediction confidence is designed, and the optimal classification threshold is adaptively searched to complete the final prediction. Experimental results show that the proposed PD-DWE model achieves an F1-score of 79.1% on the test set, representing a 12.43% relative improvement compared with the optimal single model, and an AUC value of 69.61%. Its comprehensive prediction performance is significantly superior to that of single machine learning models, providing a more stable and efficient technical solution for the quantitative prediction of happiness.
Downloads
References
[1] Zhang, C. Y., Zhu, W. L., Li, X. R., Chen, G. Z., & Peng, M. Y. (2023). The outcome prediction model of acute stroke: Comparison between machine learning and traditional regression model. Chinese Journal of CT and MRI, 21(7), 24-26. https://doi.org/10.3969/j.issn.1672-5131.2023.07.008
[2] Airlangga G , Liu A .A Hybrid Gradient Boosting and Neural Network Model for Predicting Urban Happiness: Integrating Ensemble Learning with Deep Representation for Enhanced Accuracy[J].Machine Learning & Knowledge Extraction, 2025, 7(1).DOI:10.3390/make7010004.
[3] Avc Z , Bardak T , Bardak S ,et al.Evaluation of Employee's Happiness by Data Mining and Statistical Methods in the Process of Internal Public Relations[C]//International Congress on Engineering and Life Science.2018.
[4] Geici E , Yildiz A , Alp S .The Hybrid Best Worst Integrated Machine Learning Methodology to Clustering the Countries Based on the Happiness Index[J].Access, IEEE, 2025, 13(000):98076-98087.DOI:10.1109/ACCESS.2025.3576378.
[5] Alhur A A , Alsahmmari M , Al-Khattab M A .Can Lifestyle Habits Predict Happiness? An Exploratory Machine Learning Study Using a Visual Data Mining Platform[J].Journal of Pioneering Medical Sciences, 2025, 14(6).
DOI:10.47310/jpms2025140607.
[6] Khemraj S, Thepa P C A, Chi H, et al. Prediction of world happiness scenario effective in the period of COVID-19 pandemic, by artificial neuron network (ANN), support vector machine (SVM), and regression tree (RT)[J]. NVEO-NATURAL VOLATILES & ESSENTIAL OILS Journal| NVEO, 2021, 8(4): 13944-13959.
[7] Osamor V C, Okezie A F. Enhancing the weighted voting ensemble algorithm for tuberculosis predictive diagnosis[J]. Scientific Reports, 2021, 11(1): 14806.
[8] Malakouti S M, Menhaj M B, Suratgar A A. Applying grid search, random search, Bayesian optimization, genetic algorithm, and particle swarm optimization to fine-tune the hyperparameters of the ensemble of ML models enhances its predictive accuracy for mud loss[J]. 2024.
[9] Šverko Z, Vrankić M, Vlahinić S, et al. Complex Pearson correlation coefficient for EEG connectivity analysis[J]. Sensors, 2022, 22(4): 1477.
[10] Koczkodaj, W. (2017). Somerville Happiness Survey [Dataset]. UCI Machine Learning Repository.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Journal of Computing and Electronic Information Management

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.








