Unsupervised Learning via Network-Aware Embeddings