public class Precision<L extends Serializable> extends BinaryClassificationMetric<L>
Constructor and Description |
---|
Precision()
Creates an instance Precision class.
|
Precision(L truthLabel,
L falseLabel)
Creates an instance Precision class.
|
Modifier and Type | Method and Description |
---|---|
Precision<L> |
initBy(BinaryClassificationPointwiseMetricStatsAggregator<L> aggr)
Initializes metric value by statistics aggregator.
|
MetricName |
name()
Returns metric name.
|
double |
value()
Returns metric value.
|
makeAggregator
public Precision(L truthLabel, L falseLabel)
truthLabel
- Truth label.falseLabel
- False label.public Precision()
public Precision<L> initBy(BinaryClassificationPointwiseMetricStatsAggregator<L> aggr)
aggr
- Aggregator.public double value()
public MetricName name()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.0 Release Date : October 15 2020