@KFStep(name="ASEvaluator", category="AttSelection", toolTipText="Weka attribute selection evaluator wrapper", iconPath="", resourceIntensive=true) public class ASEvaluator extends WekaAlgorithmWrapper
ASSearchStrategy,
Serialized Form| Constructor and Description |
|---|
ASEvaluator() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCustomEditorForStep()
Get the class name of the custom editor for this step
|
ASEvaluation |
getEvaluator()
Get the evaluator wrapped by this step
|
java.util.List<java.lang.String> |
getIncomingConnectionTypes()
Get incoming connections accepted given the current state of the step
|
java.util.List<java.lang.String> |
getOutgoingConnectionTypes()
Get a list of output connections that can be produced given the current
state of the step
|
boolean |
getTreatXValFoldsSeparately()
Get whether to output separate results for each fold of a cross-validation,
rather than averaging over folds.
|
java.lang.Class |
getWrappedAlgorithmClass()
Get the class of Weka algorithm wrapped by this wrapper
|
void |
processIncoming(Data data)
Process an incoming Data object
|
void |
setEvaluator(ASEvaluation eval)
Set the evaluator to wrap (just calls setWrappedAlgorithm)
|
void |
setTreatXValFoldsSeparately(boolean treatSeparately)
Set whether to output separate results for each fold of a cross-validation,
rather than averaging over folds.
|
void |
setWrappedAlgorithm(java.lang.Object algo)
Set an instance of the wrapped algorithm to use
|
void |
stepInit()
Initialize at the start of a run
|
getDefaultIconPath, getDefaultPackageLevelIconPath, getIconPath, getWrappedAlgorithm, globalInfoenvironmentSubstitute, getDefaultSettings, getInteractiveViewers, getInteractiveViewersImpls, getName, getStepManager, isResourceIntensive, isStopRequested, outputStructureForConnectionType, outputStructureForConnectionType, setName, setStepIsResourceIntensive, setStepManager, setStepMustRunSingleThreaded, start, stepMustRunSingleThreaded, stoppublic java.lang.Class getWrappedAlgorithmClass()
getWrappedAlgorithmClass in class WekaAlgorithmWrapperpublic void setWrappedAlgorithm(java.lang.Object algo)
setWrappedAlgorithm in class WekaAlgorithmWrapperalgo - the algorithm to usepublic ASEvaluation getEvaluator()
@ProgrammaticProperty public void setEvaluator(ASEvaluation eval)
eval - the evaluator to use@OptionMetadata(displayName="Treat x-val folds separately", description="Output separate attribute selection results for each fold of a cross-validation (rather than averaging across folds)") public void setTreatXValFoldsSeparately(boolean treatSeparately)
treatSeparately - true if each fold will have results outputpublic boolean getTreatXValFoldsSeparately()
public void stepInit()
throws WekaException
WekaException - if there is an illegal configuration (i.e. Ranker
search with subset evaluator or regular search with attribute
evaluatorpublic void processIncoming(Data data) throws WekaException
processIncoming in interface BaseStepExtenderprocessIncoming in interface StepprocessIncoming in class BaseStepdata - the data object to processWekaException - if a problem occurspublic java.util.List<java.lang.String> getIncomingConnectionTypes()
public java.util.List<java.lang.String> getOutgoingConnectionTypes()
public java.lang.String getCustomEditorForStep()
getCustomEditorForStep in interface StepgetCustomEditorForStep in class BaseStep