Convert `func` from sklearn$metrics to a fastai metric
skm_to_fastai(
func,
is_class = TRUE,
thresh = NULL,
axis = -1,
activation = NULL,
...
)
function
is classification or not
threshold point
axis
activation
additional arguments to pass
None