Multitask semi–supervised learning with constraints and constraint exceptions