mlr_learners_fairness | R Documentation |
Fair Learners in mlr3
mlr_learners_fairness
An object of class data.table
(inherits from data.frame
) with 5 rows and 3 columns.
A data.table containing an overview of available fair learners.
mlr3fairness comes with a set of predefined fairn learners listed below:
key | package | reference |
regr.fairfrrm | fairml | Scutari et al., 2021 |
classif.fairfgrrm | fairml | Scutari et al., 2021 |
regr.fairzlm | fairml | Zafar et al., 2019 |
classif.fairzlrm | fairml | Zafar et al., 2019 |
regr.fairnclm | fairml | Komiyama et al., 2018 |
The protected attribute is specified as a col_role
in the corresponding Task()
:
<Task>$col_roles$pta = "name_of_attribute"
This also allows specifying more than one protected attribute,
in which case fairness will be considered on the level of intersecting groups defined by all columns
selected as a predicted attribute.
library("mlr3")
# Available learners:
mlr_learners_fairness
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.