public class EWMAChartDM extends AbstractChangeDetector
Modifier and Type | Field and Description |
---|---|
FloatOption |
lambdaOption |
IntOption |
minNumInstancesOption |
delay, estimation, isChangeDetected, isInitialized, isWarningZone
classOptionNamesToPreparedObjects, options
Constructor and Description |
---|
EWMAChartDM() |
Modifier and Type | Method and Description |
---|---|
void |
getDescription(StringBuilder sb,
int indent)
Returns a string representation of the model.
|
void |
input(double prediction)
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
discoverOptionsViaReflection, getCLICreationString, getOptions, getPreparedClassOption, 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
public IntOption minNumInstancesOption
public FloatOption lambdaOption
public void resetLearning()
AbstractChangeDetector
resetLearning
in interface ChangeDetector
resetLearning
in class AbstractChangeDetector
public void input(double prediction)
AbstractChangeDetector
input
in interface ChangeDetector
input
in class AbstractChangeDetector
prediction
- the number to insert into the change detectorpublic 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 © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.