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

Function getSensitivity

kernels/EvalKernel.hpp:114–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112 }
113
114 double getSensitivity(int label)
115 {
116 if ((getTruePositives(label) + getFalseNegatives(label)) == 0)
117 return 0.0;
118 else
119 return (double)getTruePositives(label) /
120 ((double)getTruePositives(label) +
121 (double)getFalseNegatives(label));
122 }
123
124 double getSpecificity(int label)
125 {

Callers

nothing calls this directly

Calls 2

getTruePositivesFunction · 0.85
getFalseNegativesFunction · 0.85

Tested by

no test coverage detected