public class F1Score extends SimpleBinaryClassMetric
Precision
and
Recall
. This score is only valid for binary
classification problems.fn, fp, tn, tp
Modifier and Type | Method and Description |
---|---|
F1Score |
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 F1Score()
public F1Score(F1Score 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 F1Score clone()
clone
in interface ClassificationScore
clone
in class SimpleBinaryClassMetric
public String getName()
ClassificationScore
Copyright © 2017. All rights reserved.