batchgetter_categ {mlr3torch}R Documentation

Batchgetter for Categorical data

Description

Converts a data frame of categorical data into a long tensor by converting the data to integers. No input checks are performed.

Usage

batchgetter_categ(data, device, ...)

Arguments

data

(data.table)
data.table to be converted to a tensor.

device

(character(1))
The device.

...

(any)
Unused.


[Package mlr3torch version 0.1.0 Index]