Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide workaround for cupy.percentile bug(#3315)
Ensure that the 100th quantile value returned by cupy.percentile is the maximum of the input array rather than (possibly) NaN due to cupy/cupy#4451. This eliminates an intermittent failure observed in tests of KBinsDiscretizer, which makes use of cupy.percentile. Note that this includes an alteration of the included sklearn code and should be reverted once the upstream cupy issue is resolved. Resolve failure due to ValueError described in #2933. Authors: - William Hicks <whicks@nvidia.com> Approvers: - Dante Gama Dessavre - Victor Lafargue URL: #3315
- Loading branch information