removeRareFeatures: A function that removes rare features from the data

View source: R/FeatureEngineering.R

removeRareFeaturesR Documentation

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)

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

Value

The data with rare features removed


OHDSI/PatientLevelPrediction documentation built on Feb. 14, 2025, 9:44 a.m.