AccumMetric: AccumMetric

Description Usage Arguments Value

View source: R/metric.R

Description

Stores predictions and targets on CPU in accumulate to perform final calculations with 'func'.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
AccumMetric(
  func,
  dim_argmax = NULL,
  activation = "no",
  thresh = NULL,
  to_np = FALSE,
  invert_arg = FALSE,
  flatten = TRUE,
  ...
)

Arguments

func

function

dim_argmax

dimension argmax

activation

activation

thresh

threshold point

to_np

to matrix or not

invert_arg

invert arguments

flatten

flatten

...

additional arguments to pass

Value

None


fastai documentation built on July 28, 2021, 5:06 p.m.