For each bag x b in the training set, we generate a noisy label vectorz b from the observed ground-truth label vector y b .
,z b is generated by flipping each element y b [r] from 0 to 1 or 1 to 0 with a probability p f .