public class BasicMultiLabelPerformanceEvaluator extends AbstractMOAObject implements MultiTargetPerformanceEvaluator
Modifier and Type | Field and Description |
---|---|
protected int |
L |
Constructor and Description |
---|
BasicMultiLabelPerformanceEvaluator() |
Modifier and Type | Method and Description |
---|---|
void |
addResult(Example<Instance> example,
double[] classVotes) |
void |
addResult(Example<Instance> example,
Prediction y)
Adds a learning result to this evaluator.
|
void |
getDescription(StringBuilder sb,
int indent)
Returns a string representation of this object.
|
Measurement[] |
getPerformanceMeasurements()
Gets the current measurements monitored by this evaluator.
|
void |
reset()
Resets this evaluator.
|
copy, copy, measureByteSize, measureByteSize, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
copy, measureByteSize
public void reset()
LearningPerformanceEvaluator
reset
in interface LearningPerformanceEvaluator<Example<Instance>>
public void addResult(Example<Instance> example, Prediction y)
LearningPerformanceEvaluator
addResult
in interface LearningPerformanceEvaluator<Example<Instance>>
public Measurement[] getPerformanceMeasurements()
LearningPerformanceEvaluator
getPerformanceMeasurements
in interface LearningPerformanceEvaluator<Example<Instance>>
public void getDescription(StringBuilder sb, int indent)
MOAObject
AbstractMOAObject.toString
to give a string representation of the object.getDescription
in interface MOAObject
sb
- the stringbuilder to add the descriptionindent
- the number of characters to indentCopyright © 2019 University of Waikato, Hamilton, NZ. All Rights Reserved.