https://medium.com/@monocosmo77/working-with-topological-obstructions-in-machine-learning-part6-1a8d6f7cd15c