https://medium.com/@monocosmo77/working-with-erd%C5%91s-r%C3%A9nyi-models-part2-machine-learning-c86a08f7f39c