类 ASEvaluation
java.lang.Object
weka.attributeSelection.ASEvaluation
- 所有已实现的接口:
Serializable
,CapabilitiesHandler
,RevisionHandler
- 直接已知子类:
AttributeSetEvaluator
,CfsSubsetEval
,ChiSquaredAttributeEval
,ConsistencySubsetEval
,CostSensitiveASEvaluation
,FilteredAttributeEval
,FilteredSubsetEval
,GainRatioAttributeEval
,HoldOutSubsetEvaluator
,InfoGainAttributeEval
,OneRAttributeEval
,ReliefFAttributeEval
,SVMAttributeEval
,SymmetricalUncertAttributeEval
,UnsupervisedAttributeEvaluator
,UnsupervisedSubsetEvaluator
,WrapperSubsetEval
public abstract class ASEvaluation
extends Object
implements Serializable, CapabilitiesHandler, RevisionHandler
Abstract attribute selection evaluation class
- 版本:
- $Revision: 11851 $
- 作者:
- Mark Hall (mhall@cs.waikato.ac.nz)
- 另请参阅:
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明abstract void
buildEvaluator
(Instances data) Generates a attribute evaluator.void
clean()
Tells the evaluator that the attribute selection process is complete.static ASEvaluation
Creates a new instance of an attribute/subset evaluator given it's class name and (optional) arguments to pass to it's setOptions method.Returns the capabilities of this evaluator.Returns the revision string.static ASEvaluation[]
makeCopies
(ASEvaluation model, int num) Creates copies of the current evaluator.int[]
postProcess
(int[] attributeSet) Provides a chance for a attribute evaluator to do any special post processing of the selected attribute set.
-
构造器详细资料
-
ASEvaluation
public ASEvaluation()
-
-
方法详细资料
-
buildEvaluator
Generates a attribute evaluator. Has to initialize all fields of the evaluator that are not being set via options.- 参数:
data
- set of instances serving as training data- 抛出:
Exception
- if the evaluator has not been generated successfully
-
postProcess
Provides a chance for a attribute evaluator to do any special post processing of the selected attribute set.- 参数:
attributeSet
- the set of attributes found by the search- 返回:
- a possibly ranked list of postprocessed attributes
- 抛出:
Exception
- if postprocessing fails for some reason
-
forName
Creates a new instance of an attribute/subset evaluator given it's class name and (optional) arguments to pass to it's setOptions method. If the evaluator implements OptionHandler and the options parameter is non-null, the evaluator will have it's options set.- 参数:
evaluatorName
- the fully qualified class name of the evaluatoroptions
- an array of options suitable for passing to setOptions. May be null.- 返回:
- the newly created evaluator, ready for use.
- 抛出:
Exception
- if the evaluator name is invalid, or the options supplied are not acceptable to the evaluator
-
makeCopies
Creates copies of the current evaluator. Note that this method now uses Serialization to perform a deep copy, so the evaluator object must be fully Serializable. Any currently built model will now be copied as well.- 参数:
model
- an example evaluator to copynum
- the number of evaluator copies to create.- 返回:
- an array of evaluators.
- 抛出:
Exception
- if an error occurs
-
getCapabilities
Returns the capabilities of this evaluator.- 指定者:
getCapabilities
在接口中CapabilitiesHandler
- 返回:
- the capabilities of this evaluator
- 另请参阅:
-
getRevision
Returns the revision string.- 指定者:
getRevision
在接口中RevisionHandler
- 返回:
- the revision
-
clean
public void clean()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
-