https://medium.com/@monocosmo77/how-directed-acyclic-graph-are-used-part1-machine-learning-af416ab6127f