adams.data.featuregenerator
Class Mean
java.lang.Object
adams.core.ConsoleObject
adams.core.option.AbstractOptionHandler
adams.data.featuregenerator.AbstractFeatureGenerator
adams.data.featuregenerator.Mean
- All Implemented Interfaces:
- Debuggable, Destroyable, OptionHandler, ShallowCopySupporter<AbstractFeatureGenerator>, SizeOfHandler, Serializable, Comparable
public class Mean
- extends AbstractFeatureGenerator
Outputs the mean of the intensity values in the heatmap as feature.
Valid options are:
-D <int> (property: debugLevel)
The greater the number the more additional info the scheme may output to
the console (0 = off).
default: 0
minimum: 0
-prefix <java.lang.String> (property: prefix)
The prefix to use in the field for the generated features.
default: Feature
- Version:
- $Revision: 6027 $
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
|
Constructor Summary |
Mean()
|
| Methods inherited from class adams.data.featuregenerator.AbstractFeatureGenerator |
addFeature, addFeature, checkData, cleanUp, compareTo, defineOptions, equals, forCommandLine, forName, generate, getDefaultPrefix, getGenerators, getPrefix, prefixTipText, reset, setPrefix, shallowCopy, shallowCopy |
| Methods inherited from class adams.core.option.AbstractOptionHandler |
cleanUpOptions, debug, debug, debugLevelTipText, destroy, finishInit, getDebugLevel, getOptionManager, initialize, isDebugOn, newOptionManager, setDebugLevel, toCommandLine, toString |
Mean
public Mean()
globalInfo
public String globalInfo()
- Returns a string describing the object.
- Specified by:
globalInfo in class AbstractOptionHandler
- Returns:
- a description suitable for displaying in the gui
processData
protected Heatmap processData(Heatmap data)
- Performs the actual feature generation.
- Specified by:
processData in class AbstractFeatureGenerator
- Parameters:
data - the data to process
- Returns:
- the processed data
Copyright © 2013 University of Waikato, Hamilton, NZ. All Rights Reserved.