Skip to content

Commit

Permalink
asdkj;d
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbkoch committed Jan 15, 2025
1 parent cc3b5bf commit c274ac7
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 10 deletions.
21 changes: 11 additions & 10 deletions python/interpret-core/interpret/glassbox/_ebm/_ebm.py
Original file line number Diff line number Diff line change
Expand Up @@ -1482,16 +1482,17 @@ def fit(self, X, y, sample_weight=None, bags=None, init_score=None):



import sys
sys.stderr.write(" asfdasdf ")
sys.stderr.write(str(sum(bagged_intercept)))
sys.stderr.write(" mmmm ")
sys.stderr.write(str(sum(np.sum(m) for m in bagged_scores)))
sys.stderr.write(" ddkdkkdkd ")
sys.stderr.write(str(sum(np.sum(m) for m in bin_weights)))
sys.stderr.write(" DKDJDKSL ")
sys.stderr.write(str(sum(bag_weights)))
sys.stderr.write(" EDDDS ")
# import sys
# # this is identical
# sys.stderr.write(" asfdasdf ")
# sys.stderr.write(str(sum(bagged_intercept)))
# sys.stderr.write(" mmmm ")
# sys.stderr.write(str(sum(np.sum(m) for m in bagged_scores)))
# sys.stderr.write(" ddkdkkdkd ")
# sys.stderr.write(str(sum(np.sum(m) for m in bin_weights)))
# sys.stderr.write(" DKDJDKSL ")
# sys.stderr.write(str(sum(bag_weights)))
# sys.stderr.write(" EDDDS ")



Expand Down
11 changes: 11 additions & 0 deletions python/interpret-core/interpret/glassbox/_ebm/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,17 @@ def process_terms(bagged_intercept, bagged_scores, bin_weights, bag_weights):
for term_idx in range(n_terms):
bagged_scores[term_idx][bag_idx] = term_scores[term_idx]


import sys
# this is identical
sys.stderr.write(" asfdasdf ")
sys.stderr.write(str(sum(bagged_intercept)))
sys.stderr.write(" mmmm ")
sys.stderr.write(str(sum(np.sum(m) for m in bagged_scores)))
sys.stderr.write(" ddkdkkdkd ")



term_scores = []
standard_deviations = []
for scores in bagged_scores:
Expand Down

0 comments on commit c274ac7

Please sign in to comment.