
Answer-first summary for fast verification
Answer: fairlearn.postprocessing.ThresholdOptimizer
The question requires eliminating the need to retrain the binary classification model while implementing fairness using the Fairlearn package. Fairlearn offers three approaches: preprocessing (before training), inprocessing (during training), and postprocessing (after training). Options A (ExponentiatedGradient) and D (GridSearch) are inprocessing techniques that require model retraining. Option C (CorrelationRemover) is a preprocessing technique that also necessitates retraining. Only Option B (ThresholdOptimizer) is a postprocessing method, which adjusts prediction thresholds on the existing model's outputs to enforce fairness without retraining. The community discussion strongly supports this, with 100% consensus on B and detailed reasoning highlighting that postprocessing avoids retraining, unlike preprocessing or inprocessing methods.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You create a binary classification model and use the Fairlearn package to assess its fairness. You must avoid retraining the model. Which Fairlearn algorithm should you implement?
A
fairlearn.reductions.ExponentiatedGradient
B
fairlearn.postprocessing.ThresholdOptimizer
C
fairlearnpreprocessing.CorrelationRemover
D
fairlearn.reductions.GridSearch
No comments yet.