Learn R Programming

PatientLevelPrediction (version 6.4.1)

removeRareFeatures: A function that removes rare features from the data

Description

A function that removes rare features from the data

Usage

removeRareFeatures(trainData, featureEngineeringSettings, done = FALSE)

Value

The data with rare features removed

Arguments

trainData

The data to be normalized

featureEngineeringSettings

The settings for the normalization

done

Whether to find and remove rare features or remove them only (bool)

Details

removes features that are present in less than a certain fraction of the population