public class FMeasure<L extends Serializable> extends BinaryClassificationMetric<L>
| Constructor and Description |
|---|
FMeasure()
Creates an instance of FScore class.
|
FMeasure(double beta)
Creates an instance of FScore class.
|
FMeasure(L truthLabel,
L falseLabel)
Creates an instance of FScore class.
|
FMeasure(L truthLabel,
L falseLabel,
double betaSquare)
Creates an instance of FScore class.
|
| Modifier and Type | Method and Description |
|---|---|
FMeasure<L> |
initBy(BinaryClassificationPointwiseMetricStatsAggregator<L> aggr)
Initializes metric value by statistics aggregator.
|
MetricName |
name()
Returns metric name.
|
double |
value()
Returns metric value.
|
makeAggregatorpublic FMeasure(double beta)
beta - Beta (see https://en.wikipedia.org/wiki/F1_score ).public FMeasure()
public FMeasure(L truthLabel, L falseLabel, double betaSquare)
truthLabel - Truth label.falseLabel - False label.betaSquare - Squared beta parameter.public FMeasure<L> initBy(BinaryClassificationPointwiseMetricStatsAggregator<L> aggr)
aggr - Aggregator.public double value()
public MetricName name()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.14.0 Release Date : September 29 2022