set.eSatisfactory: get e-satisfactory instance of aim-leaf from all tree

Description Usage Arguments Value Examples

View source: R/set.eSatisfactory.R

Description

get e-satisfactory instance of aim-leaf from all tree

Usage

1
set.eSatisfactory(rules, epsiron = 0.1)

Arguments

rules

an objectrandomForest object.

epsiron

a numeric. Amount of "tolerance". All standardized feature value changes from threashold with this tolerance.

Value

a list of trees (list).

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
X <- iris[, 1:(ncol(iris)-1)]
true.y <- iris[, ncol(iris)]

rf.iris <- randomForest(X, true.y, ntree=30)
rules.rf <- getRules(rf.iris, ktree = 20)
es.rf <- set.eSatisfactory(forest.rf, epsiron = 0.3)

## End(Not run)

katokohaku/featureTweakR documentation built on May 17, 2019, 11:17 p.m.