You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[MRG+1] avoid integer overflow by using floats for matthews_corrcoef (scikit-learn#9693)
* Fix bug#9622: avoid integer overflow by using floats for matthews_corrcoef
* matthews_corrcoef: cosmetic change requested by jnothman
* Add test_matthews_corrcoef_overflow for Bug#9622
* test_matthews_corrcoef_overflow: clean-up and make deterministic
* matthews_corrcoef: pass dtype=np.float64 to sum & trace instead of using astype
* test_matthews_corrcoef_overflow: add simple deterministic tests
0 commit comments