inTrees: Interpret Tree Ensembles

For tree ensembles such as random forests, regularized random forests and gradient boosted trees, this package provides functions for: extracting, measuring and pruning rules; selecting a compact rule set; summarizing rules into a learner; calculating frequent variable interactions; formatting rules in latex code.

Author
Houtao Deng
Date of publication
2014-07-25 07:42:10
Maintainer
Houtao Deng <softwaredeng@gmail.com>
License
GPL (>= 3)
Version
1.1
URLs

View on CRAN

Man pages

applyLearner
apply a simplified tree ensemble learner (STEL) to data
buildLearner
build a simplified tree ensemble learner (STEL)
computeRuleInfor
compute rule information
dataSimulate
Simulate data
dicretizeVector
discretize a variable
extractRules
Extract rules from a list of trees
formatGBM
internal
GBM2List
Transform gbm object to a list of trees
getFreqPattern
calculate frequent variable interactions
getRuleMetric
Assign outcomes to a conditions, and measure the rules
getTypeX
get type of each variable
lookupRule
internal
measureRule
internal
Num2Level
internal function
presentRules
Present a learner using column names instead of X[i,]
pruneRule
Prune irrevant variable-value pair from a rule condition
pruneSingleRule
internal
RF2List
Transform a random forest object to a list of trees
rule2Table
internal function
ruleList2Exec
internal
selectRuleRRF
select a set of relevant and non-redundant rules
singleRuleList2Exec
internal
sortRule
internal
treeVisit
internal function
voteAllRules
internal

Files in this package

inTrees
inTrees/NAMESPACE
inTrees/NEWS
inTrees/R
inTrees/R/getTypeX.R
inTrees/R/measureRule.R
inTrees/R/getRuleMetric.R
inTrees/R/dicretizeVector.R
inTrees/R/treeVisit.R
inTrees/R/RF2List.R
inTrees/R/dataSimulate.R
inTrees/R/getFreqPattern.R
inTrees/R/rule2Table.R
inTrees/R/singleRuleList2Exec.R
inTrees/R/pruneSingleRule.R
inTrees/R/presentRules.R
inTrees/R/Num2Level.R
inTrees/R/lookupRule.R
inTrees/R/GBM2List.R
inTrees/R/buildLearner.R
inTrees/R/applyLearner.R
inTrees/R/extractRules.R
inTrees/R/selectRuleRRF.R
inTrees/R/inTrees-internal.R
inTrees/R/voteAllRules.R
inTrees/R/sortRule.R
inTrees/R/formatGBM.R
inTrees/R/computeRuleInfor.R
inTrees/R/pruneRule.R
inTrees/R/ruleList2Exec.R
inTrees/MD5
inTrees/DESCRIPTION
inTrees/man
inTrees/man/extractRules.Rd
inTrees/man/RF2List.Rd
inTrees/man/selectRuleRRF.Rd
inTrees/man/lookupRule.Rd
inTrees/man/formatGBM.Rd
inTrees/man/computeRuleInfor.Rd
inTrees/man/getRuleMetric.Rd
inTrees/man/ruleList2Exec.Rd
inTrees/man/dicretizeVector.Rd
inTrees/man/voteAllRules.Rd
inTrees/man/GBM2List.Rd
inTrees/man/buildLearner.Rd
inTrees/man/rule2Table.Rd
inTrees/man/measureRule.Rd
inTrees/man/sortRule.Rd
inTrees/man/dataSimulate.Rd
inTrees/man/pruneRule.Rd
inTrees/man/pruneSingleRule.Rd
inTrees/man/getTypeX.Rd
inTrees/man/treeVisit.Rd
inTrees/man/presentRules.Rd
inTrees/man/applyLearner.Rd
inTrees/man/Num2Level.Rd
inTrees/man/singleRuleList2Exec.Rd
inTrees/man/getFreqPattern.Rd