public class Precision extends SimpleBinaryClassMetric
fn, fp, tn, tp
Constructor and Description |
---|
Precision() |
Precision(Precision toClone) |
Modifier and Type | Method and Description |
---|---|
Precision |
clone() |
boolean |
equals(Object obj) |
String |
getName()
Returns the name to present for this score
|
double |
getScore()
Computes the score for the results that have been enrolled via
ClassificationScore.addResult(jsat.classifiers.CategoricalResults, int, double) |
int |
hashCode() |
addResult, addResults, lowerIsBetter, prepare
public Precision()
public Precision(Precision toClone)
public double getScore()
ClassificationScore
ClassificationScore.addResult(jsat.classifiers.CategoricalResults, int, double)
getScore
in interface ClassificationScore
getScore
in class SimpleBinaryClassMetric
public boolean equals(Object obj)
equals
in interface ClassificationScore
equals
in class Object
public int hashCode()
hashCode
in interface ClassificationScore
hashCode
in class Object
public Precision clone()
clone
in interface ClassificationScore
clone
in class SimpleBinaryClassMetric
public String getName()
ClassificationScore
Copyright © 2017. All rights reserved.