TSDataLoaders_from_dfs: TSDataLoaders_from_dfs

Description Usage Arguments Value

View source: R/time_series_data.R

Description

Create a DataLoader from a df_train and df_valid

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
TSDataLoaders_from_dfs(
  df_train,
  df_valid,
  path = ".",
  x_cols = NULL,
  label_col = NULL,
  y_block = NULL,
  item_tfms = NULL,
  batch_tfms = NULL,
  bs = 64,
  val_bs = NULL,
  shuffle_train = TRUE,
  device = NULL
)

Arguments

df_train

train data

df_valid

validation data

path

path (optional)

x_cols

predictors

label_col

label/output column

y_block

y_block

item_tfms

item transformations

batch_tfms

batch transformations

bs

batch size

val_bs

validation batch size

shuffle_train

shuffle train data

device

device name

Value

None


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