Python, Programming, Data Science, Artificial Intelligence, Machine Learning.
is created from the Aequitas library, and it is fitted to the dataset, specifying the sensitive attributes to consider (e.g., 'race' and 'gender').A Bias object is created and fitted to the group object and the model predictions. Fairness metrics are calculated using the get_disparity_major_group()