Class SeqDrift1ChangeDetector.SeqDrift1
- java.lang.Object
-
- moa.AbstractMOAObject
-
- moa.classifiers.core.driftdetection.SeqDrift1ChangeDetector.SeqDrift1
-
- All Implemented Interfaces:
Serializable
,MOAObject
- Enclosing class:
- SeqDrift1ChangeDetector
public class SeqDrift1ChangeDetector.SeqDrift1 extends AbstractMOAObject
SeqDrift1 uses sliding window to build a sequential change detection model that uses statistically sound guarantees defined using Bernstein Bound on false positive and false negative rates. This is a block based approach and checks for changes in the data values only at block boundaries as opposed to the methods on per instance basis. SeqDrift1 maintains a sliding window and repository. Repository gathers the new instances and sliding window stores only the data values that are statistically not different, in other words from the same distribution. If the data values in the repository are consistent with the values in sliding window the data values of the repository are copied to the sliding window applying reservoir algorithm. The hypothesis is that the mean values of the sliding window and right repository are not statistically different. In addition, SeqDrift1 declares a warning state depending on warning significance level and increases sample size to get a statistically more rigorous mean value Sakthithasan, S., Pears, R., & Koh, Y. (2013). One Pass Concept Change Detection for Data Streams. In J. Pei, V. Tseng, L. Cao, H. Motoda, & G. Xu (Eds.), Advances in Knowledge Discovery and Data Mining (Vol. 7819, pp. 461-472): Springer Berlin Heidelberg.- Author:
- Sakthithasan Sripirakas sripirakas363 at yahoo dot com
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
DRIFT
static int
HOMOGENEOUS
static int
INTERNAL_DRIFT
static int
WARNING
-
Constructor Summary
Constructors Constructor Description SeqDrift1(double _significanceLevel, int _blockSize, double _significanceWarningLevel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
getDescription(StringBuilder sb, int indent)
Returns a string representation of this object.double
getEstimation()
int
getWidth()
boolean
setInput(double _inputValue)
-
Methods inherited from class moa.AbstractMOAObject
copy, copy, measureByteSize, measureByteSize, toString
-
-
-
-
Field Detail
-
DRIFT
public static final int DRIFT
- See Also:
- Constant Field Values
-
WARNING
public static final int WARNING
- See Also:
- Constant Field Values
-
HOMOGENEOUS
public static final int HOMOGENEOUS
- See Also:
- Constant Field Values
-
INTERNAL_DRIFT
public static final int INTERNAL_DRIFT
- See Also:
- Constant Field Values
-
-
Method Detail
-
setInput
public boolean setInput(double _inputValue)
-
getWidth
public int getWidth()
-
getEstimation
public double getEstimation()
-
getDescription
public void getDescription(StringBuilder sb, int indent)
Description copied from interface:MOAObject
Returns a string representation of this object. Used inAbstractMOAObject.toString
to give a string representation of the object.- Parameters:
sb
- the stringbuilder to add the descriptionindent
- the number of characters to indent
-
-