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