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

Class for storing an evaluation measurement. More...

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

List of all members.

Public Member Functions

 Measurement (String name, double value)
String getName ()
double getValue ()
void getDescription (StringBuilder sb, int indent)
 Returns a string representation of this object.

Static Public Member Functions

static Measurement getMeasurementNamed (String name, Measurement[] measurements)
static void getMeasurementsDescription (Measurement[] measurements, StringBuilder out, int indent)
static Measurement[] averageMeasurements (Measurement[][] toAverage)

Protected Attributes

String name
double value

Detailed Description

Class for storing an evaluation measurement.

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

Definition at line 33 of file Measurement.java.


Constructor & Destructor Documentation

moa.core.Measurement.Measurement ( String  name,
double  value 
)

Definition at line 41 of file Measurement.java.

Referenced by moa.core.Measurement.averageMeasurements().

Here is the caller graph for this function:


Member Function Documentation

static Measurement [] moa.core.Measurement.averageMeasurements ( Measurement  toAverage[][]) [static]

Definition at line 75 of file Measurement.java.

Referenced by moa.clusterers.AbstractClusterer.getModelMeasurements(), and moa.classifiers.AbstractClassifier.getModelMeasurements().

Here is the call graph for this function:

Here is the caller graph for this function:

void moa.core.Measurement.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 109 of file Measurement.java.

Here is the call graph for this function:

static Measurement moa.core.Measurement.getMeasurementNamed ( String  name,
Measurement[]  measurements 
) [static]

Definition at line 54 of file Measurement.java.

Referenced by moa.evaluation.LearningCurve.insertEntry().

Here is the caller graph for this function:

String moa.core.Measurement.getName ( )

Definition at line 46 of file Measurement.java.

Referenced by moa.core.Measurement.getDescription().

Here is the caller graph for this function:

double moa.core.Measurement.getValue ( )

Definition at line 50 of file Measurement.java.

Referenced by moa.core.Measurement.getDescription(), and moa.evaluation.LearningCurve.insertEntry().

Here is the caller graph for this function:


Member Data Documentation

String moa.core.Measurement.name [protected]
double moa.core.Measurement.value [protected]

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