The Fairlearn package largely follows the terminology established by scikit-learn, specifically:

  • Estimators implement a fit method.

  • Predictors implement a predict method.

Randomization. In contrast with scikit-learn, estimators in Fairlearn can produce randomized predictors. Randomization of predictions is required to satisfy many definitions of fairness. Because of randomization, it is possible to get different outputs from the predictor’s predict method on identical data. For each of our methods, we provide explicit access to the probability distribution used for randomization.