-
Notifications
You must be signed in to change notification settings - Fork 4.5k
sklearn runinference regression example #22088
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
sklearn runinference regression example #22088
Conversation
|
Can one of the admins verify this patch? |
4 similar comments
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
|
R: @AnandInguva |
|
Stopping reviewer notifications for this pull request: review requested by someone other than the bot, ceding control |
Codecov Report
@@ Coverage Diff @@
## master #22088 +/- ##
==========================================
- Coverage 74.18% 74.03% -0.15%
==========================================
Files 706 706
Lines 93229 93428 +199
==========================================
+ Hits 69159 69168 +9
- Misses 22802 22994 +192
+ Partials 1268 1266 -2
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
sdks/python/apache_beam/examples/inference/sklearn_japanese_housing_regression.py
Outdated
Show resolved
Hide resolved
|
R: @tvalentyn |
sdks/python/apache_beam/examples/inference/sklearn_japanese_housing_regression.py
Outdated
Show resolved
Hide resolved
sdks/python/apache_beam/examples/inference/sklearn_japanese_housing_regression.py
Outdated
Show resolved
Hide resolved
sdks/python/apache_beam/examples/inference/sklearn_japanese_housing_regression.py
Show resolved
Hide resolved
sdks/python/apache_beam/examples/inference/sklearn_japanese_housing_regression.py
Outdated
Show resolved
Hide resolved
sdks/python/apache_beam/examples/inference/sklearn_japanese_housing_regression.py
Outdated
Show resolved
Hide resolved
…using_regression.py Co-authored-by: Anand Inguva <34158215+AnandInguva@users.noreply.github.com>
…hompson591/beam into sklearn_regression_example
…using_regression.py Co-authored-by: Anand Inguva <34158215+AnandInguva@users.noreply.github.com>
…using_regression.py Co-authored-by: Anand Inguva <34158215+AnandInguva@users.noreply.github.com>
sdks/python/apache_beam/examples/inference/sklearn_japanese_housing_regression.py
Show resolved
Hide resolved
sdks/python/apache_beam/examples/inference/sklearn_japanese_housing_regression.py
Show resolved
Hide resolved
sdks/python/apache_beam/examples/inference/sklearn_japanese_housing_regression.py
Show resolved
Hide resolved
sdks/python/apache_beam/examples/inference/sklearn_japanese_housing_regression.py
Show resolved
Hide resolved
…hompson591/beam into sklearn_regression_example
…using_regression.py Co-authored-by: tvalentyn <tvalentyn@users.noreply.github.com>
…hompson591/beam into sklearn_regression_example
|
Run Python 3.7 PostCommit |
|
Run Python 3.7 PostCommit |
|
Let me know when this is ready to review/merge. |
|
Run Python 3.9 PostCommit |
|
Run Python 3.9 PostCommit |
|
Run Python 3.7 PostCommit |
|
Run Python 3.9 PostCommit |
|
@tvalentyn This looks ready to merge, the failing test is not the new test I added but rather the issue described here: #22605 |
|
Run Python 3.9 PostCommit |
sdks/python/apache_beam/examples/inference/sklearn_japanese_housing_regression.py
Outdated
Show resolved
Hide resolved
|
|
||
| # pylint: disable=wrong-import-order, wrong-import-position, ungrouped-imports, unused-import | ||
| try: | ||
| from apache_beam.io.gcp.gcsfilesystem import GCSFileSystem |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this necessary? I am not seeing any usage of GCSFileSystem
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This might have been preemptive. Unless we are able to save files, I think these tests could fail. However, it doesn't seem relevant to this PR and we should defer fixing it until it becomes an issue.
…using_regression.py Co-authored-by: tvalentyn <tvalentyn@users.noreply.github.com>
…hompson591/beam into sklearn_regression_example
ryanthompson591
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tvalentyn PTAL
|
|
||
| # pylint: disable=wrong-import-order, wrong-import-position, ungrouped-imports, unused-import | ||
| try: | ||
| from apache_beam.io.gcp.gcsfilesystem import GCSFileSystem |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This might have been preemptive. Unless we are able to save files, I think these tests could fail. However, it doesn't seem relevant to this PR and we should defer fixing it until it becomes an issue.
|
Run Python 3.9 PostCommit |
1 similar comment
|
Run Python 3.9 PostCommit |
Co-authored-by: Anand Inguva <34158215+AnandInguva@users.noreply.github.com> Co-authored-by: tvalentyn <tvalentyn@users.noreply.github.com>
This is an example of a regression model using an sklearn pipeline.
This illustrates how to separate examples based on what features are available in the example and then using an sklearn pipeline made for that data.
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
R: @username).addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, commentfixes #<ISSUE NUMBER>instead.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.