|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectadams.core.ConsoleObject
adams.core.option.AbstractOptionHandler
adams.flow.core.AbstractActor
adams.flow.transformer.AbstractTransformer
adams.flow.transformer.AbstractWekaClassifierEvaluator
adams.flow.transformer.AbstractGlobalPHMMClassifierEvaluator<T>
adams.flow.transformer.AbstractPHMMIterativeEvaluation<T,E>
public abstract class AbstractPHMMIterativeEvaluation<T extends IterativeHMMClassifier,E extends weka.utils.AbstractIterativeEvaluation>
Ancestor for evaluators using IterativeEvaluation schemes.
| Field Summary | |
|---|---|
protected weka.utils.AbstractIterativeEvaluation.EvaluationStep |
m_CurrentStep
the current evaluation step. |
protected int |
m_Folds
the number of folds. |
protected int |
m_IterationStepSize
the step size for the iterations. |
protected weka.utils.AbstractIterativeEvaluation.EvaluationIterator |
m_Iterator
the evaluation iterator. |
protected int |
m_NumIterations
the number of iterations to perform. |
| Fields inherited from class adams.flow.transformer.AbstractGlobalPHMMClassifierEvaluator |
|---|
m_Classifier |
| Fields inherited from class adams.flow.transformer.AbstractWekaClassifierEvaluator |
|---|
m_Output, m_OutputBuffer |
| Fields inherited from class adams.flow.transformer.AbstractTransformer |
|---|
BACKUP_INPUT, BACKUP_OUTPUT, m_InputToken, m_OutputToken |
| Fields inherited from class adams.flow.core.AbstractActor |
|---|
m_Annotations, m_BackupState, m_DetectedObjectVariables, m_DetectedVariables, m_ErrorHandler, m_Executed, m_Executing, m_ExecutionListeningSupporter, m_FullName, m_Headless, m_Name, m_Parent, m_Root, m_Self, m_Skip, m_StopFlowOnError, m_StopMessage, m_Stopped, m_StorageHandler, m_VariablesUpdated |
| Fields inherited from class adams.core.option.AbstractOptionHandler |
|---|
m_DebugLevel, m_OptionManager |
| Fields inherited from interface adams.flow.core.Actor |
|---|
FILE_EXTENSION, FILE_EXTENSION_GZ |
| Constructor Summary | |
|---|---|
AbstractPHMMIterativeEvaluation()
|
|
| Method Summary | |
|---|---|
Class[] |
accepts()
Returns the class that the consumer accepts. |
String |
classifierTipText()
Returns the tip text for this property. |
void |
defineOptions()
Adds options to the internal list of options. |
protected String |
doExecute()
Executes the flow item. |
String |
foldsTipText()
Returns the tip text for this property. |
int |
getFolds()
Returns the number of folds. |
int |
getIterationStepSize()
Returns the step size for the iterations. |
int |
getNumIterations()
Returns the number of iterations to perform. |
String |
getQuickInfo()
Returns a quick info about the actor, which will be displayed in the GUI. |
boolean |
hasPendingOutput()
Checks whether there is pending output to be collected after executing the flow item. |
String |
iterationStepSizeTipText()
Returns the tip text for this property. |
protected abstract E |
newEvaluation()
Instantiates a new evaluation object. |
String |
numIterationsTipText()
Returns the tip text for this property. |
Token |
output()
Returns the generated token. |
void |
setFolds(int value)
Sets the number of folds. |
void |
setIterationStepSize(int value)
Sets the step size for the iterations. |
void |
setNumIterations(int value)
Sets the number of iterations to perform. |
void |
stopExecution()
Stops the execution. |
void |
updateProvenance(ProvenanceContainer cont)
Updates the provenance information in the provided container. |
| Methods inherited from class adams.flow.transformer.AbstractGlobalPHMMClassifierEvaluator |
|---|
getClassifier, getClassifierInstance, setClassifier |
| Methods inherited from class adams.flow.transformer.AbstractWekaClassifierEvaluator |
|---|
generates, getOutput, outputTipText, reset, setOutput, wrapUp |
| Methods inherited from class adams.flow.transformer.AbstractTransformer |
|---|
backupState, execute, input, postExecute, restoreState |
| Methods inherited from class adams.core.option.AbstractOptionHandler |
|---|
cleanUpOptions, debug, debugLevelTipText, finishInit, getDebugLevel, getOptionManager, globalInfo, isDebugOn, newOptionManager, setDebugLevel, toCommandLine, toString |
| Methods inherited from class adams.core.ConsoleObject |
|---|
getDebugging, getSystemErr, getSystemOut |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface adams.flow.core.Actor |
|---|
cleanUp, compareTo, debug, destroy, equals, findVariables, getAnnotations, getDefaultName, getDetectedVariables, getErrorHandler, getFlowExecutionListeningSupporter, getFullName, getName, getNextSibling, getParent, getPreviousSibling, getRoot, getSkip, getStopFlowOnError, getStopMessage, getStorageHandler, getVariables, handleError, hasErrorHandler, hasStopMessage, index, isExecuted, isFinished, isHeadless, isStopped, setAnnotations, setErrorHandler, setHeadless, setName, setParent, setSkip, setStopFlowOnError, setUp, setVariables, sizeOf, stopExecution, variableChanged |
| Methods inherited from interface adams.core.AdditionalInformationHandler |
|---|
getAdditionalInformation |
| Methods inherited from interface adams.core.option.OptionHandler |
|---|
cleanUpOptions, getOptionManager |
| Field Detail |
|---|
protected int m_Folds
protected int m_NumIterations
protected int m_IterationStepSize
protected transient weka.utils.AbstractIterativeEvaluation.EvaluationIterator m_Iterator
protected weka.utils.AbstractIterativeEvaluation.EvaluationStep m_CurrentStep
| Constructor Detail |
|---|
public AbstractPHMMIterativeEvaluation()
| Method Detail |
|---|
public void defineOptions()
defineOptions in interface OptionHandlerdefineOptions in class AbstractGlobalPHMMClassifierEvaluator<T extends IterativeHMMClassifier>public String getQuickInfo()
getQuickInfo in interface QuickInfoSupportergetQuickInfo in interface ActorgetQuickInfo in class AbstractGlobalPHMMClassifierEvaluator<T extends IterativeHMMClassifier>public String classifierTipText()
classifierTipText in class AbstractGlobalPHMMClassifierEvaluator<T extends IterativeHMMClassifier>public void setFolds(int value)
value - the folds, -1 for LOOCVpublic int getFolds()
public String foldsTipText()
public void setNumIterations(int value)
value - the number of iterationspublic int getNumIterations()
public String numIterationsTipText()
public void setIterationStepSize(int value)
value - the step sizepublic int getIterationStepSize()
public String iterationStepSizeTipText()
public Class[] accepts()
accepts in interface InputConsumerprotected abstract E newEvaluation()
protected String doExecute()
doExecute in class AbstractActorpublic boolean hasPendingOutput()
hasPendingOutput in interface OutputProducerhasPendingOutput in class AbstractTransformerpublic Token output()
output in interface OutputProduceroutput in class AbstractTransformerpublic void stopExecution()
stopExecution in interface StoppablestopExecution in interface ActorstopExecution in class AbstractActorpublic void updateProvenance(ProvenanceContainer cont)
updateProvenance in interface ProvenanceSupportercont - the provenance container to update
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||