prepare_input_list_model: Function to prepare input list for fit process, due to...

View source: R/data_handler_torch.R

prepare_input_list_modelR Documentation

Function to prepare input list for fit process, due to different approaches

Description

Function to prepare input list for fit process, due to different approaches

Usage

prepare_input_list_model(
  input_x,
  input_y,
  object,
  epochs = 10,
  batch_size = 32,
  validation_split = 0,
  validation_data = NULL,
  callbacks = NULL,
  verbose,
  view_metrics,
  early_stopping
)

Arguments

input_x

output of prepare_data()

input_y

target

object

a deepregression object

epochs

integer, the number of epochs to fit the model

batch_size

integer, the batch size used for mini-batch training

validation_split

float in [0,1] defining the amount of data used for validation

validation_data

optional specified validation data

callbacks

a list of callbacks for fitting

verbose

logical, whether to print losses during training.

view_metrics

logical, whether to trigger the Viewer in RStudio / Browser.

early_stopping

logical, whether early stopping should be user.

Value

list of arguments used in fit function


deepregression documentation built on Sept. 9, 2025, 5:27 p.m.