L - Type of a label (truth or prediction).public class Fmeasure<L> extends ClassMetric<L>
clsLb| Constructor and Description |
|---|
Fmeasure(L clsLb)
The class of interest or positive class.
|
| Modifier and Type | Method and Description |
|---|---|
String |
name()
Returns the metric's name.
|
double |
score(Iterator<LabelPair<L>> it)
Calculates score.
|
public Fmeasure(L clsLb)
clsLb - The label.public double score(Iterator<LabelPair<L>> it)
it - Iterator that supplies pairs of truth values and predicated.public String name()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.9.23-p1 Release Date : November 19 2025