https://medium.com/@monocosmo77/working-with-topological-obstructions-in-machine-learning-part1-03cda127483d