public class ContinuousEvaluator extends Evaluator
Modifier and Type | Class and Description |
---|---|
static class |
ContinuousEvaluator.RepresentativeMetric |
closeTruth, includeObserved
Constructor and Description |
---|
ContinuousEvaluator() |
ContinuousEvaluator(ContinuousEvaluator.RepresentativeMetric representative) |
ContinuousEvaluator(String representative) |
Modifier and Type | Method and Description |
---|---|
void |
compute(TrainingMap trainingMap)
One of the main computation method.
|
void |
compute(TrainingMap trainingMap,
StandardPredicate predicate)
One of the main computation method.
|
String |
getAllStats()
Get a string that contains the full range of stats that this Evaluator can provide.
|
double |
getBestRepScore()
The maximum (i.e.
|
double |
getRepMetric()
The representative (rep) metric is the metric that was chosen to be the representative for this evaluator.
|
boolean |
isHigherRepBetter()
Is a higher value for the current representative metric better?
|
double |
mae() |
double |
mse() |
compute, compute, getCloseTruth, getIncludeObserved, getMap, getNormalizedMaxRepMetric, getNormalizedRepMetric, getTargets, setCloseTruth, setIncludeObserved
public ContinuousEvaluator()
public ContinuousEvaluator(String representative)
public ContinuousEvaluator(ContinuousEvaluator.RepresentativeMetric representative)
public void compute(TrainingMap trainingMap)
Evaluator
public void compute(TrainingMap trainingMap, StandardPredicate predicate)
Evaluator
public double getRepMetric()
Evaluator
getRepMetric
in class Evaluator
public double getBestRepScore()
Evaluator
getBestRepScore
in class Evaluator
public boolean isHigherRepBetter()
Evaluator
isHigherRepBetter
in class Evaluator
public double mae()
public double mse()
public String getAllStats()
Evaluator
getAllStats
in class Evaluator
Copyright © 2022 University of California, Santa Cruz. All rights reserved.