A brief introduction to weakly supervised learning