public class BasicClusteringPerformanceEvaluator extends AbstractMOAObject implements LearningPerformanceEvaluator
| Modifier and Type | Field and Description |
|---|---|
protected double |
weightCorrect |
protected double |
weightObserved |
| Constructor and Description |
|---|
BasicClusteringPerformanceEvaluator() |
| Modifier and Type | Method and Description |
|---|---|
void |
addLearningAttempt(int trueClass,
double[] classVotes,
double weight) |
void |
getDescription(StringBuilder sb,
int indent)
Returns a string representation of this object.
|
double |
getFractionCorrectlyClassified() |
double |
getFractionIncorrectlyClassified() |
Measurement[] |
getPerformanceMeasurements() |
double |
getTotalWeightObserved() |
void |
reset() |
copy, copy, measureByteSize, measureByteSize, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcopy, measureByteSizeprotected double weightObserved
protected double weightCorrect
public void reset()
reset in interface LearningPerformanceEvaluatorpublic void addLearningAttempt(int trueClass,
double[] classVotes,
double weight)
addLearningAttempt in interface LearningPerformanceEvaluatorpublic Measurement[] getPerformanceMeasurements()
getPerformanceMeasurements in interface LearningPerformanceEvaluatorpublic double getTotalWeightObserved()
public double getFractionCorrectlyClassified()
public double getFractionIncorrectlyClassified()
public void getDescription(StringBuilder sb, int indent)
MOAObjectAbstractMOAObject.toString
to give a string representation of the object.getDescription in interface MOAObjectsb - the stringbuilder to add the descriptionindent - the number of characters to indentCopyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.