pruneRule: Prune irrevant variable-value pair from a rule condition

View source: R/pruneRule.R

pruneRuleR Documentation

Prune irrevant variable-value pair from a rule condition

Description

Prune irrevant variable-value pair from a rule condition

Usage

pruneRule(rules, X, target, maxDecay = 0.05, typeDecay = 2)

Arguments

rules

A metrix including the rules and metrics

X

predictor variable matrix

target

target variable vector

maxDecay

threshold of decay

typeDecay

1: relative error; 2: error; default :2

Value

A matrix including the rules each being pruned, and metrics

Author(s)

Houtao Deng

References

Houtao Deng, Interpreting Tree Ensembles with inTrees, technical report, 2014

See Also

buildLearner

Examples

# see function "buildLearner"

inTrees documentation built on June 1, 2022, 1:06 a.m.

Related to pruneRule in inTrees...