MOA 12.03
Real Time Analytics for Data Streams
moa.core.GreenwaldKhannaQuantileSummary Class Reference

Class for representing summaries of Greenwald and Khanna quantiles. More...

Inheritance diagram for moa.core.GreenwaldKhannaQuantileSummary:
Collaboration diagram for moa.core.GreenwaldKhannaQuantileSummary:

List of all members.

Classes

class  Tuple

Public Member Functions

 GreenwaldKhannaQuantileSummary (int maxTuples)
void insert (double val)
long getWorstError ()
long findMaxDelta ()
void compress (long maxDelta)
double getQuantile (double quant)
long getTotalCount ()
double getPropotionBelow (double cutpoint)
long getCountBelow (double cutpoint)
double[] getSuggestedCutpoints ()
void getDescription (StringBuilder sb, int indent)
 Returns a string representation of this object.

Static Public Member Functions

static long[] computeBandBoundaries (long maxDelta)

Protected Member Functions

void insertTuple (Tuple t, int index)
void deleteTuple (int index)
void deleteTupleMostFull ()
void deleteMergeableTupleMostFull ()
int findIndexOfTupleGreaterThan (double val)

Protected Attributes

Tuple[] summary
int numTuples = 0
long numObservations = 0

Detailed Description

Class for representing summaries of Greenwald and Khanna quantiles.

Author:
Richard Kirkby (rkirkby@cs.waikato.ac.nz)
Version:
Revision:
7

Definition at line 33 of file GreenwaldKhannaQuantileSummary.java.


Constructor & Destructor Documentation

moa.core.GreenwaldKhannaQuantileSummary.GreenwaldKhannaQuantileSummary ( int  maxTuples)

Definition at line 64 of file GreenwaldKhannaQuantileSummary.java.


Member Function Documentation

void moa.core.GreenwaldKhannaQuantileSummary.compress ( long  maxDelta)

Definition at line 166 of file GreenwaldKhannaQuantileSummary.java.

Here is the call graph for this function:

static long [] moa.core.GreenwaldKhannaQuantileSummary.computeBandBoundaries ( long  maxDelta) [static]

Definition at line 256 of file GreenwaldKhannaQuantileSummary.java.

Referenced by moa.core.GreenwaldKhannaQuantileSummary.compress().

Here is the caller graph for this function:

void moa.core.GreenwaldKhannaQuantileSummary.deleteMergeableTupleMostFull ( ) [protected]

Definition at line 128 of file GreenwaldKhannaQuantileSummary.java.

Referenced by moa.core.GreenwaldKhannaQuantileSummary.insert().

Here is the call graph for this function:

Here is the caller graph for this function:

void moa.core.GreenwaldKhannaQuantileSummary.deleteTuple ( int  index) [protected]
void moa.core.GreenwaldKhannaQuantileSummary.deleteTupleMostFull ( ) [protected]

Definition at line 112 of file GreenwaldKhannaQuantileSummary.java.

Here is the call graph for this function:

int moa.core.GreenwaldKhannaQuantileSummary.findIndexOfTupleGreaterThan ( double  val) [protected]

Definition at line 243 of file GreenwaldKhannaQuantileSummary.java.

Referenced by moa.core.GreenwaldKhannaQuantileSummary.insert().

Here is the caller graph for this function:

long moa.core.GreenwaldKhannaQuantileSummary.findMaxDelta ( )

Definition at line 156 of file GreenwaldKhannaQuantileSummary.java.

long moa.core.GreenwaldKhannaQuantileSummary.getCountBelow ( double  cutpoint)
void moa.core.GreenwaldKhannaQuantileSummary.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.MOAObject.

Definition at line 277 of file GreenwaldKhannaQuantileSummary.java.

double moa.core.GreenwaldKhannaQuantileSummary.getPropotionBelow ( double  cutpoint)

Definition at line 220 of file GreenwaldKhannaQuantileSummary.java.

Here is the call graph for this function:

double moa.core.GreenwaldKhannaQuantileSummary.getQuantile ( double  quant)

Definition at line 204 of file GreenwaldKhannaQuantileSummary.java.

double [] moa.core.GreenwaldKhannaQuantileSummary.getSuggestedCutpoints ( )

Definition at line 235 of file GreenwaldKhannaQuantileSummary.java.

long moa.core.GreenwaldKhannaQuantileSummary.getTotalCount ( )
long moa.core.GreenwaldKhannaQuantileSummary.getWorstError ( )

Definition at line 145 of file GreenwaldKhannaQuantileSummary.java.

void moa.core.GreenwaldKhannaQuantileSummary.insert ( double  val)

Definition at line 68 of file GreenwaldKhannaQuantileSummary.java.

Referenced by moa.classifiers.core.attributeclassobservers.GreenwaldKhannaNumericAttributeClassObserver.observeAttributeClass().

Here is the call graph for this function:

Here is the caller graph for this function:

void moa.core.GreenwaldKhannaQuantileSummary.insertTuple ( Tuple  t,
int  index 
) [protected]

Definition at line 95 of file GreenwaldKhannaQuantileSummary.java.

Referenced by moa.core.GreenwaldKhannaQuantileSummary.insert().

Here is the caller graph for this function:


Member Data Documentation


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