All Packages Class Hierarchy This Package Previous Next Index WEKA's home
Class weka.attributeSelection.ConsistencySubsetEval
java.lang.Object
|
+----weka.attributeSelection.ASEvaluation
|
+----weka.attributeSelection.SubsetEvaluator
|
+----weka.attributeSelection.ConsistencySubsetEval
- public class ConsistencySubsetEval
- extends SubsetEvaluator
Consistency attribute subset evaluator.
For more information see:
- Version:
- $Revision: 1.1 $
- Author:
- Mark Hall (mhall@cs.waikato.ac.nz)
-
ConsistencySubsetEval()
- Constructor.
-
buildEvaluator(Instances)
- Generates a attribute evaluator.
-
evaluateSubset(BitSet)
- Evaluates a subset of attributes
-
main(String[])
- Main method for testing this class.
-
toString()
- returns a description of the evaluator
ConsistencySubsetEval
public ConsistencySubsetEval()
- Constructor. Calls restOptions to set default options
buildEvaluator
public void buildEvaluator(Instances data) throws Exception
- Generates a attribute evaluator. Has to initialize all fields of the
evaluator that are not being set via options.
- Parameters:
- data - set of instances serving as training data
- Throws: Exception
- if the evaluator has not been
generated successfully
- Overrides:
- buildEvaluator in class ASEvaluation
evaluateSubset
public double evaluateSubset(BitSet subset) throws Exception
- Evaluates a subset of attributes
- Parameters:
- subset - a bitset representing the attribute subset to be
evaluated
- Throws: Exception
- if the subset could not be evaluated
- Overrides:
- evaluateSubset in class SubsetEvaluator
toString
public String toString()
- returns a description of the evaluator
- Returns:
- a description of the evaluator as a String.
- Overrides:
- toString in class Object
main
public static void main(String args[])
- Main method for testing this class.
- Parameters:
- args - the options
All Packages Class Hierarchy This Package Previous Next Index WEKA's home