Skip to content
Snippets Groups Projects
Commit 5ffdf5b3 authored by valentin.emiya's avatar valentin.emiya
Browse files

Merge branch 'py' of gitlab.lis-lab.fr:skmad-suite/tff2020 into approx

parents 82cecdc8 f86b04c9
No related branches found
No related tags found
No related merge requests found
Pipeline #6060 passed
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment