createPreprocessSettings: Create the settings for preprocessing the trainData.

View source: R/PreprocessingData.R

createPreprocessSettingsR Documentation

Create the settings for preprocessing the trainData.

Description

Create the settings for preprocessing the trainData.

Usage

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)

Details

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

Value

An object of class preprocessingSettings


OHDSI/PatientLevelPrediction documentation built on Sept. 15, 2024, 6:38 a.m.