Supervised Learning of Graph Structure