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 June 22, 2024, 11:15 a.m.