Class WekaClustering

  • All Implemented Interfaces:
    AdditionalInformationHandler, CleanUpHandler, Destroyable, GlobalInfoSupporter, ModelFileHandler, LoggingLevelHandler, LoggingSupporter, OptionHandler, QuickInfoSupporter, ShallowCopySupporter<Actor>, SizeOfHandler, Stoppable, StoppableWithFeedback, VariablesInspectionHandler, VariableChangeListener, Actor, DynamicInitializer, DynamicModelLoaderSupporter, ErrorHandler, InputConsumer, ModelLoaderSupporter, OutputProducer, Serializable, Comparable

    public class WekaClustering
    extends AbstractProcessWekaInstanceWithModel<weka.clusterers.Clusterer>
    Uses a serialized model to cluster data being passed through.
    The following order is used to obtain the model (when using AUTO):
    1. model file present?
    2. source actor present?
    3. storage item present?

    Input/output:
    - accepts:
       weka.core.Instance
    - generates:
       adams.flow.container.WekaClusteringContainer


    Container information:
    - adams.flow.container.WekaClusteringContainer: Instance, Cluster, Distribution, LogDensity, LogDensityPerCluster, LogJointDensities

    -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel)
        The logging level for outputting errors and debugging output.
        default: WARNING
     
    -name <java.lang.String> (property: name)
        The name of the actor.
        default: WekaClustering
     
    -annotation <adams.core.base.BaseAnnotation> (property: annotations)
        The annotations to attach to this actor.
        default:
     
    -skip <boolean> (property: skip)
        If set to true, transformation is skipped and the input token is just forwarded
        as it is.
        default: false
     
    -stop-flow-on-error <boolean> (property: stopFlowOnError)
        If set to true, the flow execution at this level gets stopped in case this
        actor encounters an error; the error gets propagated; useful for critical
        actors.
        default: false
     
    -silent <boolean> (property: silent)
        If enabled, then no errors are output in the console; Note: the enclosing
        actor handler must have this enabled as well.
        default: false
     
    -model-loading-type <AUTO|FILE|SOURCE_ACTOR|STORAGE> (property: modelLoadingType)
        Determines how to load the model, in case of AUTO, first the model file
        is checked, then the callable actor and then the storage.
        default: AUTO
     
    -model <adams.core.io.PlaceholderFile> (property: modelFile)
        The file to load the model from, ignored if pointing to a directory.
        default: ${CWD}
     
    -model-actor <adams.flow.core.CallableActorReference> (property: modelActor)
        The callable actor (source) to obtain the model from, ignored if not present.
        default:
     
    -model-storage <adams.flow.control.StorageName> (property: modelStorage)
        The storage item to obtain the model from, ignored if not present.
        default: storage
     
    -on-the-fly <boolean> (property: onTheFly)
        If set to true, the model file is not required to be present at set up time
        (eg if built on the fly), only at execution time.
        default: false
     
    -use-model-reset-variable <boolean> (property: useModelResetVariable)
        If enabled, chnages to the specified variable are monitored in order to
        reset the model, eg when a storage model changed.
        default: false
     
    -model-reset-variable <adams.core.VariableName> (property: modelResetVariable)
        The variable to monitor for changes in order to reset the model, eg when
        a storage model changed.
        default: variable
     
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form