View source: R/surv_model_performance.R
surv_model_performance | R Documentation |
model_performance.R
Helper functions for model_performance.R
surv_model_performance(
explainer,
...,
times = NULL,
type = "metrics",
metrics = NULL
)
explainer |
an explainer object - model preprocessed by the |
... |
other parameters, currently ignored |
times |
a numeric vector, time points at which ROC curves are calculated if |
type |
character, either |
metrics |
a named vector containing the metrics to be calculated. The values should be standardized loss functions. The functions can be supplied manually but has to have these named parameters ( |
Either a list when type == "metrics"
or a data.frame if type == "roc"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.