input_filter: Interaction terms filter when preparing for a linear...

Description Usage Arguments Value Examples

Description

When extracting interaction patterns from a fitted XGBoost model to fit a linear regression model, not all interaction terms can be used. Transformed features that come from the same original feature can not be included in the same interaction term. For example, we can't have a two way interaction term 'basisFICO_8:basisFICO_2' or a three way interaciton term 'basisLTV_5:normTerm:basisLTV_3'.

Usage

1
input_filter(termName, matchName)

Arguments

termName

Character string indicating name of the interaction term.

matchName

Character string representing a pattern for matching, e.g., 'FICO'.

Value

An integer representing number of times 'matchName' appears in 'termName'

Examples

1
input_filter(termName = 'basisFICO_8:basisFICO_2', matchName = 'FICO')

hongqi0314/PRAuto.PMML documentation built on May 6, 2019, 11:30 a.m.