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://www.jmlr.org/papers/volume25/21-1440/21-1440.pdf).