Skip to content

Conversation

MaxwellLZH
Copy link
Contributor

Reference Issues/PRs

This is a fix to issue #19920 . Include the following changes:

  • Add force_all_finite=False in self._validate_data
  • Propagate NaN values in transform and inverse_transform method

@MaxwellLZH MaxwellLZH changed the title FET KBinsDiscretizer supports NaN as input values WIP KBinsDiscretizer supports NaN as input values Apr 20, 2021
@adrinjalali
Copy link
Member

Reading through #19920, it doesn't seem this is what we've agreed upon (there doesn't seem to be an agreement there).

This also seems very similar to the discussion related to #28043 (cc @StefanieSenger )

I think we should be adding a constructor argument allowing the user to set what the behavior should be.

cc @ogrisel @lorentzenchr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants