Class ParafacLossHistory
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.flow.transformer.threewaydatatrain.AbstractThreeWayDataTrainPostProcessor
-
- adams.flow.transformer.threewaydatatrain.ParafacLossHistory
-
- All Implemented Interfaces:
adams.core.Destroyable,adams.core.GlobalInfoSupporter,adams.core.logging.LoggingLevelHandler,adams.core.logging.LoggingSupporter,adams.core.option.OptionHandler,adams.core.SizeOfHandler,Serializable
public class ParafacLossHistory extends AbstractThreeWayDataTrainPostProcessor
Turns the PARAFAC loss history into a spreadsheet.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringKEY_LOSSHISTORYthe name in the container for the loss history.
-
Constructor Summary
Constructors Constructor Description ParafacLossHistory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanHandle(nz.ac.waikato.cms.adams.multiway.algorithm.api.AbstractAlgorithm algorithm)Returns whether the algorithm can be handle.protected StringdoPostProcess(ThreeWayDataModelContainer cont)Post-processes the container.StringglobalInfo()Returns a string describing the object.-
Methods inherited from class adams.flow.transformer.threewaydatatrain.AbstractThreeWayDataTrainPostProcessor
check, postProcess
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, defineOptions, 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
-
KEY_LOSSHISTORY
public static final String KEY_LOSSHISTORY
the name in the container for the loss history.- See Also:
- Constant Field Values
-
-
Method Detail
-
globalInfo
public String globalInfo()
Returns a string describing the object.- Specified by:
globalInfoin interfaceadams.core.GlobalInfoSupporter- Specified by:
globalInfoin classadams.core.option.AbstractOptionHandler- Returns:
- a description suitable for displaying in the gui
-
canHandle
public boolean canHandle(nz.ac.waikato.cms.adams.multiway.algorithm.api.AbstractAlgorithm algorithm)
Returns whether the algorithm can be handle.- Specified by:
canHandlein classAbstractThreeWayDataTrainPostProcessor- Parameters:
algorithm- the algorithm to check- Returns:
- true if handled
-
doPostProcess
protected String doPostProcess(ThreeWayDataModelContainer cont)
Post-processes the container.- Specified by:
doPostProcessin classAbstractThreeWayDataTrainPostProcessor- Parameters:
cont- the container to post-process- Returns:
- null if successful, otherwise error message
-
-