prob_metrics_sf {tidysdm} | R Documentation |
Probability metrics for sf
objects
Description
tidysdm
provides methods to handle sf::sf objects for the following
yardstick metrics:
yardstick::average_precision()
yardstick::classification_cost()
Usage
## S3 method for class 'sf'
average_precision(data, ...)
## S3 method for class 'sf'
brier_class(data, ...)
## S3 method for class 'sf'
classification_cost(data, ...)
## S3 method for class 'sf'
gain_capture(data, ...)
## S3 method for class 'sf'
mn_log_loss(data, ...)
## S3 method for class 'sf'
pr_auc(data, ...)
## S3 method for class 'sf'
roc_auc(data, ...)
## S3 method for class 'sf'
roc_aunp(data, ...)
## S3 method for class 'sf'
roc_aunu(data, ...)
Arguments
data |
an sf::sf object |
... |
any other parameters to pass to the |
Value
A tibble with columns .metric
, .estimator
, and .estimate
and 1 row of values.
[Package tidysdm version 0.9.4 Index]