TSDataTable: TSDataTable

View source: R/time_series_tabular.R

TSDataTableR Documentation

TSDataTable

Description

A 'DataFrame' wrapper that knows which cols are x/y, and returns rows in '__getitem__'

Usage

TSDataTable(
  df,
  procs = NULL,
  x_names = NULL,
  y_names = NULL,
  block_y = NULL,
  splits = NULL,
  do_setup = TRUE,
  device = NULL,
  inplace = FALSE
)

Arguments

df

A DataFrame of your data

procs

list of preprocess functions

x_names

predictors names

y_names

the names of the dependent variables

block_y

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

device name

inplace

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

Value

None


fastai documentation built on March 31, 2023, 11:41 p.m.