All Packages Class Hierarchy This Package Previous Next Index WEKA's home
Class weka.classifiers.m5.SplitInfo
java.lang.Object
|
+----weka.classifiers.m5.SplitInfo
- public final class SplitInfo
- extends Object
- implements Serializable
Stores split information.
- Version:
- $Revision: 1.2 $
- Author:
- Yong Wang (yongwang@cs.waikato.ac.nz)
-
SplitInfo(int, int, int)
- Constructs an object which contains the split information
-
attrSplit(int, Instances)
-
Finds the best splitting point for an attribute in the instances
-
copy()
- Makes a copy of this SplitInfo object
-
initialize(int, int, int)
- Resets the object of split information
-
toString(Instances)
- Converts the spliting information to string
SplitInfo
public SplitInfo(int low,
int high,
int attr)
- Constructs an object which contains the split information
- Parameters:
- low - the index of the first instance
- high - the index of the last instance
- attr - an attribute
copy
public final SplitInfo copy()
- Makes a copy of this SplitInfo object
initialize
public final void initialize(int low,
int high,
int attr)
- Resets the object of split information
- Parameters:
- low - the index of the first instance
- high - the index of the last instance
- attr - the attribute
toString
public final String toString(Instances inst)
- Converts the spliting information to string
- Parameters:
- inst - the instances
attrSplit
public final void attrSplit(int attr,
Instances inst) throws Exception
- Finds the best splitting point for an attribute in the instances
- Parameters:
- attr - the splitting attribute
- inst - the instances
- Throws: Exception
- if something goes wrong
All Packages Class Hierarchy This Package Previous Next Index WEKA's home