Configurable
, java.io.Serializable
, ChangeDetector
, MOAObject
, OptionHandler
public class DDM extends AbstractChangeDetector
João Gama, Pedro Medas, Gladys Castillo, Pedro Pereira Rodrigues: Learning with Drift Detection. SBIA 2004: 286-295
Modifier and Type | Field | Description |
---|---|---|
IntOption |
minNumInstancesOption |
|
FloatOption |
outcontrolLevelOption |
|
FloatOption |
warningLevelOption |
delay, estimation, isChangeDetected, isInitialized, isWarningZone
config
Constructor | Description |
---|---|
DDM() |
Modifier and Type | Method | Description |
---|---|---|
void |
getDescription(java.lang.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
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
public IntOption minNumInstancesOption
public FloatOption warningLevelOption
public FloatOption outcontrolLevelOption
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(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.