8000 Allow NaNs in the matrix · Issue #157 · scikit-learn-contrib/imbalanced-learn · GitHub
[go: up one dir, main page]

Skip to content
Allow NaNs in the matrix #157
Closed
Closed
@hnykda

Description

@hnykda

Hi,

this is a bit connected to accepting sparse matrices - basically about sklearn validations.

I understand why not accepting NaN is sometimes necessary for some algorithms, it doesn't make sense for e.g. *RandomSamplers. NaNs could be copied as well.

As a workaround, I replace all NaNs by some other valid value and then convert it back. But it is of course a bit weird...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0