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