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).
Usage
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
)Arguments
- trained_model_obj
A trained model object (optional if precomputed_score provided).
- X_data
Features for prediction (optional if precomputed_score provided).
- Y_surv_obj
True survival object.
- sample_ids
Vector of IDs.
- years_to_evaluate
Numeric vector of years for time-dependent AUC.
- precomputed_score
Numeric vector of pre-calculated risk scores.
- meta_normalize_params
Internal use.