aif360

Calculate group fairness metrics with AIF360

Calculate group fairness metrics with AIF360 Question: I want to calculate group fairness metrics using AIF360. This is a sample dataset and model, in which gender is the protected attribute and income is the target. import pandas as pd from sklearn.svm import SVC from aif360.sklearn import metrics df = pd.DataFrame({‘gender’: [0, 0, 0, 0, 0, …

Total answers: 3