Skip to content

Commit

Permalink
remove extra cls_idx definition
Browse files Browse the repository at this point in the history
  • Loading branch information
Anmol-Srivastava committed Jul 28, 2023
1 parent 5fa9d2e commit 2d31a93
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion menelaus/injection/label_manipulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ class probability for 1 or more desired classes
# locate each class in window
for cls in all_classes:

cls_idx = None
cls_idx = np.where(ret[:, target_col] == cls)[0]
cls_idx = cls_idx[(cls_idx < to_index) & (cls_idx >= from_index)]

Expand Down

0 comments on commit 2d31a93

Please sign in to comment.