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

Turn off flag should_construct_pandas_query in PredictionsModelWrapperClassification #2277

Merged
merged 2 commits into from
Aug 25, 2023

Conversation

gaugup
Copy link
Contributor

@gaugup gaugup commented Aug 24, 2023

Description

should_construct_pandas_query parameter avoids using query() function to search in pandas dataframe. query() function call is slower than the alternative iloc.

Checklist

  • I have added screenshots above for all UI changes.
  • I have added e2e tests for all UI changes.
  • Documentation was updated if it was needed.

…pperClassification`

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>
@codecov-commenter
Copy link

codecov-commenter commented Aug 24, 2023

Codecov Report

Merging #2277 (3a1602c) into main (ff723ef) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #2277   +/-   ##
=======================================
  Coverage   93.20%   93.20%           
=======================================
  Files         103      103           
  Lines        5198     5198           
=======================================
  Hits         4845     4845           
  Misses        353      353           
Flag Coverage Δ
unittests 93.20% <ø> (ø)

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

@romanlutz
Copy link
Contributor

Can you add a PR description. What motivated this change?

@gaugup gaugup enabled auto-merge (squash) August 24, 2023 23:53
@gaugup gaugup merged commit e0b8348 into main Aug 25, 2023
@gaugup gaugup deleted the gaugup/PredictionWrapperOptimization branch August 25, 2023 03:25
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.

4 participants