MCPcopy Create free account
hub / github.com/OpenDriveLab/OpenLane / get_recall

Method get_recall

eval/LANE_evaluation/lane2d/src/counter.cpp:37–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37double Counter::get_recall(void)
38{
39 if(tp+fn == 0)
40 {
41 cerr<<"no ground truth positive"<<endl;
42 return -1;
43 }
44 return tp/double(tp + fn);
45}
46
47long Counter::getTP(void)
48{

Callers 1

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected