Skip to contents

The ids accepted by the metrics argument of evaluate() and compare() and the metric argument of tune().

Usage

listmetrics()

Value

A data.frame with one row per metric.

Details

Columns:

  • metric: short metric name used throughout the package.

  • direction: whether higher or lower values are better.

  • summary: brief description.

  • range: typical value range.

"range:<lower>-<upper>" is a template: write the thresholds into the id, for example "range:0.05-0.20".

Examples

listmetrics()
#>                  metric direction
#> 1                cindex  maximize
#> 2                   auc  maximize
#> 3                 brier  minimize
#> 4                   ibs  minimize
#> 5                   iae  minimize
#> 6                   ise  minimize
#> 7                   ece  minimize
#> 8               survacc  maximize
#> 9 range:<lower>-<upper>  minimize
#>                                                                                                        summary
#> 1                                                    Harrell-style concordance index for survival predictions.
#> 2                                         Cumulative/dynamic time-dependent AUC at a selected evaluation time.
#> 3                                     Brier Score at specified evaluation time(s) (IPCW-weighted when needed).
#> 4                                         Integrated Brier Score over an evaluation time grid (IPCW-weighted).
#> 5                                                    Integrated absolute error against the Kaplan-Meier curve.
#> 6                                                     Integrated squared error against the Kaplan-Meier curve.
#> 7                                                      Expected calibration error at a single evaluation time.
#> 8                           SurvAcc: spherical decision-weighted score at a single time (IPCW), see dwscore().
#> 9 Decision-weighted loss over a risk-threshold range, e.g. "range:0.05-0.20", at a single time, see dwscore().
#>                        range
#> 1  [0, 1] (higher is better)
#> 2  [0, 1] (higher is better)
#> 3   [0, 1] (lower is better)
#> 4   [0, 1] (lower is better)
#> 5 [0, Inf) (lower is better)
#> 6 [0, Inf) (lower is better)
#> 7   [0, 1] (lower is better)
#> 8  [0, 1] (higher is better)
#> 9   [0, 1] (lower is better)