ModelOriented / fairmodels

Flexible tool for bias detection, visualization, and mitigation
https://fairmodels.drwhy.ai/
GNU General Public License v3.0
86 stars 15 forks source link

Basic question about fairmodel #47

Closed Nehagupta90 closed 2 years ago

Nehagupta90 commented 2 years ago

Hi Jakub and other members, I have two questions about the basic concept of fairmodels ..

(1) Can we use any variable of a dataset as a protected variable which is either binary or nominal?

(2) Is there any way we use a continuous variable (with as much as 1000 different values) as a protected variable?

(3) I have an input variable which has values 9 and 13.. I used the fairmodel and found that there is no unprivileged value i.e. almost all the metrics fall in the green region. Would it be a good idea to use different class-balancing techniques and see if they (inclusion/exclusion of instances) impact the fairness of the model.?

jakwisn commented 2 years ago

Hi, answering your questions:

  1. Yes
  2. Yes, but it will be treated as a discrete one and I am not sure that 1000 values will be visible on the plot. Better to make some levels like 0-100, 101-500, 501-1000.
  3. Why not, It would be an interesting piece of research.
Nehagupta90 commented 2 years ago

Thanks a lot Jakub for your information.

On Sunday, February 6, 2022, Jakub Wiśniewski @.***> wrote:

Hi, answering your questions:

  1. Yes
  2. Yes, but it will be treated as a discrete one and I am not sure that 1000 values will be visible on the plot. Better to make some levels like 0-100, 101-500, 501-1000.
  3. Why not, It would be an interesting piece of research.

— Reply to this email directly, view it on GitHub https://github.com/ModelOriented/fairmodels/issues/47#issuecomment-1030939959, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN2ZZ2LGJNLUQS6WOEF3I7LUZ372TANCNFSM5NDKFNFA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>