Skip to content
Snippets Groups Projects
Commit dd4802aa authored by yager2's avatar yager2
Browse files

axe_H enumerate H2.T changed to H.T

parent fcb7bb10
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,7 @@ def impose_L1_constraint(W, H):
def axe_H(H, tail_cutoff = 0.25):
H2 = H.copy()
for i, column in enumerate(H2.T):
for i, column in enumerate(H.T):
sorted_column = sorted(column)
cumulative_sum = it.accumulate(sorted_column)
kill_count = sum(list(cumulative_sum) < tail_cutoff*sum(column))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment