createTraining: createTraining

createTrainingR Documentation

createTraining

Description

Creates a Training object. A training object is designed to encapsulate training layers and training meta-layer. Functions createTrainLayer and createTrainMetaLayer are available to add the training layer and the training meta-layer to a training object.

Usage

createTraining(
  id,
  target_df,
  ind_col,
  target,
  problem_type = "classification",
  verbose = TRUE
)

Arguments

id

character
Training's ID.

target_df

data.frame
Observed target values. A data frame with two columns: individual IDs and response variable values.

ind_col

character
Name of column of individuals IDs.

target

character
Name of the target variable.

problem_type

character
Either "classification" or "regression".

verbose

boolean
Warning and processing information (including those of cross-validation) will be displayed if set to TRUE.

Value

The created Training object is returned.

See Also

createTrainLayer, createTrainMetaLayer and fusemlr.


fuseMLR documentation built on April 3, 2025, 8:49 p.m.