Oops, didn't read carefully enough. Why did you choose this convention? resid.sum() resid.mean() might have been nicer for success probability.  But larger resid means we are predicting worse. OK.

I would use the full name then, ``resid_misclassified``  which sounds clean and clear and we rely on tab completion.