Comprehensive evaluation of survival models using:
Harrell's Concordance Index (C-index).
Time-dependent Area Under the ROC Curve (AUROC) at specified years.
Kaplan-Meier analysis comparing high vs. low risk groups (based on median split).
evaluate_model_pro(
trained_model_obj = NULL,
X_data = NULL,
Y_surv_obj,
sample_ids,
years_to_evaluate = c(1, 3, 5),
precomputed_score = NULL,
meta_normalize_params = NULL
)A list containing a dataframe of scores and a list of evaluation metrics.
A trained model object (optional if precomputed_score provided).
Features for prediction (optional if precomputed_score provided).
True survival object.
Vector of IDs.
Numeric vector of years for time-dependent AUC.
Numeric vector of pre-calculated risk scores.
Internal use.