skm_to_fastai {fastai} | R 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
[Package fastai version 2.2.2 Index]