public class ALWindowClassificationPerformanceEvaluator extends WindowClassificationPerformanceEvaluator implements ALClassificationPerformanceEvaluator
WindowClassificationPerformanceEvaluator.WindowEstimator
BasicClassificationPerformanceEvaluator.BasicEstimator, BasicClassificationPerformanceEvaluator.Estimator
widthOption
columnKappa, f1PerClassOption, numClasses, precision, precisionPerClassOption, precisionRecallOutputOption, recall, recallPerClassOption, rowKappa, weightCorrect
config
Constructor and Description |
---|
ALWindowClassificationPerformanceEvaluator() |
Modifier and Type | Method and Description |
---|---|
void |
doLabelAcqReport(Example<Instance> trainInst,
int labelAcquired)
Receives the information if a label has been acquired and increases counters.
|
int |
getAbsNumOfAcqInst()
Returns absolute number of acquired labels so far.
|
Measurement[] |
getPerformanceMeasurements()
Gets the current measurements monitored by this evaluator.
|
double |
getRelNumOfAcqInst()
Returns relative number of acquired labels so far.
|
void |
reset(int numClasses) |
newEstimator
addResult, addResult, getDescription, getF1Statistic, getF1Statistic, getFractionCorrectlyClassified, getFractionIncorrectlyClassified, getKappaStatistic, getKappaTemporalStatistic, getPrecisionStatistic, getPrecisionStatistic, getRecallStatistic, getRecallStatistic, getTotalWeightObserved, prepareForUseImpl, reset
copy, getCLICreationString, getOptions, getPreparedClassOption, getPurposeString, prepareClassOptions, prepareForUse, prepareForUse
copy, measureByteSize, measureByteSize, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addResult, addResult, reset
copy, getDescription, measureByteSize
public ALWindowClassificationPerformanceEvaluator()
public void doLabelAcqReport(Example<Instance> trainInst, int labelAcquired)
doLabelAcqReport
in interface ALClassificationPerformanceEvaluator
trainInst
- the instance that was previously consideredlabelAcquired
- bool type which indicates if trainInst
was acquired by the active learnerpublic int getAbsNumOfAcqInst()
public double getRelNumOfAcqInst()
public Measurement[] getPerformanceMeasurements()
LearningPerformanceEvaluator
getPerformanceMeasurements
in interface LearningPerformanceEvaluator<Example<Instance>>
getPerformanceMeasurements
in class BasicClassificationPerformanceEvaluator
public void reset(int numClasses)
reset
in class BasicClassificationPerformanceEvaluator
Copyright © 2019 University of Waikato, Hamilton, NZ. All Rights Reserved.