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:
Liu, H., and Setiono, R., (1996). A probabilistic approach to feature selection - A filter solution. In 13th International Conference on Machine Learning (ICML'96), July 1996, pp. 319-327. Bari, Italy.

Version:
$Revision: 1.7 $
Author:
Mark Hall (mhall@cs.waikato.ac.nz)

Class Index

 o ConsistencySubsetEval.hashKey
Class providing keys to the hash table.

Constructor Index

 o ConsistencySubsetEval()
Constructor.

Method Index

 o buildEvaluator(Instances)
Generates a attribute evaluator.
 o evaluateSubset(BitSet)
Evaluates a subset of attributes
 o globalInfo()
Returns a string describing this search method
 o main(String[])
Main method for testing this class.
 o toString()
returns a description of the evaluator

Constructor Detail

 o ConsistencySubsetEval
public ConsistencySubsetEval()
          Constructor. Calls restOptions to set default options

Method Detail

 o globalInfo
public java.lang.String globalInfo()
          Returns a string describing this search method
Returns:
a description of the search suitable for displaying in the explorer/experimenter gui
 o buildEvaluator
public void buildEvaluator(Instances data) throws java.lang.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:
java.lang.Exception - if the evaluator has not been generated successfully
Overrides:
buildEvaluator in class ASEvaluation
 o evaluateSubset
public double evaluateSubset(java.util.BitSet subset) throws java.lang.Exception
          Evaluates a subset of attributes
Parameters:
subset - a bitset representing the attribute subset to be evaluated
Throws:
java.lang.Exception - if the subset could not be evaluated
Overrides:
evaluateSubset in class SubsetEvaluator
 o toString
public java.lang.String toString()
          returns a description of the evaluator
Returns:
a description of the evaluator as a String.
Overrides:
toString in class java.lang.Object
 o main
public static void main(java.lang.String args[])
          Main method for testing this class.
Parameters:
args - the options

All Packages  Class Hierarchy  This Package  Previous  Next  Index  WEKA's home