https://medium.com/@monocosmo77/dynamics-of-martingale-transport-part9-machine-learning-optimal-transport-78801e808f3a