Uh oh!
There was an error while loading. Please reload this page.
Sklearn Mnist example and IT test - #21781
Conversation
AnandInguva
commented
Jun 9, 2022
Run Python 3.8 PostCommit |
asf-ci
commented
Jun 9, 2022
Can one of the admins verify this patch? |
4 similar comments
asf-ci
commented
Jun 9, 2022
Can one of the admins verify this patch? |
asf-ci
commented
Jun 9, 2022
Can one of the admins verify this patch? |
asf-ci
commented
Jun 9, 2022
Can one of the admins verify this patch? |
asf-ci
commented
Jun 9, 2022
Can one of the admins verify this patch? |
AnandInguva
commented
Jun 9, 2022
Run Python 3.9 PostCommit |
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
if this will have to be downloaded separately, we should mention necessary instructions. You probably want to add a section in https://github.com/apache/beam/blob/master/sdks/python/apache_beam/examples/inference/README.md.
There was a problem hiding this comment.
Shouldn't this go under apache-beam-ml/datasets/?
There was a problem hiding this comment.
This test would be internal test. Also sickbayed it for now. There are is PR in work #21887 on how to run the sample
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
yeandy
left a comment
There was a problem hiding this comment.
Do you want me to help with writing the README?
There was a problem hiding this comment.
Make output required. Remove if statement.
There was a problem hiding this comment.
Shouldn't this go under apache-beam-ml/datasets/?
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
AnandInguva
commented
Jun 15, 2022
refactored the code with recent changes. Added the test but sickbayed it for now. Adding the issue here: #21859 to unskip the tests. |
Codecov Report
@@ Coverage Diff @@## master #21781 +/- ##
==========================================
- Coverage 74.01% 74.00% -0.01%
==========================================
Files 699 700 +1 Lines 92675 92715 +40 ==========================================
+ Hits 68592 68614 +22 - Misses 22828 22846 +18
Partials 1255 1255
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
AnandInguva
commented
Jun 15, 2022
cc: @yeandy Added the gradle task |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Andy Ye <andyye333@gmail.com>
PTAL @tvalentyn |
AnandInguva
commented
Jun 15, 2022
PTAL @yeandy@tvalentyn |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Andy Ye <andyye333@gmail.com>
Can you also uncomment pytest.skip and confirm that |
Uh oh!
There was an error while loading. Please reload this page.
AnandInguva
commented
Jun 15, 2022
I checked and it runs. I was able to collect all the Inference IT tests |
AnandInguva
commented
Jun 15, 2022
@pabloem test failure unrelated to the change |
pabloem
commented
Jun 15, 2022
lgtm thanks folks |
* sklearn example and IT test * Change the example name * Refactor sklearn example * Refactor and add assertions to the sklearn test * Fixup import order * fixup: help and name * Add gradle task for sklearn IT tests * fixup lint * Update sdks/python/test-suites/direct/common.gradle Co-authored-by: Andy Ye <andyye333@gmail.com> * Change sklearn IT test marker * Uncomment * Apply suggestions from code review Co-authored-by: Andy Ye <andyye333@gmail.com> Co-authored-by: Andy Ye <andyye333@gmail.com>
* sklearn example and IT test * Change the example name * Refactor sklearn example * Refactor and add assertions to the sklearn test * Fixup import order * fixup: help and name * Add gradle task for sklearn IT tests * fixup lint * Update sdks/python/test-suites/direct/common.gradle Co-authored-by: Andy Ye <andyye333@gmail.com> * Change sklearn IT test marker * Uncomment * Apply suggestions from code review Co-authored-by: Andy Ye <andyye333@gmail.com> Co-authored-by: Andy Ye <andyye333@gmail.com>
Scikit learn example that runs on MNIST data. An IT test that runs and asserts the output on subset of MNIST data.
Also, a pytest marker that collects all the Inference IT tests and run them in them PostCommit suite on Direct Runner.
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
R: @username).CHANGES.mdwith noteworthy changes.See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)
See CI.md for more information about GitHub Actions CI.