CategoryBlock: CategoryBlock

Description Usage Arguments Value

View source: R/blocks.R

Description

'TransformBlock' for single-label categorical targets

Usage

1
CategoryBlock(vocab = NULL, sort = TRUE, add_na = FALSE)

Arguments

vocab

vocabulary

sort

sort or not

add_na

add NA

Value

Block object


fastai documentation built on July 28, 2021, 5:06 p.m.