Open pradeepdev-1995 opened 1 year ago
Faced similar issue but when the threshold value is tuned, for a certain range LFR did work and brought the bias down.
Learning Fair Representations LFR_model = LFR(seed=1,unprivileged_groups=unprivileged_groups, privileged_groups=privileged_groups, k=3, verbose=0) dataset_transformed = LFR_model.fit_transform(dataset_original, maxiter=5000, maxfun=5000, threshold=0.25)
I am trying to implement the LFR pre-processing bias mitigation in a multi-class classification dataset. The original dataset has 4 distinct classes as the target variable. Used the below code for LFR.
This code shows that the transformed dataset has always a single target column. Where have the other classes gone? Should I apply any tuning method for this?