8000 Find and fix any potentially unstable cumsums · Issue #7359 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content
Find and fix any potentially unstable cumsums #7359
Closed
@jnothman

Description

@jnothman

#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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ModerateAnything that requires some knowledge of conventions and best practices

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0