Configurable
, java.io.Serializable
, ChangeDetector
, MOAObject
, OptionHandler
public class ADWINChangeDetector extends AbstractChangeDetector
Modifier and Type | Field | Description |
---|---|---|
protected ADWIN |
adwin |
|
FloatOption |
deltaAdwinOption |
delay, estimation, isChangeDetected, isInitialized, isWarningZone
config
Constructor | Description |
---|---|
ADWINChangeDetector() |
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 ADWIN adwin
public FloatOption deltaAdwinOption
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 © 2020 University of Waikato, Hamilton, NZ. All Rights Reserved.