Metrics icon indicating copy to clipboard operation
Metrics copied to clipboard

Refactor auc to avoid multiplication

Open Adam-Hoelscher opened this issue 6 years ago • 0 comments

Multiplying n_pos and n_neg can result in integer overflow. A little algebraic manipulation can avoid the multiplication, removing the possibility of overflow.

Adam-Hoelscher avatar Jun 28 '18 16:06 Adam-Hoelscher