Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH accept non finite values in random samplers #643

merged 3 commits into from Nov 16, 2019


Copy link

glemaitre commented Nov 16, 2019

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
3 of 5 checks passed
3 of 5 checks passed
continuous-integration/appveyor/pr Waiting for AppVeyor build to complete
continuous-integration/travis-ci/pr The Travis CI build is in progress
LGTM analysis: JavaScript No code changes detected
LGTM analysis: Python No new or fixed alerts
ci/circleci: python3 Your tests passed on CircleCI!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.