Research Article

Processing and Comparison of GBoost, XGBoost, and Random Forest in Titanic Survival Prediction

Shiyuan Huang*
School of Information Science and Technology, Fudan University, Shanghai, China

* Corresponding author: [email protected]

Abstract

Contemporarily, the machine learning has evolved from its early concepts to a sophisticated field consisting of advanced algorithms and diverse applications. Tree-based classification models have become powerful tools for complex predictive challenges. In this study, the effectiveness of tree-based classification models, such as Random Forest, XGBoost, and Gradient Boosting, is examined on the Titanic survival prediction challenge, which originates from the 1912 Titanic disaster. Passengers’ survival and death were influenced by various factors in this disaster. By using features such as gender, age, and class, and the survival outcome as the target variable, a binary classification model is developed to predict each passenger's survival status. The study includes data preprocessing, feature selection based on a foundational model, and model training. After the construction, hyper-parameters tuning, and cross-validation of three classifiers, this research compares and analyzes the performance scores to evaluate the characteristics of these tree-based learning methods, aiming to provide a reference for the similar applications.

Keywords: Gradient boosting; XGBoost; random forest; survival prediction model.
Published: November 8, 2024
DOI: 10.54254/2755-2721/102/20241195
Volume: ACE Vol.102
pp. 175-182
Download PDF

References

  1. Turing A 1950 Computing machinery and intelligence Mind vol 59(236) pp 433-460
  2. Samuel A L 1959 Some studies in machine learning using the game of checkers IBM Journal of Research and Development vol 3(3) pp 210-229
  3. Breiman L, Friedman J H, Olshen R A and Stone C J 1986 Classification and regression trees Wadsworth and Brooks/Cole
  4. [Cortes C and Vapnik V 1995 Support-vector networks Machine Learning vol 20(3) pp 273-297
  5. Hinton G E, Osindero S and Teh Y W 2006 A fast learning algorithm for deep belief nets Neural Computation vol 18(7) pp 1527-1554
  6. LeCun Y, Bengio Y and Haffner P 2015 Gradient-based learning applied to document recognition Proceedings of the IEEE vol 86(11) pp 2278-2324
  7. Krizhevsky A, Sutskever I and Hinton G E 2012 ImageNet classification with deep convolutional neural networks In Advances in neural information processing systems vol 25 pp 1097-1105
  8. Goodfellow I, Bengio Y and Courville A 2016 Deep learning MIT Press
  9. Vaswani A, Shankar S, Parmar N, Uszkoreit J, Jones L, Gomez A N, Kaiser Ł and Polosukhin I 2017 Attention is all you need In Advances in neural information processing systems p 30
  10. Friedman J H 2001 Greedy function approximation: A gradient boosting machine Annals of Statistics vol 29(5) pp 1189-1232
  11. Chen T and Guestrin C 2016 XGBoost: A scalable tree boosting system In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining pp 785-794
  12. Breiman L 2001 Random forests Machine Learning vol 45(1) pp 5-32
  13. Liu Y, Wang Y and Yang Y 2018 Credit risk assessment using XGBoost model Applied Sciences vol 8(8) pp 1362
  14. Zhang H and Singer B 2020 Ensemble methods in data mining: Improving accuracy through combining predictions Springer
  15. Freund Y Boosting a weak learning algorithm by majority Information and Computation vol 121(2) pp 256-285
  16. Sun Y and Li J 2020 Feature selection based on mutual information: A review ACM Computing Surveys vol 52(4) pp 1-35
  17. Huang J and Wang H 2020 Feature selection: A data perspective Journal of Machine Learning Research vol 21 pp 1-42
  18. Guo J, Yang L, Bie R, Yu J, Gao Y, Shen Y and Kos A 2019 An XGBoost-based physical fitness evaluation model using advanced feature selection and Bayesian hyper-parameter optimization for wearable running monitoring Computer Networks vol 151 pp 166-180