Skip to content

Commit

Permalink
asdf
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbkoch committed Jan 14, 2025
1 parent 8f77ca6 commit 95e277d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 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,8 @@ def fit(self, X, y, sample_weight=None, bags=None, init_score=None):
and not is_differential_privacy,
)

keyss = sum(i * int(x) for i, x in enumerate(bag))
if bag is not None:
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 95e277d

Please sign in to comment.