public class BasicConceptDriftPerformanceEvaluator extends AbstractMOAObject implements LearningPerformanceEvaluator<Example<Instance>>
Modifier and Type | Field and Description |
---|---|
protected double |
delay |
protected double |
errorPrediction |
protected double |
inputValues |
protected boolean |
isWarningZone |
protected double |
numberChanges |
protected double |
numberDetections |
protected double |
numberDetectionsOccurred |
protected double |
numberWarnings |
protected double |
totalDelay |
protected double |
weightObserved |
Constructor and Description |
---|
BasicConceptDriftPerformanceEvaluator() |
Modifier and Type | Method and Description |
---|---|
void |
addResult(Example<Instance> example,
double[] classVotes) |
void |
addResult(Example<Instance> testInst,
Prediction prediction)
Adds a learning result to this evaluator.
|
void |
getDescription(StringBuilder sb,
int indent)
Returns a string representation of this object.
|
double |
getInputValues() |
double |
getNumberChanges() |
double |
getNumberChangesOccurred() |
double |
getNumberDetections() |
double |
getNumberWarnings() |
Measurement[] |
getPerformanceMeasurements()
Gets the current measurements monitored by this evaluator.
|
double |
getPredictionError() |
double |
getTotalDelay() |
double |
getTotalWeightObserved() |
void |
reset()
Resets this evaluator.
|
copy, copy, measureByteSize, measureByteSize, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
copy, measureByteSize
protected double weightObserved
protected double numberDetections
protected double numberDetectionsOccurred
protected double numberChanges
protected double numberWarnings
protected double delay
protected double errorPrediction
protected double totalDelay
protected boolean isWarningZone
protected double inputValues
public BasicConceptDriftPerformanceEvaluator()
public void reset()
LearningPerformanceEvaluator
reset
in interface LearningPerformanceEvaluator<Example<Instance>>
public void addResult(Example<Instance> example, double[] classVotes)
addResult
in interface LearningPerformanceEvaluator<Example<Instance>>
public Measurement[] getPerformanceMeasurements()
LearningPerformanceEvaluator
getPerformanceMeasurements
in interface LearningPerformanceEvaluator<Example<Instance>>
public double getTotalWeightObserved()
public double getNumberDetections()
public double getInputValues()
public double getPredictionError()
public double getNumberChanges()
public double getNumberChangesOccurred()
public double getNumberWarnings()
public double getTotalDelay()
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 indentpublic void addResult(Example<Instance> testInst, Prediction prediction)
LearningPerformanceEvaluator
addResult
in interface LearningPerformanceEvaluator<Example<Instance>>
Copyright © 2019 University of Waikato, Hamilton, NZ. All Rights Reserved.