Spectral Maps for Learning on Subgraphs