Python code to learn optimal-transport-based counterfactual models and apply them to fair classification or regression.
It implements the learning procedure from the paper Transport-based Counterfactual Models (https://arxiv.org/pdf/2108.13025.pdf).