Discriminative community detection for multiplex networks