Skip to content
GitLab
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
ae3b0e35
Commit
ae3b0e35
authored
Jun 27, 2018
by
Amir MOHAMMADI
Browse files
Compute HTER using FMR and FNMR
parent
751d030e
Pipeline
#21391
passed with stage
in 23 minutes and 56 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/measure/script/figure.py
View file @
ae3b0e35
...
...
@@ -197,9 +197,9 @@ class Metrics(MeasureBase):
def
_numbers
(
self
,
neg
,
pos
,
threshold
,
fta
):
from
..
import
farfrr
fmr
,
fnmr
=
farfrr
(
neg
,
pos
,
threshold
)
hter
=
(
fmr
+
fnmr
)
/
2.0
far
=
fmr
*
(
1
-
fta
)
frr
=
fta
+
fnmr
*
(
1
-
fta
)
hter
=
(
far
+
frr
)
/
2.0
ni
=
neg
.
shape
[
0
]
# number of impostors
fm
=
int
(
round
(
fmr
*
ni
))
# number of false accepts
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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