Skip to content

Commit

Permalink
sadfd
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbkoch committed Jan 14, 2025
1 parent f6260bc commit 8687851
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions python/interpret-core/interpret/glassbox/_ebm/_ebm.py
Original file line number Diff line number Diff line change
Expand Up @@ -877,8 +877,8 @@ def fit(self, X, y, sample_weight=None, bags=None, init_score=None):
used_seeds.add(check_seed)

if bags is None:
sys.stderr.write(" AHAHAHAHA ")
sys.stderr.write(str(bagged_rng))
#sys.stderr.write(" AHAHAHAHA ")
#sys.stderr.write(str(bagged_rng))

bag = make_bag(
y,
Expand All @@ -891,7 +891,7 @@ def fit(self, X, y, sample_weight=None, bags=None, init_score=None):

if bag is not None:
keyss = sum(i * int(x) for i, x in enumerate(bag))
sys.stderr.write(str(keyss))
#sys.stderr.write(str(keyss))
else:
bag = bags[idx]
if not isinstance(bag, np.ndarray):
Expand Down Expand Up @@ -1086,6 +1086,9 @@ def fit(self, X, y, sample_weight=None, bags=None, init_score=None):
feature_types_in,
)

sys.stderr.write(" ggffgg ")
sys.stderr.write(str(sum(dataset)))

parallel_args = []
for idx in range(self.outer_bags):
early_stopping_rounds_local = early_stopping_rounds
Expand Down

0 comments on commit 8687851

Please sign in to comment.