|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectweka.attributeSelection.ASEvaluation
public abstract class ASEvaluation
Abstract attribute selection evaluation class
| Constructor Summary | |
|---|---|
ASEvaluation()
|
|
| Method Summary | |
|---|---|
abstract void |
buildEvaluator(Instances data)
Generates a attribute evaluator. |
static ASEvaluation |
forName(java.lang.String evaluatorName,
java.lang.String[] options)
Creates a new instance of an attribute/subset evaluator given it's class name and (optional) arguments to pass to it's setOptions method. |
Capabilities |
getCapabilities()
Returns the capabilities of this evaluator. |
java.lang.String |
getRevision()
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ASEvaluation()
| Method Detail |
|---|
public abstract void buildEvaluator(Instances data)
throws java.lang.Exception
data - set of instances serving as training data
java.lang.Exception - if the evaluator has not been
generated successfully
public int[] postProcess(int[] attributeSet)
throws java.lang.Exception
attributeSet - the set of attributes found by the search
java.lang.Exception - if postprocessing fails for some reason
public static ASEvaluation forName(java.lang.String evaluatorName,
java.lang.String[] options)
throws java.lang.Exception
evaluatorName - the fully qualified class name of the evaluatoroptions - an array of options suitable for passing to setOptions. May
be null.
java.lang.Exception - if the evaluator name is invalid, or the options
supplied are not acceptable to the evaluator
public static ASEvaluation[] makeCopies(ASEvaluation model,
int num)
throws java.lang.Exception
model - an example evaluator to copynum - the number of evaluator copies to create.
java.lang.Exception - if an error occurspublic Capabilities getCapabilities()
getCapabilities in interface CapabilitiesHandlerCapabilitiespublic java.lang.String getRevision()
getRevision in interface RevisionHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||