Logistic Regression Outperforms Tree-Based Classifiers for Survival Prediction on Small-Sample Titanic Data
Yisi Lu
Key points
From the paper's conclusion- The results show that the overall performance of logistic regression is the best, followed by decision tree, and the random forest is unstable on this small sample data set.
Abstract
Titanic survival prediction is a classic binary classification task in machine learning. Based on data provided by Kaggle, this study divided the training set, validation set and independent test set through stratified sampling. The performance of three models: logistic regression, decision tree, and random forest on independent test set is compared. The evaluation indicators include accuracy, recall, F1-score and AUC value. The results show that the overall performance of logistic regression is the best, followed by decision tree, and the random forest is unstable on this small sample data set. Further analysis found that the port characteristics are almost weakly related to the survival results and do not improve the performance of the model; the optimal threshold based on the for-loop search on the training set reflects the problem that parameter tuning is easy to overfit under small samples. The conclusion points out that in data sets with limited feature dimensions and small sample volumes, linear models (logistic regression) may be better than complex nonlinear models; feature selection should be based on quantitative verification rather than subjective assumptions; model optimization needs to be carefully verified to avoid misunderstanding overfitting as performance improvement.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Small data machine learning: the trilemma of low-sample tabular regimesarXiv · 2026
- Kalp yetmezliği erken teşhisinde çok aşamalı topluluk öğrenmesi yöntemlerinin performans analiziBalıkesir Üniversitesi Fen Bilimleri Enstitüsü Dergisi · 2026
- Learning Risk Factors from Homogeneous and Heterogeneous Survival Data: A Hybrid Machine Learning Framework with Applications to Heart Failure and LeprosyBioMedInformatics · 2026
- Cure-Fraction Random Survival Forests: Separating Cure from LatencyarXiv · 2026
- Comparison of Tree-Based Survival Models for Predicting Graduate Study Duration and Risk StratificationScientific Journal of Informatics · 2026
- The influence of sample size, modelling algorithms, and hyperparameters on bootstrap-based prediction stability in clinical prediction model development: An empirical study using the HOPE datasetBMC Medical Research Methodology · 2026