1
0
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:
Thomas Harte
2018-01-25 19:02:16 -05:00
parent db914d8c56
commit f2519f4fd7
13 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -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_);
}