Skip to content

ENH accept non finite values in random samplers#643

Merged
glemaitre merged 3 commits intoscikit-learn-contrib:masterfrom
glemaitre:is/605
Nov 16, 2019
Merged

ENH accept non finite values in random samplers#643
glemaitre merged 3 commits intoscikit-learn-contrib:masterfrom
glemaitre:is/605

Conversation

@glemaitre
Copy link
Copy Markdown
Member

Reference Issue

closes #605

What does this implement/fix? Explain your changes.

Avoir rejecting array if they contain NaN or Inf in Random*Sampler. These samplers do not use the these information to sample therefore this is safe to propagate them.

Any other comments?

@glemaitre glemaitre merged commit 45b538c into scikit-learn-contrib:master Nov 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Random Samplers fail for Nested Numpy Arrays

1 participant