Metrics
Metrics copied to clipboard
Refactor auc to avoid multiplication
Multiplying n_pos and n_neg can result in integer overflow. A little algebraic manipulation can avoid the multiplication, removing the possibility of overflow.