mirror of
https://github.com/TomHarte/CLK.git
synced 2026-04-25 11:17:26 +00:00
Decided to focus on 'confidence' over 'probability'.
Besides anything else, it individualises the measure. E.g. two targets can each have a confidence of 0.8 without each giving the wrong answer about probability.
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
|
||||
using namespace DynamicAnalyser;
|
||||
|
||||
float ConfidenceCounter::get_probability() {
|
||||
float ConfidenceCounter::get_confidence() {
|
||||
return static_cast<float>(hits_) / static_cast<float>(hits_ + misses_);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user