'Import Error: cannot import 'mdss_bias_scan' from 'aif360.sklearn.metrics'

I would like to use the mdss_bias_scan function of aif360 for detecting the combination of variables that make up the privileged group and the non-privileged group.

When I try to import the function: from aif360.sklearn.metrics import mdss_bias_scan

I get the following error: Import error: cannot import 'mdss_bias_scan' from 'aif360.sklearn.metrics'.

Can you help me to fix it?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source