Class ADWIN

  • All Implemented Interfaces:
    Serializable, MOAObject

    public class ADWIN
    extends AbstractMOAObject
    ADaptive sliding WINdow method. This method is a change detector and estimator. It keeps a variable-length window of recently seen items, with the property that the window has the maximal length statistically consistent with the hypothesis "there has been no change in the average value inside the window".
    Version:
    $Revision: 7 $
    Author:
    Albert Bifet (abifet at cs dot waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Constructor Detail

      • ADWIN

        public ADWIN()
      • ADWIN

        public ADWIN​(double d)
      • ADWIN

        public ADWIN​(int cl)
    • Method Detail

      • getChange

        public boolean getChange()
      • resetChange

        public void resetChange()
      • getBucketsUsed

        public int getBucketsUsed()
      • getWidth

        public int getWidth()
      • setClock

        public void setClock​(int intClock)
      • getClock

        public int getClock()
      • getWarning

        public boolean getWarning()
      • getDetect

        public boolean getDetect()
      • getNumberDetections

        public int getNumberDetections()
      • getTotal

        public double getTotal()
      • getEstimation

        public double getEstimation()
      • getVariance

        public double getVariance()
      • getWidthT

        public double getWidthT()
      • deleteElement

        public int deleteElement()
      • compressBuckets

        public void compressBuckets()
      • setInput

        public boolean setInput​(double intEntrada)
      • setInput

        public boolean setInput​(double intEntrada,
                                double delta)
      • getEstimatorInfo

        public String getEstimatorInfo()
      • setW

        public void setW​(int W0)
      • getDescription

        public void getDescription​(StringBuilder sb,
                                   int indent)
        Description copied from interface: MOAObject
        Returns a string representation of this object. Used in AbstractMOAObject.toString to give a string representation of the object.
        Parameters:
        sb - the stringbuilder to add the description
        indent - the number of characters to indent