CategoryBlock: CategoryBlock

View source: R/blocks.R

CategoryBlockR Documentation

CategoryBlock

Description

'TransformBlock' for single-label categorical targets

Usage

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