https://medium.com/@monocosmo77/new-uses-of-lipschitz-continuity-in-machine-learning-part2-815d739bfb3c