Network Representation Learning: A Survey