MCPcopy Create free account
hub / github.com/PDAL/PDAL / getIntersectionOverUnion

Function getIntersectionOverUnion

kernels/EvalKernel.hpp:82–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80 }
81
82 double getIntersectionOverUnion(int label)
83 {
84 if (getTrueNegatives(label) ==
85 (point_count_t)m_confusionMatrix.topRows(m_dim).sum())
86 return 0.0;
87 else
88 return (double)getTruePositives(label) /
89 ((double)getTruePositives(label) +
90 (double)getFalsePositives(label) +
91 (double)getFalseNegatives(label));
92 }
93
94 double getMeanIntersectionOverUnion()
95 {

Callers 2

getF1ScoreFunction · 0.85

Calls 4

getTrueNegativesFunction · 0.85
getTruePositivesFunction · 0.85
getFalsePositivesFunction · 0.85
getFalseNegativesFunction · 0.85

Tested by

no test coverage detected