https://medium.com/@monocosmo77/working-with-topological-obstructions-in-machine-learning-part7-f4267ebdee7a