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

Reduce Naive Bayes test time #5082

Merged
merged 4 commits into from
Dec 18, 2022
Merged

Conversation

lowener
Copy link
Contributor

@lowener lowener commented Dec 13, 2022

Linking #5053
The number of columns is now reduced, a few similar tests are grouped together, to avoid fitting multiple time the same model on the same data. This results in time and memory usage reduction.

On my local machine the speedup is of x1.84, the duration goes from 142.79s (0:02:22) to 77.05s (0:01:17).

@lowener lowener requested a review from a team as a code owner December 13, 2022 13:29
@github-actions github-actions bot added the Cython / Python Cython or Python issue label Dec 13, 2022
@lowener lowener added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Dec 14, 2022
@dantegd
Copy link
Member

dantegd commented Dec 14, 2022

rerun tests

@dantegd
Copy link
Member

dantegd commented Dec 14, 2022

@gpucibot merge

@codecov-commenter
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (branch-23.02@d59da09). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@               Coverage Diff               @@
##             branch-23.02    #5082   +/-   ##
===============================================
  Coverage                ?   78.96%           
===============================================
  Files                   ?      192           
  Lines                   ?    12377           
  Branches                ?        0           
===============================================
  Hits                    ?     9773           
  Misses                  ?     2604           
  Partials                ?        0           
Flag Coverage Δ
dask 45.78% <0.00%> (?)
non-dask 68.97% <0.00%> (?)

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

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@rapids-bot rapids-bot bot merged commit 94e9a20 into rapidsai:branch-23.02 Dec 18, 2022
@lowener lowener deleted the 23.02-tests-nb branch December 19, 2022 11:51
jakirkham pushed a commit to jakirkham/cuml that referenced this pull request Feb 27, 2023
Linking rapidsai#5053 
The number of columns is now reduced, a few similar tests are grouped together, to avoid fitting multiple time the same model on the same data. This results in time and memory usage reduction.

On my local machine the speedup is of x1.84, the duration goes from 142.79s (0:02:22) to 77.05s (0:01:17).

Authors:
  - Micka (https://github.com/lowener)
  - Dante Gama Dessavre (https://github.com/dantegd)

Approvers:
  - William Hicks (https://github.com/wphicks)

URL: rapidsai#5082
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Cython / Python Cython or Python issue improvement Improvement / enhancement to an existing function non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants