| evaluate_model_pro | R Documentation |
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
)
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. |
A list containing a dataframe of scores and a list of evaluation metrics.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.