Create a DataLoader from a df_train and df_valid

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