Garcia-Lopez Andrea, Jiménez-Gómez Maritza, Gomez-Montero Andrea, Gonzalez-Sierra Juan Camilo, Cabas Santiago, Giron-Luque Fernando
Research Department, Colombiana de Trasplantes, Bogotá, Colombia.
Universidad de los Andes, Bogotá, Colombia.
BMC Med Inform Decis Mak. 2025 Mar 21;25(1):141. doi: 10.1186/s12911-025-02951-7.
Survival analysis is a critical tool in transplantation studies. The integration of machine learning techniques, particularly the Random Survival Forest (RSF) model, offers potential enhancements to predictive modeling and decision-making. This study aims to provide an introduction to the application of the RSF model in survival analysis in kidney transplantation alongside a practical guide to develop and evaluate predictive algorithms.
We employed a RSF model to analyze a simulated dataset of kidney transplant recipients. The data were split into training, validation, and test sets using split sample (70%-30%) and cross-validation (5-folds) techniques to evaluate model performance. Hyperparameter tuning strategies were employed to select the best model. The concordance index (C-index) and Integrated Brier Score (IBS) were used for internal validation. Additionally, time-dependent AUC, F1 score, accuracy, and precision were evaluated to provide a comprehensive assessment of the model's predictive performance. Finally, a Cox Proportional Hazards model was fitted to compare the results of the main metrics between both models. All analyses were supported by step-by-step code to ensure reproducibility.
The RSF model obtained a C-index of 0.774, an IBS of 0.090. The F1 score was of 0.945, accuracy was 89.67 and precision was 90.99%. The time-dependent ROC analysis produced an AUC of 0.709, indicating a moderate predictive performance. Lastly, the analysis shows that the three most important variables are donor age, BMI, and recipient age.
This study demonstrates the robustness and potential of the RSF model in kidney transplant analysis, achieving strong validation metrics and highlighting its advantages in managing complex, censored data, while emphasizing the need for further exploration of hybrid models and clinical integration.
生存分析是移植研究中的关键工具。机器学习技术的整合,特别是随机生存森林(RSF)模型,为预测建模和决策提供了潜在的改进。本研究旨在介绍RSF模型在肾移植生存分析中的应用,并提供开发和评估预测算法的实用指南。
我们采用RSF模型分析肾移植受者的模拟数据集。使用分割样本(70%-30%)和交叉验证(5折)技术将数据分为训练集、验证集和测试集,以评估模型性能。采用超参数调整策略选择最佳模型。一致性指数(C指数)和综合Brier评分(IBS)用于内部验证。此外,还评估了时间依赖性AUC、F1评分、准确性和精确性,以全面评估模型的预测性能。最后,拟合Cox比例风险模型以比较两个模型之间主要指标的结果。所有分析均有逐步代码支持,以确保可重复性。
RSF模型的C指数为0.774,IBS为0.090。F1评分为0.945,准确率为89.67%,精确率为90.99%。时间依赖性ROC分析的AUC为0.709,表明预测性能中等。最后,分析表明三个最重要的变量是供体年龄、BMI和受体年龄。
本研究证明了RSF模型在肾移植分析中的稳健性和潜力,获得了强大的验证指标,突出了其在处理复杂的删失数据方面的优势,同时强调了进一步探索混合模型和临床整合的必要性。