Research Article

Happiness index prediction using machine learning algorithms

Anche Liu1,*, Yaxian Zhang2
1. Jining Confucius School, Jining, Shandong Province, China
2. Nanjing Foreign Language School Xianlin Campus, Nanjing, Jiangsu Province, China

* Corresponding author: [email protected]

Abstract

For many years, individual welfare and world happiness are an important research point in all over the world. The predictor of life quality is connected closely with the world happiness index. Economic output, social support, life expectancy, freedom, the absence of corruption, and generosity are six major variables that can affect the global happiness index. This paper presents two machine learning methods to analyze the dataset, which is supported vector machine (SVM) and naïve bayes. Then, the authors used them to predict the next year's happiness index by observing the images that the authors concluded from these two methods. Thus, the authors can get a clearer picture of people’s life quality as well. In the first step, the authors first perform feature normalization and input the features into the two algorithms. After that, the authors found that SVM was able to achieve better results with 92% and Naïve Bayes with 87%. In addition, the authors analyze the significance of the indicators and the authors find that the factors that most affect the happiness index of the country are economic and medical. Those factors are very important things for each country. Moreover, before starting the analysis, the authors made some predictions. In our point of views, the economic, health, and social support should be the largest effect on happiness.

Keywords: Happiness Index Prediction; Support Vector Machine; Naïve Bayes.
Published: May 30, 2023
DOI: 10.54254/2755-2721/5/20230602
Volume: ACE Vol.5
pp. 386-389
Download PDF

References

  1. Goodfellow, I., Bengio, Y., & Courville, A. (2016). Deep learning. MIT press.
  2. LeCun, Y., Bengio, Y., & Hinton, G. (2015). Deep learning. nature, 521(7553), 436-444.
  3. Pouyanfar, S., Sadiq, S., Yan, Y., Tian, H., Tao, Y., Reyes, M. P., ... & Iyengar, S. S. (2018). A survey on deep learning: Algorithms, techniques, and applications. ACM Computing Surveys (CSUR), 51(5), 1-36.
  4. Shrestha, A., & Mahmood, A. (2019). Review of deep learning algorithms and architectures. IEEE Access, 7, 53040-53065.
  5. Krizhevsky, A., Sutskever, I., & Hinton, G. E. (2012). Imagenet classification with deep convolutional neural networks. Advances in neural information processing systems, 25, 1097-1105.
  6. Simonyan, K., & Zisserman, A. (2014). Very deep convolutional networks for large-scale image recognition. arXiv preprint arXiv:1409.1556.
  7. He, K., Zhang, X., Ren, S., & Sun, J. (2016). Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition (pp. 770-778).
  8. Huang, G., Liu, Z., Van Der Maaten, L., & Weinberger, K. Q. (2017). Densely connected convolutional networks. In Proceedings of the IEEE conference on computer vision and pattern recognition (pp. 4700-4708).
  9. Szegedy, C., Vanhoucke, V., Ioffe, S., Shlens, J., & Wojna, Z. (2016). Rethinking the inception architecture for computer vision. In Proceedings of the IEEE conference on computer vision and pattern recognition (pp. 2818-2826).
  10. Resource from https://www.kaggle.com/datasets/unsdsn/world-happiness
  11. Afaq, Y., & Manocha, A. (2021). Happiness Index Determination by Analyzing Satellite Images for Urbanization. Applied Artificial Intelligence, 35(15), 1466-1489.
  12. Zhao, R. (2019). Quantifying the correlation and prediction of daily happiness sentiment and stock return: The Case of Singapore. Physica A: Statistical Mechanics and its Applications, 533, 122020.
  13. Prashanthi, B., & Ponnusamy, R. (2019). Future Prediction of World Countries Emotions Status to Understand Economic Status using Happiness Index and SVM Kernel. Future, 6(11).