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
cba0017c
Commit
cba0017c
authored
Jun 28, 2018
by
Amir MOHAMMADI
Browse files
Merge branch 'hter' into 'master'
Compute HTER using FMR and FNMR Closes
#48
See merge request
!81
parents
c973cb27
ae3b0e35
Pipeline
#21409
passed with stages
in 28 minutes and 31 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/measure/script/figure.py
View file @
cba0017c
...
...
@@ -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