https://medium.com/@monocosmo77/working-with-topological-obstructions-in-machine-learning-part5-7561ba0a0fc8