MOA 12.03
Real Time Analytics for Data Streams
moa.evaluation.LearningCurve Class Reference

Class that stores and keeps the history of evaluation measurements. More...

Inheritance diagram for moa.evaluation.LearningCurve:
Collaboration diagram for moa.evaluation.LearningCurve:

List of all members.

Public Member Functions

 LearningCurve (String orderingMeasurementName)
String getOrderingMeasurementName ()
void insertEntry (LearningEvaluation learningEvaluation)
int numEntries ()
String headerToString ()
String entryToString (int entryIndex)
void getDescription (StringBuilder sb, int indent)
 Returns a string representation of this object.
double getMeasurement (int entryIndex, int measurementIndex)
String getMeasurementName (int measurementIndex)

Protected Member Functions

int addMeasurementName (String name)

Protected Attributes

List< String > measurementNames = new ArrayList<String>()
List< double[]> measurementValues = new ArrayList<double[]>()

Detailed Description

Class that stores and keeps the history of evaluation measurements.

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

Definition at line 36 of file LearningCurve.java.


Constructor & Destructor Documentation

moa.evaluation.LearningCurve.LearningCurve ( String  orderingMeasurementName)

Definition at line 44 of file LearningCurve.java.


Member Function Documentation

int moa.evaluation.LearningCurve.addMeasurementName ( String  name) [protected]

Definition at line 77 of file LearningCurve.java.

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

Here is the caller graph for this function:

String moa.evaluation.LearningCurve.entryToString ( int  entryIndex)
void moa.evaluation.LearningCurve.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 117 of file LearningCurve.java.

Here is the call graph for this function:

double moa.evaluation.LearningCurve.getMeasurement ( int  entryIndex,
int  measurementIndex 
)

Definition at line 124 of file LearningCurve.java.

Referenced by moa.gui.LineGraphViewPanel.PlotLine.getShapeToPlot().

Here is the caller graph for this function:

String moa.evaluation.LearningCurve.getMeasurementName ( int  measurementIndex)

Definition at line 128 of file LearningCurve.java.

Referenced by moa.gui.LineGraphViewPanel.PlotTableModel.getValueAt().

Here is the caller graph for this function:

String moa.evaluation.LearningCurve.getOrderingMeasurementName ( )

Definition at line 48 of file LearningCurve.java.

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

Here is the caller graph for this function:

String moa.evaluation.LearningCurve.headerToString ( )
void moa.evaluation.LearningCurve.insertEntry ( LearningEvaluation  learningEvaluation)

Member Data Documentation


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