Representation Learning on Networks for Community Detection