A probabilistic constrained clustering for transfer learning and image category discovery