PrintTree: Print an ImbTreeEntropy Object

Usage Arguments Value See Also Examples

View source: R/Print.R

Usage

1
PrintTree( tree )

Arguments

tree

Fitted model object. This is assumed to be the result of some function that produces an object with the same named components as that returned by the ImbTreeEntropy function.

Value

Printed an ImbTreeEntropy based model.

See Also

ImbTreeEntropy, ImbTreeEntropyInter, PredictTree, PrintTree, PrintTreeInter, ExtractRules

Examples

1
2
3
4
5
6
library("ImbTreeEntropy")
data(iris)
Tree <- ImbTreeEntropy(Y_name = "Species", 
                       X_names = colnames(iris)[-ncol(iris)], 
                       data = iris) 
Tree <- PrintTree(Tree)

KrzyGajow/ImbTreeEntropy documentation built on Dec. 31, 2020, 2:13 p.m.