AndriSignorell/DescTools

BrierScore doesn't check argument validity

dillonplunkett opened this issue · 2 comments

If BrierScore is called with the arguments flipped (predictions before responses), it will return reasonable looking, but incorrect results. Responses should always be either 0 or 1, so this could be prevented by checking the purported responses.

Good point, I will add a suitable check.