Commit f86b04c9 authored by valentin.emiya's avatar 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
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment