Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
bob.measure
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bob
bob.measure
Commits
d9ff46cb
Commit
d9ff46cb
authored
Nov 14, 2017
by
Amir MOHAMMADI
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix comments [skip ci]
parent
5142b646
Pipeline
#14053
skipped
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
bob/measure/cpp/error.cpp
bob/measure/cpp/error.cpp
+3
-3
No files found.
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
owest scores, or the
//
number of scores is too low
// the desired threshold, as we have too many identical l
argest 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
Markdown
is supported
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