adams.flow.transformer.wekaclusterer
Class AbstractClusterMembershipPostProcessor
java.lang.Object
adams.core.ConsoleObject
adams.core.option.AbstractOptionHandler
adams.flow.transformer.wekaclusterer.AbstractClustererPostProcessor
adams.flow.transformer.wekaclusterer.AbstractClusterMembershipPostProcessor
- All Implemented Interfaces:
- AdditionalInformationHandler, Debuggable, Destroyable, OptionHandler, SizeOfHandler, Serializable
- Direct Known Subclasses:
- ClusterCenters
public abstract class AbstractClusterMembershipPostProcessor
- extends AbstractClustererPostProcessor
Ancestor for post-processors that require a built clusterer and the dataset
that was used to build the clusterer to be present in the model container.
- Version:
- $Revision: 4995 $
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
| Methods inherited from class adams.core.option.AbstractOptionHandler |
cleanUpOptions, debug, debug, debugLevelTipText, defineOptions, destroy, finishInit, getDebugLevel, getOptionManager, globalInfo, initialize, isDebugOn, newOptionManager, reset, setDebugLevel, toCommandLine, toString |
VALUE_CLUSTERED_DATASET
public static final String VALUE_CLUSTERED_DATASET
- the clustered full dataset.
- See Also:
- Constant Field Values
AbstractClusterMembershipPostProcessor
public AbstractClusterMembershipPostProcessor()
getContainerKeys
protected String[] getContainerKeys()
- Returns the keys that the processor adds/modifies.
- Specified by:
getContainerKeys in class AbstractClustererPostProcessor
- Returns:
- the keys, null of zero-length array for none
check
protected void check(WekaModelContainer cont)
- Checks the model container.
Checks for Clusterer and Instances.
- Overrides:
check in class AbstractClustererPostProcessor
- Parameters:
cont - the container to check- See Also:
WekaModelContainer.VALUE_MODEL,
WekaModelContainer.VALUE_DATASET
processDatasetWithClusterer
protected abstract weka.core.Instances processDatasetWithClusterer(weka.core.Instances data,
weka.clusterers.Clusterer clusterer)
- Performs some form of processing on the full dataset.
doPostProcess
protected WekaModelContainer doPostProcess(WekaModelContainer cont)
- Performs the actual post-processing. Adds a new dataset to the container,
using the key VALUE_CLUSTERED_DATASET
- Specified by:
doPostProcess in class AbstractClustererPostProcessor
- Parameters:
cont - the container to post-process
- Returns:
- the post-processed container
- See Also:
VALUE_CLUSTERED_DATASET
Copyright © 2012 University of Waikato, Hamilton, NZ. All Rights Reserved.