Create the settings for preprocessing the trainData.

createPreprocessSettings(
  minFraction = 0.001,
  normalize = TRUE,
  removeRedundancy = TRUE
)

Arguments

minFraction

The minimum fraction of target population who must have a covariate for it to be included in the model training

normalize

Whether to normalise the covariates before training (Default: TRUE)

removeRedundancy

Whether to remove redundant features (Default: TRUE)

Value

An object of class preprocessingSettings

Details

Returns an object of class preprocessingSettings that specifies how to preprocess the training data