Random Graphs in Machine Learning