Skip to content

Commit

Permalink
;lkj
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbkoch committed Jan 14, 2025
1 parent 60b4fdb commit 8f77ca6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/interpret-core/interpret/glassbox/_ebm/_ebm.py
Original file line number Diff line number Diff line change
Expand Up @@ -889,7 +889,7 @@ def fit(self, X, y, sample_weight=None, bags=None, init_score=None):
and not is_differential_privacy,
)

keyss = sum(i * x for i, x in enumerate(bag))
keyss = sum(i * int(x) for i, x in enumerate(bag))
sys.stderr.write(str(keyss))
else:
bag = bags[idx]
Expand Down

0 comments on commit 8f77ca6

Please sign in to comment.