Supervised Learning From Embedded Subgraphs