View source: R/PreprocessingData.R
createPreprocessSettings | R Documentation |
Create the settings for preprocessing the trainData.
createPreprocessSettings(
minFraction = 0.001,
normalize = TRUE,
removeRedundancy = TRUE
)
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) Redundant features are features that within an analysisId together cover all observations. For example with ageGroups, if you have ageGroup 0-18 and 18-100 and all patients are in one of these groups, then one of these groups is redundant. |
Returns an object of class preprocessingSettings
that specifies how to
preprocess the training data
An object of class preprocessingSettings
# Create the settings for preprocessing, remove no features, normalise the data
createPreprocessSettings(minFraction = 0.0, normalize = TRUE, removeRedundancy = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.