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

Fix KBinsDiscretizer bin_edges_ #4735

Merged

Conversation

viclafargue
Copy link
Contributor

Fixes #4617

@viclafargue viclafargue requested a review from a team as a code owner May 16, 2022 16:18
@github-actions github-actions bot added the Cython / Python Cython or Python issue label May 16, 2022
@viclafargue viclafargue force-pushed the fix-kbinsdiscretizer-bin-edges branch from d62c43e to cec1b57 Compare May 16, 2022 16:57
Copy link
Contributor

@lowener lowener left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice fix, can you update the docstring to use cupy instead of numpy as well?

Copy link
Contributor

@lowener lowener left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cjnolet cjnolet added bug Something isn't working non-breaking Non-breaking change labels May 23, 2022
@cjnolet cjnolet added this to PR-WIP in v22.08 Release via automation May 23, 2022
@viclafargue
Copy link
Contributor Author

rerun tests

@cjnolet cjnolet added this to PR-WIP in v22.06 Release via automation May 23, 2022
@cjnolet cjnolet removed this from PR-WIP in v22.08 Release May 23, 2022
Copy link
Member

@cjnolet cjnolet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

v22.06 Release automation moved this from PR-WIP to PR-Reviewer approved May 23, 2022
@cjnolet
Copy link
Member

cjnolet commented May 23, 2022

@gpucibot merge

@codecov-commenter
Copy link

Codecov Report

Merging #4735 (eb1d6e0) into branch-22.06 (15aba09) will increase coverage by 0.03%.
The diff coverage is 100.00%.

@@               Coverage Diff                @@
##           branch-22.06    #4735      +/-   ##
================================================
+ Coverage         79.89%   79.92%   +0.03%     
================================================
  Files               180      180              
  Lines             11371    11384      +13     
================================================
+ Hits               9085     9099      +14     
+ Misses             2286     2285       -1     
Flag Coverage Δ
dask 45.50% <42.85%> (+0.04%) ⬆️
non-dask 69.56% <100.00%> (+0.04%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...hirdparty/sklearn/preprocessing/_discretization.py 83.72% <100.00%> (+0.38%) ⬆️
python/cuml/preprocessing/LabelEncoder.py 93.24% <0.00%> (+2.61%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 15aba09...eb1d6e0. Read the comment docs.

@rapids-bot rapids-bot bot merged commit c1b4fbe into rapidsai:branch-22.06 May 31, 2022
v22.06 Release automation moved this from PR-Reviewer approved to Done May 31, 2022
vimarsh6739 pushed a commit to vimarsh6739/cuml that referenced this pull request Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Cython / Python Cython or Python issue non-breaking Non-breaking change
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

[BUG] KBinsDiscretizer bin_edges attribute error when used with cupy input
4 participants