convertDataFrameToFeatureMatrix: convertDataFrameToFeatureMatrix

Description Usage Author(s)

Description

Convert a data frame to a numeric feature matrix that can be used as features in a predictive model Numeric features are left as numeric. Character or factor features are converted to binary features if they have 2 unique values or if there are more than 2 unique values it is expanded to a binary feature for each possible value.

Usage

1

Author(s)

Adam Margolin


Sage-Bionetworks/predictiveModeling documentation built on May 9, 2019, 12:12 p.m.