Class AbstractWekaRepeatedCrossValidationOutput<T>
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.flow.transformer.wekarepeatedcrossvalidationoutput.AbstractWekaRepeatedCrossValidationOutput<T>
-
- Type Parameters:
T
- the output that is being generated
- 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
- Direct Known Subclasses:
Predictions
,SamplePlot
,Statistics
public abstract class AbstractWekaRepeatedCrossValidationOutput<T> extends adams.core.option.AbstractOptionHandler implements adams.core.QuickInfoSupporter
Ancestor for classes that generate output from repeated cross-validations.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractWekaRepeatedCrossValidationOutput()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract T
doGenerateOutput(WekaEvaluationContainer[] conts)
Generates the data.T
generateOutput(WekaEvaluationContainer[] conts)
Generates the data.abstract Class
generates()
Returns the class that it generates.String
getQuickInfo()
Returns a quick info about the object, which can be displayed in the GUI.abstract String
handles(WekaEvaluationContainer[] conts)
Checks whether the cross-validation results can be processed.-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, defineOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, globalInfo, initialize, loggingLevelTipText, newOptionManager, reset, setLoggingLevel, toCommandLine, toString
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
-
-
-
Method Detail
-
generates
public abstract Class generates()
Returns the class that it generates.- Returns:
- the class
-
getQuickInfo
public String getQuickInfo()
Returns a quick info about the object, which can be displayed in the GUI.
The default implementation returns null.- Specified by:
getQuickInfo
in interfaceadams.core.QuickInfoSupporter
- Returns:
- null if no info available, otherwise short string
-
handles
public abstract String handles(WekaEvaluationContainer[] conts)
Checks whether the cross-validation results can be processed.- Parameters:
conts
- the containers to check- Returns:
- null if the data can be processed, otherwise an error message
-
doGenerateOutput
protected abstract T doGenerateOutput(WekaEvaluationContainer[] conts)
Generates the data.- Parameters:
conts
- the containers to process- Returns:
- the generated data
-
generateOutput
public T generateOutput(WekaEvaluationContainer[] conts)
Generates the data.- Parameters:
conts
- the containers to process- Returns:
- the generated data
-
-