For the sake of simplicity, rename and representing the fraction of examples from the negative and positive class respectively, satisfying . The rule to choose is the following: