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
Martin Lebourdais
s4d
Commits
4d3af019
Commit
4d3af019
authored
Mar 20, 2018
by
Sulfyderz
Browse files
[Error Update]:Correcting wrong variable names.
parent
a2b3b14c
Changes
1
Hide whitespace changes
Inline
Side-by-side
s4d/scoring.py
View file @
4d3af019
...
...
@@ -154,7 +154,7 @@ class DER:
return
line
def
assignment
(
self
):
"""Compute the reference to hypothese association using the hungrian
"""Compute the reference to hypothese association using the hung
a
rian
algorithm
:return: a dict object with key equal to (reference cluster, hypothesis cluster)
...
...
@@ -331,7 +331,7 @@ class DER_result:
self
.
sns_fa_time
=
0
self
.
sns_miss_time
=
0
self
.
overlap_miss
=
0
self
.
overlap
p
_fa
=
0
self
.
overlap_fa
=
0
self
.
spk_miss_time
=
0
self
.
spk_fa_time
=
0
self
.
spk_miss
=
0
...
...
@@ -360,7 +360,7 @@ class DER_result:
self
.
sns_fa_time
+=
result
.
sns_fa_time
self
.
sns_miss_time
+=
result
.
sns_miss_time
self
.
overlap_miss
+=
result
.
overlap_miss
self
.
overlap
p
_fa
+=
result
.
overlap
p
_fa
self
.
overlap_fa
+=
result
.
overlap_fa
self
.
spk_miss_time
+=
result
.
spk_miss_time
self
.
spk_fa_time
+=
result
.
spk_fa_time
self
.
spk_miss
+=
result
.
spk_miss
...
...
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