Binarize labels while extracting features