Computes evaluation metrics for a fitted `survdnn` model at one or more time points. Supported metrics include the concordance index (`"cindex"`), Brier score (`"brier"`), and integrated Brier score (`"ibs"`).
evaluate_survdnn(
model,
metrics = c("cindex", "brier", "ibs"),
times,
newdata = NULL,
na_action = c("omit", "fail"),
verbose = FALSE
)A tibble with evaluation results, containing at least `metric`, `value`, and possibly `time`.
A fitted `survdnn` model object.
A character vector of metric names: `"cindex"`, `"brier"`, `"ibs"`.
A numeric vector of evaluation time points.
Optional. A data frame on which to evaluate the model. Defaults to training data.
Character. How to handle missing values in evaluation data: `"omit"` drops incomplete rows, `"fail"` errors if any NA is present.
Logical. If TRUE and `na_action="omit"`, prints a message when rows are removed.