Skip to content

Commit 6ddc0cc

Browse files
committed
Fixed selector bug around regression.
1 parent 936bd04 commit 6ddc0cc

File tree

1 file changed

+2
-3
lines changed
  • python/interpret-core/interpret/utils

1 file changed

+2
-3
lines changed

python/interpret-core/interpret/utils/all.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,8 @@ def gen_local_selector(data_dicts, round=3, is_classification=True):
118118
record["PrScore"] = perf_dict["predicted_score"]
119119
record["AcScore"] = perf_dict["actual_score"]
120120

121-
if is_classification:
122-
record["Predicted"] = perf_dict["predicted"]
123-
record["Actual"] = perf_dict["actual"]
121+
record["Predicted"] = perf_dict["predicted"]
122+
record["Actual"] = perf_dict["actual"]
124123

125124
record["Resid"] = record["AcScore"] - record["PrScore"]
126125
record["AbsResid"] = abs(record["Resid"])

0 commit comments

Comments
 (0)