Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.measure
Commits
d9ff46cb
Commit
d9ff46cb
authored
Nov 14, 2017
by
Amir MOHAMMADI
Browse files
Fix comments [skip ci]
parent
5142b646
Pipeline
#14053
skipped
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/measure/cpp/error.cpp
View file @
d9ff46cb
...
...
@@ -133,8 +133,8 @@ double bob::measure::farThreshold(const blitz::Array<double, 1> &negatives,
++
counter
;
}
// if requested FAR is less than the least possible value. We cannot reach
// the desired threshold, as we have too many identical l
ow
est scores, or
the
// number of scores is too low
// the desired threshold, as we have too many identical l
arg
est scores, or
//
the
number of scores is too low
.
if
(
far_value
>=
1e-12
&&
far_value
<
counter
/
(
double
)
neg
.
extent
(
0
))
{
bob
::
core
::
error
<<
"The threshold cannot be computed for an FAR value of "
<<
far_value
<<
". There are either too many repeated largest scores or "
...
...
@@ -200,7 +200,7 @@ double bob::measure::frrThreshold(const blitz::Array<double, 1> &,
}
// if requested FRR is less than the least possible value. We cannot reach
// the desired threshold, as we have too many identical lowest scores, or the
// number of scores is too low
// number of scores is too low
.
if
(
frr_value
>=
1e-12
&&
frr_value
<
counter
/
(
double
)
pos
.
extent
(
0
))
{
bob
::
core
::
error
<<
"The threshold cannot be computed for an FRR value of "
<<
frr_value
<<
". There are either too many repeated lowest scores or "
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment