@Deprecated public final class TreeVisualizer extends Object
Modifier and Type | Method and Description |
---|---|
static String[] |
predictTrace(Node tree,
Data data,
String[] attrNames)
Deprecated.
Predict trace to String
|
static void |
predictTracePrint(Node tree,
Data data,
String[] attrNames)
Deprecated.
Print predict trace
|
static void |
print(Node tree,
Dataset dataset,
String[] attrNames)
Deprecated.
Print Decision tree
|
static String |
toString(Node tree,
Dataset dataset,
String[] attrNames)
Deprecated.
Decision tree to String
|
public static String toString(Node tree, Dataset dataset, String[] attrNames)
tree
- Node of treeattrNames
- attribute namespublic static void print(Node tree, Dataset dataset, String[] attrNames)
tree
- Node of treeattrNames
- attribute namespublic static String[] predictTrace(Node tree, Data data, String[] attrNames)
tree
- Node of treeattrNames
- attribute namesCopyright © 2008–2017 The Apache Software Foundation. All rights reserved.