Weakly-supervised learning