public class RandomForestTreeModel extends Object implements IgniteModel<Vector,Double>
| Constructor and Description |
|---|
RandomForestTreeModel() |
RandomForestTreeModel(TreeNode root,
Set<Integer> usedFeatures)
Create an instance of TreeRoot.
|
| Modifier and Type | Method and Description |
|---|---|
TreeNode |
getRootNode() |
Set<Integer> |
getUsedFeatures() |
List<TreeNode> |
leafs() |
Double |
predict(Vector vector)
Make a prediction for the specified input arguments.
|
static String |
printTree(TreeNode node,
boolean pretty)
Represents DecisionTree as String.
|
String |
toString() |
String |
toString(boolean pretty) |
public RandomForestTreeModel(TreeNode root, Set<Integer> usedFeatures)
root - Root.usedFeatures - Used features.public RandomForestTreeModel()
public TreeNode getRootNode()
public static String printTree(TreeNode node, boolean pretty)
node - Decision tree.pretty - Use pretty mode.public String toString(boolean pretty)
toString in interface IgniteModel<Vector,Double>pretty - Use pretty mode.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.14.0 Release Date : September 29 2022