pruneRule | R Documentation |
Prune irrevant variable-value pair from a rule condition
pruneRule(rules, X, target, maxDecay = 0.05, typeDecay = 2)
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 |
A matrix including the rules each being pruned, and metrics
Houtao Deng
Houtao Deng, Interpreting Tree Ensembles with inTrees, technical report, 2014
buildLearner
# see function "buildLearner"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.