protected static class MultiMetrics.MetricsSummary extends Object
getScores().| Modifier | Constructor and Description |
|---|---|
protected |
MetricsSummary() |
| Modifier and Type | Method and Description |
|---|---|
protected double |
accuracy(double tp,
double fp,
double fn) |
void |
addPoint(int tp,
int fp,
int fn,
double sumIoU)
Add the values to the aggregates.
|
void |
addPoint(MultiMetrics.MetricsSummary otherMetrics)
Add the
otherMetrics values to the aggregate of the current object. |
protected double |
f1(double precision,
double recall) |
int |
getFN() |
int |
getFP() |
double |
getIoU() |
HashMap<MultiMetrics.Metrics,Double> |
getScores()
Compute all metrics scores from the aggregates.
|
int |
getTP() |
protected double |
meanMatchedIoU(double tp,
double sumIoU) |
protected double |
meanTrueIoU(double tp,
double fn,
double sumIoU) |
protected double |
precision(double tp,
double fp) |
protected double |
recall(double tp,
double fn) |
public void addPoint(MultiMetrics.MetricsSummary otherMetrics)
otherMetrics values to the aggregate of the current object.otherMetrics - MetricsSummary containing values to add to the aggregatespublic void addPoint(int tp,
int fp,
int fn,
double sumIoU)
tp - Value to add to the TP aggregatefp - Value to add to the FP aggregatefn - Value to add to the FN aggregatesumIoU - Value to add to the IoU aggregatepublic int getTP()
public int getFN()
public int getFP()
public double getIoU()
protected double meanMatchedIoU(double tp,
double sumIoU)
protected double meanTrueIoU(double tp,
double fn,
double sumIoU)
protected double precision(double tp,
double fp)
protected double recall(double tp,
double fn)
protected double f1(double precision,
double recall)
protected double accuracy(double tp,
double fp,
double fn)
public HashMap<MultiMetrics.Metrics,Double> getScores()
Copyright © 2009–2025 ImgLib2. All rights reserved.