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

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