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

Add random sampling module to raiutils #1928

Merged
merged 2 commits into from
Feb 1, 2023
Merged

Conversation

gaugup
Copy link
Contributor

@gaugup gaugup commented Jan 30, 2023

Description

The function generate_random_sample is a generic sampling function that can be used from responsibleai and other code modules from Azure Machine Learning.

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.

@codecov-commenter
Copy link

codecov-commenter commented Jan 30, 2023

Codecov Report

Merging #1928 (6b4ba62) into main (0807da6) will decrease coverage by 2.79%.
The diff coverage is 80.00%.

@@            Coverage Diff             @@
##             main    #1928      +/-   ##
==========================================
- Coverage   93.34%   90.55%   -2.79%     
==========================================
  Files          93       48      -45     
  Lines        4612     1927    -2685     
==========================================
- Hits         4305     1745    -2560     
+ Misses        307      182     -125     
Flag Coverage Δ
unittests 90.55% <80.00%> (-2.79%) ⬇️

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

Impacted Files Coverage Δ
raiutils/raiutils/sampling/random_sampling.py 77.77% <77.77%> (ø)
raiutils/raiutils/sampling/__init__.py 100.00% <100.00%> (ø)
...ponsibleai/responsibleai/_tools/shared/versions.py
responsibleai/responsibleai/_interfaces.py
...tabalanceanalysis/distribution_balance_measures.py
responsibleai/responsibleai/__version__.py
responsibleai/responsibleai/_internal/constants.py
...tools/counterfactual/dashboard_schemas/__init__.py
...ponsibleai/responsibleai/_tools/shared/__init__.py
...sibleai/responsibleai/_tools/shared/base_result.py
... and 39 more

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

@gaugup gaugup enabled auto-merge (squash) February 1, 2023 03:45
@gaugup gaugup merged commit 99fd3fc into main Feb 1, 2023
@gaugup gaugup deleted the gaugup/AddSamplingLogicRaiUtils branch February 1, 2023 05:37
RubyZ10 pushed a commit that referenced this pull request Feb 7, 2023
Signed-off-by: Gaurav Gupta <[email protected]>
Signed-off-by: RubyZ10 <[email protected]>
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.

3 participants