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
{{ message }}
Repository navigation
Find and fix any potentially unstable cumsums #7359
#6842 reported a problem where cumsum over float32 data led to bad sums. With #7331 merged, we should find other uses of cumsum in the repo where the input could be either float32 data or very large arrays of float64 data that could lead to instability. In such cases, sklearn.utils.extmath.stable_cumsum should be used.
Activity
yangarbiter commentedon Sep 9, 2016
I would like to help to fix this issue, though this it my first time trying to contribute to scikit-learn
I've greped cumsum and find the following possible places that should be fixed:
I'll start with these place first.
The following places cumsum seems to be dealing with integers
yangarbiter commentedon Sep 9, 2016
Do we need to let
sklearn.utils.extmath.stable_cumsumable to pass in theaxisparameter?TomDLT commentedon Sep 9, 2016
yes
dalmia commentedon Dec 5, 2016
Please close this.
jnothman commentedon Dec 5, 2016
thanks