Skip to content

Commit

Permalink
Merge pull request #268 from jdnklau/master
Browse files Browse the repository at this point in the history
Fix exponential gradient reduction without protected attribute (#267)
  • Loading branch information
nrkarthikeyan committed Sep 7, 2021
2 parents fcda24e + 0b7f395 commit 2c09e2f
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 2c09e2f

Please sign in to comment.