Skip to content

Commit

Permalink
resolving bug when index is not ordinal number
Browse files Browse the repository at this point in the history
  • Loading branch information
testtree committed Jan 13, 2022
1 parent 8e0a2a1 commit 0fff3a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pycaret/internal/tabular.py
Original file line number Diff line number Diff line change
Expand Up @@ -10419,7 +10419,7 @@ def check_fairness(estimator, sensitive_features: list, plot_kwargs: dict = {}):

y_pred = estimator.predict(get_config("X_test"))
y_true = np.array(get_config("y_test"))
X_test_before_transform = get_config("data_before_preprocess").iloc[
X_test_before_transform = get_config("data_before_preprocess").loc[
get_config("X_test").index
]

Expand Down

0 comments on commit 0fff3a5

Please sign in to comment.