Class MultiPostProcessor
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.flow.transformer.wekaevaluationpostprocessor.AbstractWekaEvaluationPostProcessor
-
- adams.flow.transformer.wekaevaluationpostprocessor.MultiPostProcessor
-
- All Implemented Interfaces:
adams.core.Destroyable
,adams.core.GlobalInfoSupporter
,adams.core.logging.LoggingLevelHandler
,adams.core.logging.LoggingSupporter
,adams.core.option.OptionHandler
,adams.core.QuickInfoSupporter
,adams.core.SizeOfHandler
,Serializable
public class MultiPostProcessor extends AbstractWekaEvaluationPostProcessor
Applies the specified post-processors sequentially to the input data and combines their output.
-logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel) The logging level for outputting errors and debugging output. default: WARNING
-post-processor <adams.flow.transformer.wekaevaluationpostprocessor.AbstractWekaEvaluationPostProcessor> [-post-processor ...] (property: postProcessors) The post-processors to apply to the input data. default:
- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected AbstractWekaEvaluationPostProcessor[]
m_PostProcessors
the post-processors to combine.
-
Constructor Summary
Constructors Constructor Description MultiPostProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
defineOptions()
Adds options to the internal list of options.protected List<weka.classifiers.Evaluation>
doPostProcess(weka.classifiers.Evaluation eval)
Post-processes the Evaluation.AbstractWekaEvaluationPostProcessor[]
getPostProcessors()
Returns the post-processors in use.String
globalInfo()
Returns a string describing the object.String
postProcessorsTipText()
Returns the tip text for this property.void
setPostProcessors(AbstractWekaEvaluationPostProcessor[] value)
Sets the post-processors to use.-
Methods inherited from class adams.flow.transformer.wekaevaluationpostprocessor.AbstractWekaEvaluationPostProcessor
check, check, doPostProcess, getQuickInfo, newContainer, newEvaluation, postProcess, postProcess
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, initialize, loggingLevelTipText, newOptionManager, reset, setLoggingLevel, toCommandLine, toString
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
-
-
-
Field Detail
-
m_PostProcessors
protected AbstractWekaEvaluationPostProcessor[] m_PostProcessors
the post-processors to combine.
-
-
Method Detail
-
globalInfo
public String globalInfo()
Returns a string describing the object.- Specified by:
globalInfo
in interfaceadams.core.GlobalInfoSupporter
- Specified by:
globalInfo
in classadams.core.option.AbstractOptionHandler
- Returns:
- a description suitable for displaying in the gui
-
defineOptions
public void defineOptions()
Adds options to the internal list of options.- Specified by:
defineOptions
in interfaceadams.core.option.OptionHandler
- Overrides:
defineOptions
in classadams.core.option.AbstractOptionHandler
-
setPostProcessors
public void setPostProcessors(AbstractWekaEvaluationPostProcessor[] value)
Sets the post-processors to use.- Parameters:
value
- the post-processors
-
getPostProcessors
public AbstractWekaEvaluationPostProcessor[] getPostProcessors()
Returns the post-processors in use.- Returns:
- the post-processors
-
postProcessorsTipText
public String postProcessorsTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
doPostProcess
protected List<weka.classifiers.Evaluation> doPostProcess(weka.classifiers.Evaluation eval)
Post-processes the Evaluation.- Specified by:
doPostProcess
in classAbstractWekaEvaluationPostProcessor
- Parameters:
eval
- the Evaluation to post-process- Returns:
- the generated evaluations
-
-