Skip to contents

This function returns a yardstick::metric_set that includes boyce_cont(), yardstick::roc_auc() and tss_max(), the most commonly used metrics for SDM.

Usage

sdm_metric_set(...)

Arguments

...

additional metrics to be added to the yardstick::metric_set. See the help to yardstick::metric_set() for constraints on the type of metrics that can be mixed.

Value

a yardstick::metric_set object.

Examples

sdm_metric_set()
#> A metric set, consisting of:
#> - `boyce_cont()`, a probability metric | direction: maximize
#> - `roc_auc()`, a probability metric    | direction: maximize
#> - `tss_max()`, a probability metric    | direction: maximize
sdm_metric_set(accuracy)
#> A metric set, consisting of:
#> - `boyce_cont()`, a probability metric | direction: maximize
#> - `roc_auc()`, a probability metric    | direction: maximize
#> - `tss_max()`, a probability metric    | direction: maximize
#> - `accuracy()`, a class metric         | direction: maximize