类 ConsistencySubsetEval
java.lang.Object
weka.attributeSelection.ASEvaluation
weka.attributeSelection.ConsistencySubsetEval
- 所有已实现的接口:
Serializable
,SubsetEvaluator
,CapabilitiesHandler
,RevisionHandler
,TechnicalInformationHandler
public class ConsistencySubsetEval
extends ASEvaluation
implements SubsetEvaluator, TechnicalInformationHandler
ConsistencySubsetEval :
Evaluates the worth of a subset of attributes by the level of consistency in the class values when the training instances are projected onto the subset of attributes.
Consistency of any subset can never be lower than that of the full set of attributes, hence the usual practice is to use this subset evaluator in conjunction with a Random or Exhaustive search which looks for the smallest subset with consistency equal to that of the full set of attributes.
For more information see:
H. Liu, R. Setiono: A probabilistic approach to feature selection - A filter solution. In: 13th International Conference on Machine Learning, 319-327, 1996. BibTeX:
Evaluates the worth of a subset of attributes by the level of consistency in the class values when the training instances are projected onto the subset of attributes.
Consistency of any subset can never be lower than that of the full set of attributes, hence the usual practice is to use this subset evaluator in conjunction with a Random or Exhaustive search which looks for the smallest subset with consistency equal to that of the full set of attributes.
For more information see:
H. Liu, R. Setiono: A probabilistic approach to feature selection - A filter solution. In: 13th International Conference on Machine Learning, 319-327, 1996. BibTeX:
@inproceedings{Liu1996, author = {H. Liu and R. Setiono}, booktitle = {13th International Conference on Machine Learning}, pages = {319-327}, title = {A probabilistic approach to feature selection - A filter solution}, year = {1996} }
- 版本:
- $Revision: 11851 $
- 作者:
- Mark Hall (mhall@cs.waikato.ac.nz)
- 另请参阅:
-
嵌套类概要
嵌套类 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
buildEvaluator
(Instances data) Generates a attribute evaluator.void
clean()
Tells the evaluator that the attribute selection process is complete.double
evaluateSubset
(BitSet subset) Evaluates a subset of attributesReturns the capabilities of this evaluator.Returns the revision string.Returns an instance of a TechnicalInformation object, containing detailed information about the technical background of this class, e.g., paper reference or book this class is based on.Returns a string describing this search methodstatic void
Main method for testing this class.toString()
returns a description of the evaluator从类继承的方法 weka.attributeSelection.ASEvaluation
forName, makeCopies, postProcess
-
构造器详细资料
-
ConsistencySubsetEval
public ConsistencySubsetEval()Constructor. Calls restOptions to set default options
-
-
方法详细资料
-
globalInfo
Returns a string describing this search method- 返回:
- a description of the search suitable for displaying in the explorer/experimenter gui
-
getTechnicalInformation
Returns an instance of a TechnicalInformation object, containing detailed information about the technical background of this class, e.g., paper reference or book this class is based on.- 指定者:
getTechnicalInformation
在接口中TechnicalInformationHandler
- 返回:
- the technical information about this class
-
getCapabilities
Returns the capabilities of this evaluator.- 指定者:
getCapabilities
在接口中CapabilitiesHandler
- 覆盖:
getCapabilities
在类中ASEvaluation
- 返回:
- the capabilities of this evaluator
- 另请参阅:
-
buildEvaluator
Generates a attribute evaluator. Has to initialize all fields of the evaluator that are not being set via options.- 指定者:
buildEvaluator
在类中ASEvaluation
- 参数:
data
- set of instances serving as training data- 抛出:
Exception
- if the evaluator has not been generated successfully
-
evaluateSubset
Evaluates a subset of attributes- 指定者:
evaluateSubset
在接口中SubsetEvaluator
- 参数:
subset
- a bitset representing the attribute subset to be evaluated- 返回:
- the "merit" of the subset
- 抛出:
Exception
- if the subset could not be evaluated
-
toString
returns a description of the evaluator -
getRevision
Returns the revision string.- 指定者:
getRevision
在接口中RevisionHandler
- 覆盖:
getRevision
在类中ASEvaluation
- 返回:
- the revision
-
clean
public void clean()从类复制的说明:ASEvaluation
Tells the evaluator that the attribute selection process is complete. It can then clean up data structures, references to training data as necessary in order to save memory- 覆盖:
clean
在类中ASEvaluation
-
main
Main method for testing this class.- 参数:
args
- the options
-