MOA 12.03
Real Time Analytics for Data Streams
moa.classifiers.core.driftdetection.DDM Class Reference

Drift detection method based in DDM method of Joao Gama SBIA 2004. More...

Inheritance diagram for moa.classifiers.core.driftdetection.DDM:
Collaboration diagram for moa.classifiers.core.driftdetection.DDM:

List of all members.

Public Member Functions

 DDM ()
int computeNextVal (boolean prediction)
void getDescription (StringBuilder sb, int indent)
 Returns a string representation of this object.
DriftDetectionMethod copy ()
 Produces a copy of this drift detection method.

Public Attributes

IntOption minNumInstancesOption

Protected Member Functions

void prepareForUseImpl (TaskMonitor monitor, ObjectRepository repository)
 This method describes the implementation of how to prepare this object for use.

Detailed Description

Drift detection method based in DDM method of Joao Gama SBIA 2004.

João Gama, Pedro Medas, Gladys Castillo, Pedro Pereira Rodrigues: Learning with Drift Detection. SBIA 2004: 286-295

Author:
Manuel Baena ([email protected])
Version:
Revision:
7

Definition at line 36 of file DDM.java.


Constructor & Destructor Documentation

moa.classifiers.core.driftdetection.DDM.DDM ( )

Definition at line 58 of file DDM.java.


Member Function Documentation

int moa.classifiers.core.driftdetection.DDM.computeNextVal ( boolean  prediction)

Implements moa.classifiers.core.driftdetection.DriftDetectionMethod.

Definition at line 72 of file DDM.java.

Here is the call graph for this function:

DriftDetectionMethod moa.classifiers.core.driftdetection.DDM.copy ( )

Produces a copy of this drift detection method.

Returns:
the copy of this drift detection method

Implements moa.classifiers.core.driftdetection.DriftDetectionMethod.

Definition at line 121 of file DDM.java.

Here is the call graph for this function:

void moa.classifiers.core.driftdetection.DDM.getDescription ( StringBuilder  sb,
int  indent 
)

Returns a string representation of this object.

Used in AbstractMOAObject.toString to give a string representation of the object.

Parameters:
sbthe stringbuilder to add the description
indentthe number of characters to indent

Implements moa.classifiers.core.driftdetection.DriftDetectionMethod.

Definition at line 110 of file DDM.java.

void moa.classifiers.core.driftdetection.DDM.prepareForUseImpl ( TaskMonitor  monitor,
ObjectRepository  repository 
) [protected, virtual]

This method describes the implementation of how to prepare this object for use.

All classes that extends this class have to implement prepareForUseImpl and not prepareForUse since prepareForUse calls prepareForUseImpl.

Parameters:
monitorthe TaskMonitor to use
repositorythe ObjectRepository to use

Implements moa.options.AbstractOptionHandler.

Definition at line 115 of file DDM.java.


Member Data Documentation

Initial value:
 new IntOption(
            "minNumInstances",
            'n',
            "The minium number of instances before permitting detecting change.",
            30, 0, Integer.MAX_VALUE)

Definition at line 40 of file DDM.java.

Referenced by moa.classifiers.core.driftdetection.DDM.computeNextVal().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations