MOA 12.03
Real Time Analytics for Data Streams
moa.streams.generators.RandomRBFGeneratorDrift Class Reference

Stream generator for a random radial basis function stream with drift. More...

Inheritance diagram for moa.streams.generators.RandomRBFGeneratorDrift:
Collaboration diagram for moa.streams.generators.RandomRBFGeneratorDrift:

List of all members.

Public Member Functions

String getPurposeString ()
 Gets the purpose of this object.
Instance nextInstance ()
 Gets the next instance from this stream.
void getDescription (StringBuilder sb, int indent)
 Returns a string representation of this object.

Public Attributes

FloatOption speedChangeOption
IntOption numDriftCentroidsOption

Protected Member Functions

void generateCentroids ()

Protected Attributes

double[][] speedCentroids

Detailed Description

Stream generator for a random radial basis function stream with drift.

Author:
Albert Bifet (abifet at cs dot waikato dot ac dot nz)
Version:
Revision:
7

Definition at line 34 of file RandomRBFGeneratorDrift.java.


Member Function Documentation

void moa.streams.generators.RandomRBFGeneratorDrift.generateCentroids ( ) [protected]

Reimplemented from moa.streams.generators.RandomRBFGenerator.

Definition at line 75 of file RandomRBFGeneratorDrift.java.

Here is the call graph for this function:

void moa.streams.generators.RandomRBFGeneratorDrift.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

Reimplemented from moa.streams.generators.RandomRBFGenerator.

Definition at line 99 of file RandomRBFGeneratorDrift.java.

String moa.streams.generators.RandomRBFGeneratorDrift.getPurposeString ( )

Gets the purpose of this object.

Returns:
the string with the purpose of this object

Reimplemented from moa.streams.generators.RandomRBFGenerator.

Definition at line 37 of file RandomRBFGeneratorDrift.java.

Instance moa.streams.generators.RandomRBFGeneratorDrift.nextInstance ( )

Gets the next instance from this stream.

Returns:
the next instance of this stream

Reimplemented from moa.streams.generators.RandomRBFGenerator.

Definition at line 52 of file RandomRBFGeneratorDrift.java.

Here is the call graph for this function:


Member Data Documentation

Initial value:
 new IntOption("numDriftCentroids", 'k',
            "The number of centroids with drift.", 50, 0, Integer.MAX_VALUE)

Definition at line 46 of file RandomRBFGeneratorDrift.java.

Referenced by moa.streams.generators.RandomRBFGeneratorDrift.generateCentroids(), and moa.streams.generators.RandomRBFGeneratorDrift.nextInstance().

Initial value:
 new FloatOption("speedChange", 's',
            "Speed of change of centroids in the model.", 0, 0, Float.MAX_VALUE)

Definition at line 43 of file RandomRBFGeneratorDrift.java.

Referenced by moa.streams.generators.RandomRBFGeneratorDrift.nextInstance().


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