Configurable
, java.io.Serializable
, ChangeDetector
, MOAObject
, OptionHandler
public class SeqDrift2ChangeDetector extends AbstractChangeDetector
Modifier and Type | Class | Description |
---|---|---|
class |
SeqDrift2ChangeDetector.Block |
|
class |
SeqDrift2ChangeDetector.Repository |
|
class |
SeqDrift2ChangeDetector.Reservoir |
|
class |
SeqDrift2ChangeDetector.SeqDrift2 |
SeqDrift2 uses reservoir sampling 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 | Description |
---|---|---|
IntOption |
blockSeqDrift2Option |
|
FloatOption |
deltaSeqDrift2Option |
|
protected SeqDrift2ChangeDetector.SeqDrift2 |
seqdrift |
delay, estimation, isChangeDetected, isInitialized, isWarningZone
config
Constructor | Description |
---|---|
SeqDrift2ChangeDetector() |
Modifier and Type | Method | Description |
---|---|---|
void |
getDescription(java.lang.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
copy, measureByteSize, measureByteSize, toString
getCLICreationString, getOptions, getPreparedClassOption, getPurposeString, prepareClassOptions, prepareForUse, prepareForUse
measureByteSize
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCLICreationString, getOptions, getPurposeString, prepareForUse, prepareForUse
protected SeqDrift2ChangeDetector.SeqDrift2 seqdrift
public FloatOption deltaSeqDrift2Option
public IntOption blockSeqDrift2Option
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(java.lang.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.