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

Optimize calculation for L-Infinity method #342

Merged
merged 3 commits into from
Nov 20, 2023

Conversation

michael-nml
Copy link
Collaborator

This PR improves the performance for computing L-Infinity in the univariate drift calculator. Previously we were iterating over the data using python features and not fully leveraging pandas.

Copy link

codecov bot commented Nov 20, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (93ac6e7) 82.91% compared to head (fb270df) 82.90%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #342      +/-   ##
==========================================
- Coverage   82.91%   82.90%   -0.02%     
==========================================
  Files         100      100              
  Lines        7540     7534       -6     
  Branches     1351     1348       -3     
==========================================
- Hits         6252     6246       -6     
  Misses        960      960              
  Partials      328      328              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@michael-nml michael-nml changed the title Use pandas value_counts for L-Infinity method Optimize calculation for L-Infinity method Nov 20, 2023
@nnansters nnansters merged commit 0478b24 into main Nov 20, 2023
7 checks passed
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.

2 participants