Discriminative clustering with representation learning with any ratio of labeled to unlabeled data