Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Add sampler argument to tabular data #792

Merged
merged 3 commits into from
Sep 23, 2021
Merged

Conversation

ethanwharris
Copy link
Collaborator

@ethanwharris ethanwharris commented Sep 22, 2021

What does this PR do?

Fixes # (issue)

Before submitting

  • Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
  • Did you read the contributor guideline, Pull Request section?
  • Did you make sure your PR does only one thing, instead of bundling different changes together?
  • Did you make sure to update the documentation with your changes?
  • Did you write any new necessary tests? [not needed for typos/docs]
  • Did you verify new and existing tests pass locally with your changes?
  • If you made a notable change (that affects users), did you update the CHANGELOG?

PR review

  • Is this pull request ready for review? (if not, please submit in draft mode)

Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.

Did you have fun?

Make sure you had fun coding 🙃

@codecov
Copy link

codecov bot commented Sep 22, 2021

Codecov Report

Merging #792 (b510f52) into master (ca3870a) will decrease coverage by 4.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #792      +/-   ##
==========================================
- Coverage   89.83%   85.83%   -4.01%     
==========================================
  Files         213      213              
  Lines       11404    11405       +1     
==========================================
- Hits        10245     9789     -456     
- Misses       1159     1616     +457     
Flag Coverage Δ
unittests 85.83% <100.00%> (-4.01%) ⬇️

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

Impacted Files Coverage Δ
flash/tabular/data.py 93.71% <100.00%> (+0.03%) ⬆️
flash/text/question_answering/model.py 29.16% <0.00%> (-61.81%) ⬇️
flash/text/question_answering/data.py 28.29% <0.00%> (-58.53%) ⬇️
flash/text/classification/cli.py 53.84% <0.00%> (-46.16%) ⬇️
flash/text/question_answering/cli.py 60.00% <0.00%> (-40.00%) ⬇️
flash/text/classification/data.py 57.84% <0.00%> (-31.40%) ⬇️
flash/text/seq2seq/core/utils.py 70.00% <0.00%> (-30.00%) ⬇️
flash/text/seq2seq/core/metrics.py 74.07% <0.00%> (-25.00%) ⬇️
flash/text/seq2seq/core/data.py 65.85% <0.00%> (-24.40%) ⬇️
flash/text/classification/model.py 69.09% <0.00%> (-23.64%) ⬇️
... and 4 more

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 ca3870a...b510f52. Read the comment docs.

Copy link
Contributor

@tchaton tchaton left a comment

Choose a reason for hiding this comment

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

LGTM !

@tchaton tchaton merged commit 81b73ad into master Sep 23, 2021
@tchaton tchaton deleted the bugfix/tabular_from_csv_sampler branch September 23, 2021 10:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants