Can you put this at the beggining of the function after parameter validation of pos_label and neg_label?