Bayes-Optimal Fair Classification with Linear Disparity Constraints via Pre-, In-, and Post-processing