TSDataLoaders_from_dfs: TSDataLoaders_from_dfs

View source: R/time_series_data.R

TSDataLoaders_from_dfsR Documentation

TSDataLoaders_from_dfs

Description

Create a DataLoader from a df_train and df_valid

Usage

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 March 21, 2022, 9:07 a.m.