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
skmad-suite
tff2020
Commits
f86b04c9
Commit
f86b04c9
authored
Dec 03, 2020
by
valentin.emiya
Browse files
add rank and mask_ratio features in results
parent
9cdf7a71
Pipeline
#6059
passed with stage
in 5 minutes and 51 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
python/tffpy/experiments/exp_solve_tff.py
View file @
f86b04c9
...
...
@@ -953,7 +953,9 @@ def perf_measures(task_params, source_data, problem_data,
t_subreg
=
solved_data
[
't_subreg'
]
)
features
=
dict
(
mask_size
=
np
.
sum
(
gmtff
.
mask
>
0
),
n_subregions
=
gmtff
.
n_areas
)
mask_ratio
=
np
.
mean
(
gmtff
.
mask
>
0
),
n_subregions
=
gmtff
.
n_areas
,
rank_sum
=
np
.
sum
([
s
.
size
for
s
in
gmtff
.
s_vec_list
]))
return
dict
(
**
running_times
,
**
sdr_res
,
**
is_res
,
**
features
)
...
...
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