skm_to_fastai: Skm to fastai

Description Usage Arguments Value

View source: R/metric.R

Description

Convert 'func' from sklearn$metrics to a fastai metric

Usage

1
2
3
4
5
6
7
8
skm_to_fastai(
  func,
  is_class = TRUE,
  thresh = NULL,
  axis = -1,
  activation = NULL,
  ...
)

Arguments

func

function

is_class

is classification or not

thresh

threshold point

axis

axis

activation

activation

...

additional arguments to pass

Value

None


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