skm_to_fastai: Skm to fastai

View source: R/metric.R

skm_to_fastaiR Documentation

Skm to fastai

Description

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

Usage

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 March 21, 2022, 9:07 a.m.