TabularDataTable: TabularDataTable

Description Usage Arguments Value

View source: R/tabular.R

Description

A 'Tabular' object with transforms

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
TabularDataTable(
  df,
  procs = NULL,
  cat_names = NULL,
  cont_names = NULL,
  y_names = NULL,
  y_block = NULL,
  splits = NULL,
  do_setup = TRUE,
  device = NULL,
  inplace = FALSE,
  reduce_memory = TRUE,
  ...
)

Arguments

df

A DataFrame of your data

procs

list of preprocess functions

cat_names

the names of the categorical variables

cont_names

the names of the continuous variables

y_names

the names of the dependent variables

y_block

the TransformBlock to use for the target

splits

How to split your data

do_setup

A parameter for if Tabular will run the data through the procs upon initialization

device

cuda or cpu

inplace

If True, Tabular will not keep a separate copy of your original DataFrame in memory

reduce_memory

fastai will attempt to reduce the overall memory usage

...

additional parameters to pass

Value

None


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