Skip to content

Commit

Permalink
Fixed selector bug around regression.
Browse files Browse the repository at this point in the history
  • Loading branch information
interpret-ml committed Jul 21, 2020
1 parent 936bd04 commit 6ddc0cc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions python/interpret-core/interpret/utils/all.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,8 @@ def gen_local_selector(data_dicts, round=3, is_classification=True):
record["PrScore"] = perf_dict["predicted_score"]
record["AcScore"] = perf_dict["actual_score"]

if is_classification:
record["Predicted"] = perf_dict["predicted"]
record["Actual"] = perf_dict["actual"]
record["Predicted"] = perf_dict["predicted"]
record["Actual"] = perf_dict["actual"]

record["Resid"] = record["AcScore"] - record["PrScore"]
record["AbsResid"] = abs(record["Resid"])
Expand Down

0 comments on commit 6ddc0cc

Please sign in to comment.