|
||||||||||
| 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.AbstractGlobalWekaClassifierEvaluator
public abstract class AbstractGlobalWekaClassifierEvaluator
Ancestor for classifier evaluators that make use of a global classifier.
| Field Summary | |
|---|---|
protected GlobalActorReference |
m_Classifier
the name of the global weka classifier. |
protected boolean |
m_DiscardPredictions
whether to discard predictions. |
| 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 |
|---|
FILE_EXTENSION, FILE_EXTENSION_GZ, m_Annotations, m_BackupState, m_DetectedObjectVariables, m_DetectedVariables, m_ErrorHandler, m_Executed, 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 |
| Constructor Summary | |
|---|---|
AbstractGlobalWekaClassifierEvaluator()
|
|
| Method Summary | |
|---|---|
abstract String |
classifierTipText()
Returns the tip text for this property. |
void |
defineOptions()
Adds options to the internal list of options. |
String |
discardPredictionsTipText()
Returns the tip text for this property. |
GlobalActorReference |
getClassifier()
Returns the name of the global classifier in use. |
protected weka.classifiers.Classifier |
getClassifierInstance()
Returns an instance of the global classifier. |
boolean |
getDiscardPredictions()
Returns whether to discard the predictions in order to preserve memory. |
String |
getQuickInfo()
Returns a quick info about the actor, which will be displayed in the GUI. |
void |
setClassifier(GlobalActorReference value)
Sets the name of the global classifier to use. |
void |
setDiscardPredictions(boolean value)
Sets whether to discard the predictions instead of collecting them for future use, in order to conserve memory. |
String |
setUp()
Initializes the item for flow execution. |
| Methods inherited from class adams.flow.transformer.AbstractWekaClassifierEvaluator |
|---|
generates, getOutput, outputTipText, reset, setOutput, wrapUp |
| Methods inherited from class adams.flow.transformer.AbstractTransformer |
|---|
backupState, execute, hasPendingOutput, input, output, 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.InputConsumer |
|---|
accepts |
| Field Detail |
|---|
protected GlobalActorReference m_Classifier
protected boolean m_DiscardPredictions
| Constructor Detail |
|---|
public AbstractGlobalWekaClassifierEvaluator()
| Method Detail |
|---|
public void defineOptions()
defineOptions in interface OptionHandlerdefineOptions in class AbstractWekaClassifierEvaluatorpublic void setClassifier(GlobalActorReference value)
value - the namepublic GlobalActorReference getClassifier()
public abstract String classifierTipText()
public void setDiscardPredictions(boolean value)
value - true if to discard predictionspublic boolean getDiscardPredictions()
public String discardPredictionsTipText()
public String getQuickInfo()
getQuickInfo in interface QuickInfoSupportergetQuickInfo in class AbstractActorpublic String setUp()
setUp in class AbstractActorprotected weka.classifiers.Classifier getClassifierInstance()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||