RocAucBinary: RocAucBinary

Description Usage Arguments Value Examples

View source: R/metric.R

Description

Area Under the Receiver Operating Characteristic Curve for single-label binary classification problems

Usage

1
2
3
4
5
6
7
RocAucBinary(
  axis = -1,
  average = "macro",
  sample_weight = NULL,
  max_fpr = NULL,
  multi_class = "raise"
)

Arguments

axis

axis

average

average

sample_weight

sample_weight

max_fpr

max_fpr

multi_class

multi_class

Value

None

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 

model = dls %>% tabular_learner(layers=c(200,100,100,200),
config = tabular_config(embed_p = 0.3, use_bn = FALSE),
metrics = list(accuracy, RocAucBinary(),
               Precision(), Recall(),
               F1Score()))


## End(Not run)

fastai documentation built on Oct. 25, 2021, 5:08 p.m.