public class SeqDrift1ChangeDetector extends AbstractChangeDetector
Modifier and Type | Class and Description |
---|---|
class |
SeqDrift1ChangeDetector.SeqDrift1
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.
|
Modifier and Type | Field and Description |
---|---|
IntOption |
blockSeqDriftOption |
FloatOption |
deltaOption |
FloatOption |
deltaWarningOption |
protected SeqDrift1ChangeDetector.SeqDrift1 |
seqDrift1 |
delay, estimation, isChangeDetected, isInitialized, isWarningZone
config
Constructor and Description |
---|
SeqDrift1ChangeDetector() |
Modifier and Type | Method and Description |
---|---|
void |
getDescription(StringBuilder sb,
int indent)
Returns a string representation of the model.
|
void |
input(double inputValue)
Adding a numeric value to the change detector
The output of the change detector is modified after the insertion of a new item inside. |
protected void |
prepareForUseImpl(TaskMonitor monitor,
ObjectRepository repository)
This method describes the implementation of how to prepare this object for use.
|
void |
resetLearning()
Resets this change detector.
|
copy, getChange, getDelay, getEstimation, getOutput, getWarningZone
getCLICreationString, getOptions, getPreparedClassOption, getPurposeString, prepareClassOptions, prepareForUse, prepareForUse
copy, measureByteSize, measureByteSize, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCLICreationString, getOptions, getPurposeString, prepareForUse, prepareForUse
measureByteSize
protected SeqDrift1ChangeDetector.SeqDrift1 seqDrift1
public FloatOption deltaOption
public FloatOption deltaWarningOption
public IntOption blockSeqDriftOption
public void input(double inputValue)
AbstractChangeDetector
input
in interface ChangeDetector
input
in class AbstractChangeDetector
inputValue
- the number to insert into the change detectorpublic void resetLearning()
AbstractChangeDetector
resetLearning
in interface ChangeDetector
resetLearning
in class AbstractChangeDetector
public void getDescription(StringBuilder sb, int indent)
AbstractChangeDetector
getDescription
in interface ChangeDetector
getDescription
in interface MOAObject
getDescription
in class AbstractChangeDetector
sb
- the stringbuilder to add the descriptionindent
- the number of characters to indentprotected void prepareForUseImpl(TaskMonitor monitor, ObjectRepository repository)
AbstractOptionHandler
prepareForUseImpl
and not prepareForUse
since
prepareForUse
calls prepareForUseImpl
.prepareForUseImpl
in class AbstractOptionHandler
monitor
- the TaskMonitor to userepository
- the ObjectRepository to useCopyright © 2019 University of Waikato, Hamilton, NZ. All Rights Reserved.