Class WekaCrossValidationClustererEvaluator

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

    public class WekaCrossValidationClustererEvaluator
    extends AbstractCallableWekaClustererEvaluator
    implements Randomizable
    Cross-validates a clusterer on an incoming dataset. The clusterer setup being used in the evaluation is a callable 'Clusterer' actor.

    Input/output:
    - accepts:
       weka.core.Instances
    - generates:
       adams.flow.container.WekaClusterEvaluationContainer


    Container information:
    - adams.flow.container.WekaClusterEvaluationContainer: Evaluation, Model, Log-likelohood

    -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: WekaCrossValidationClustererEvaluator
     
    -annotation <adams.core.base.BaseText> (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 gets stopped in case this actor encounters an error;
         useful for critical actors.
        default: false
     
    -clusterer <adams.flow.core.CallableActorReference> (property: clusterer)
        The callable clusterer actor to cross-validate on the input data.
        default: WekaClustererSetup
     
    -seed <long> (property: seed)
        The seed value for the cross-validation (used for randomization).
        default: 1
     
    -folds <int> (property: folds)
        The number of folds to use in the cross-validation; use -1 for leave-one-out 
        cross-validation (LOOCV).
        default: 10
        minimum: -1
     
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Detail

      • m_Folds

        protected int m_Folds
        the number of folds.
      • m_Seed

        protected long m_Seed
        the seed value.
    • Constructor Detail

      • WekaCrossValidationClustererEvaluator

        public WekaCrossValidationClustererEvaluator()