Titanic Survival Prediction: A Mathematical Endeavor
DOI:
https://doi.org/10.54097/6xn9mq15Keywords:
Kaggle Titanic, survival prediction, mathematical principle, machine learning.Abstract
This study addresses the gap in existing Titanic survival prediction research—where algorithm application dominates while mathematical underpinnings are overlooked—by integrating applied mathematics into three mainstream machine learning models: Logistic Regression, Random Forest, and K-Nearest Neighbors (KNN). Mathematical principles guided the entire workflow: Bayesian probability interpreted how features (e.g., gender, cabin class) contribute to survival likelihood; Gini impurity quantified decision-making logic in tree-based models; statistical distribution theory justified median imputation for missing values (e.g., 19.8% missing in the Age feature); feature engineering further embedded mathematical logic, including constructing Age and Class interaction terms to capture nonlinear dependencies between variables and binning continuous features (Age to AgeBand, Fare to FareBand) to simplify probability distributions for better model adaptability. Experimental results showed Random Forest outperformed the other models, achieving 82.68% accuracy, compared to 81.56% for KNN and 81.01% for Logistic Regression; feature importance analysis identified gender as the most critical predictor (significance score ~0.3), followed by fare (~0.25) and age (~0.24), while survival rates by title (e.g., 79.37% for Mrs, 15.67% for Mr) further reinforced gender’s dominant role in survival prediction. This work enhances the interpretability and methodological rigor of Titanic survival prediction, demonstrating how mathematical theory can ground machine learning applications in theoretical validity.
Downloads
References
[1] Titanic. Wikipedia. https://en.wikipedia.org/wiki/Titanic.
[2] Startupsci. Titanic data science solutions. Kaggle, 2019-04-17. https://www.kaggle.com/code/startupsci/titanic-data-science-solutions.
[3] Ai Y. Predicting Titanic survivors by using machine learning. Highlights in Science, Engineering and Technology, 2023, 34: 360–367.
[4] Ibrahim A A, Abdulaziz R O. Analysis of Titanic disaster using machine learning algorithms. Engineering Letters, 2020, 28 (4).
[5] Bisht M, Singh A, Tripathi G, Shantanu K, Gupta A, Gupta R. Analysis of machine learning algorithms for predicting Titanic disaster survival rate. 2024 4th International Conference on Sustainable Expert Systems (ICSES), 2024: 1781–1786. IEEE.
[6] Thomas T, Rajabi E. A systematic review of machine learning-based missing value imputation techniques. Data Technologies and Applications, 2021, 55 (4): 558–585.
[7] Dhal P, Azad C. A comprehensive survey on feature selection in the various fields of machine learning. Applied Intelligence, 2022, 52 (4): 4543–4581.
[8] Oh S. Feature interaction in terms of prediction performance. Applied Sciences, 2019, 9 (23): 5191.
[9] Anggodo Y P, Girsang A S. A novel modified binning and logistics regression to handle shifting in credit scoring. Computational Economics, 2024, 63 (6): 2371–2403.
[10] James G, Witten D, Hastie T, Tibshirani R. An introduction to statistical learning: with applications in R. Springer, 2013.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Academic Journal of Science and Technology

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








