Skip to content

Commit

Permalink
Update fair_oct.py
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickvossler18 committed Jun 20, 2024
1 parent 0897701 commit 1dc4858
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions odtlearn/fair_oct.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ class FairConstrainedOCT(ConstrainedOCT):
Extract metadata from the input data.
_define_objective()
Define the objective function for the MIP problem.
:meth:`fit <odtlearn.fair_oct.FairConstrainedOCT.fit>`(X, y, protect_feat, legit_factor)
fit(X, y, protect_feat, legit_factor)
Fit the fair constrained optimal classification tree on the given data.
:meth:`predict <odtlearn.fair_oct.FairConstrainedOCT.predict>`(X)
predict(X)
Predict the class labels for the given input data using the fitted model.
Notes
Expand Down

0 comments on commit 1dc4858

Please sign in to comment.