edu.uci.jforests.learning.trees
Class TreeLeafInstances
- java.lang.Object
-
- edu.uci.jforests.learning.trees.TreeLeafInstances
-
public class TreeLeafInstances extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor and Description TreeLeafInstances(int numInstances, int maxLeaves)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description LeafInstancesgetLeafInstances(int leaf)intgetNumberOfInstancesInLeaf(int leaf)voidinit(int size)voidloadLeafInstances(int leaf, LeafInstances leafInstances)voidsplit(int leaf, Dataset dataset, int featureIndex, int threshold, int rightChild, int[] instances)
-
-
-
Method Detail
-
init
public void init(int size)
-
split
public void split(int leaf, Dataset dataset, int featureIndex, int threshold, int rightChild, int[] instances)
-
getLeafInstances
public LeafInstances getLeafInstances(int leaf)
-
loadLeafInstances
public void loadLeafInstances(int leaf, LeafInstances leafInstances)
-
getNumberOfInstancesInLeaf
public int getNumberOfInstancesInLeaf(int leaf)
-
-
DMelt 3.0 © DataMelt by jWork.ORG