Commit 0b307187826ee27ddd5368d2cd2f81671d5fd59a

Authored by Mathias Quillot
1 parent 933b2505a1
Exists in master

normalize the global value of disequilibrium by the number of clusters

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

... ... @@ -84,7 +84,7 @@
84 84 return (
85 85 mask,
86 86 result_human,
87   - disequilibrium_mean_by_cluster(mask, result_power).sum()
  87 + disequilibrium_mean_by_cluster(mask, result_power).sum()/matrix1.shape[0]
88 88 )
89 89  
90 90