Skip to content

Commit 3572550

Browse files
committed
modified sen_idx
1 parent eb758bc commit 3572550

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

doc/source/tutorials/constraint.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ Usage
2828

2929
* - **fair**
3030
- | ``name``: 'fair' or 'fairness'
31-
| ``X_sen``: 2d array [n x p] for sensitive attributes
31+
| ``sen_idx``: a list contains column indices for sensitive attributes
3232
| ``tol_sen``: 1d array [p] of tolerance for fairness
33-
- | ``constraint=[{'name': 'fair', 'X_sen': X_sen, 'tol_sen': tol_sen}]``
33+
- | ``constraint=[{'name': 'fair', 'sen_idx': sen_idx, 'tol_sen': tol_sen}]``
3434

3535
* - **custom**
3636
- | ``name``: 'custom'

0 commit comments

Comments
 (0)