Package moa.evaluation
Class LearningEvaluation
- java.lang.Object
-
- moa.AbstractMOAObject
-
- moa.evaluation.LearningEvaluation
-
- All Implemented Interfaces:
Serializable
,MOAObject
public class LearningEvaluation extends AbstractMOAObject
Class that stores an array of evaluation measurements.- Version:
- $Revision: 7 $
- Author:
- Richard Kirkby (rkirkby@cs.waikato.ac.nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Measurement[]
measurements
-
Constructor Summary
Constructors Constructor Description LearningEvaluation(Measurement[] measurements)
LearningEvaluation(Measurement[] evaluationMeasurements, LearningPerformanceEvaluator cpe, Learner model)
LearningEvaluation(LearningPerformanceEvaluator cpe, Learner model)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
getDescription(StringBuilder sb, int indent)
Returns a string representation of this object.Measurement[]
getMeasurements()
-
Methods inherited from class moa.AbstractMOAObject
copy, copy, measureByteSize, measureByteSize, toString
-
-
-
-
Field Detail
-
measurements
protected Measurement[] measurements
-
-
Constructor Detail
-
LearningEvaluation
public LearningEvaluation(Measurement[] measurements)
-
LearningEvaluation
public LearningEvaluation(Measurement[] evaluationMeasurements, LearningPerformanceEvaluator cpe, Learner model)
-
LearningEvaluation
public LearningEvaluation(LearningPerformanceEvaluator cpe, Learner model)
-
-
Method Detail
-
getMeasurements
public Measurement[] getMeasurements()
-
getDescription
public void getDescription(StringBuilder sb, int indent)
Description copied from interface:MOAObject
Returns a string representation of this object. Used inAbstractMOAObject.toString
to give a string representation of the object.- Parameters:
sb
- the stringbuilder to add the descriptionindent
- the number of characters to indent
-
-