Skip to content

Commit

Permalink
Fix exponential gradient reduction without protected attribute (Trust…
Browse files Browse the repository at this point in the history
  • Loading branch information
jdnklau committed Sep 6, 2021
1 parent 966db55 commit 68b40b3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,6 @@ def predict_proba(self, X):
``self.classes_``.
"""
if self.drop_prot_attr:
X = X.drop(self.prot_attr)
X = X.drop(self.prot_attr, axis=1)

return self.model._pmf_predict(X)

0 comments on commit 68b40b3

Please sign in to comment.