Class ADACC

    • Field Detail

      • tauSizeOption

        public IntOption tauSizeOption
        Evaluation window for the stability index computation
      • stabIndexSizeOption

        public FloatOption stabIndexSizeOption
        Threshold for the stability index
      • equivIndexSizeOption

        public FloatOption equivIndexSizeOption
        Threshold for concept equivalence
      • tau_size

        protected int tau_size
        Size of the evaluation window to compute the stability index
      • recentChunk

        protected Instances recentChunk
        Last chunk of data of size (tau_size) to compute the stability index
      • theta_stab

        protected double theta_stab
        Threshold values for the stability index and concept equivalence
      • theta_diff

        protected double theta_diff
        Threshold values for the stability index and concept equivalence
      • index

        protected double index
        Current stability index
      • MAXPERMANENT

        protected static final int MAXPERMANENT
        Maximum number of snapshots (copies of classifiers kept in case of recurrence)
        See Also:
        Constant Field Values
      • addedPermanent

        protected int addedPermanent
        Number of added snapshots
    • Constructor Detail

      • ADACC

        public ADACC()
    • Method Detail

      • initVariables

        protected void initVariables()
        Description copied from class: DACC
        Initializes the method variables
        Overrides:
        initVariables in class DACC
      • trainOnInstanceImpl

        public void trainOnInstanceImpl​(Instance inst)
        Description copied from class: AbstractClassifier
        Trains this classifier incrementally using the given instance.

        The reason for ...Impl methods: ease programmer burden by not requiring them to remember calls to super in overridden methods. Note that this will produce compiler errors if not overridden.
        Overrides:
        trainOnInstanceImpl in class DACC
        Parameters:
        inst - the instance to be used for training
      • getModelDescription

        public void getModelDescription​(StringBuilder out,
                                        int indent)
        Description copied from class: AbstractClassifier
        Returns a string representation of the model.
        Overrides:
        getModelDescription in class DACC
        Parameters:
        out - the stringbuilder to add the description
        indent - the number of characters to indent
      • getModelMeasurementsImpl

        protected Measurement[] getModelMeasurementsImpl()
        Description copied from class: AbstractClassifier
        Gets the current measurements of this classifier.

        The reason for ...Impl methods: ease programmer burden by not requiring them to remember calls to super in overridden methods. Note that this will produce compiler errors if not overridden.
        Overrides:
        getModelMeasurementsImpl in class DACC
        Returns:
        an array of measurements to be used in evaluation tasks
      • getNbActiveClassifiers

        protected int getNbActiveClassifiers()
        Description copied from class: DACC
        Returns the number of classifiers used for prediction which includes the adaptive learners and the snapshots in ADACC
        Overrides:
        getNbActiveClassifiers in class DACC
        Returns:
        the number of classifiers used for prediction
      • getNbAdaptiveClassifiers

        protected int getNbAdaptiveClassifiers()
        Description copied from class: DACC
        Returns the number of adaptive classifiers in the ensemble which excludes the static snapshots in ADACC
        Overrides:
        getNbAdaptiveClassifiers in class DACC
        Returns:
        the number of adaptive classifiers