tensorflow / tfx-addons

Developers helping developers. TFX-Addons is a collection of community projects to build new components, examples, libraries, and tools for TFX. The projects are organized under the auspices of the special interest group, SIG TFX-Addons. Join the group at http://goo.gle/tfx-addons-group
Apache License 2.0
125 stars 64 forks source link

Update sklearn_predict_extractor.py #112

Closed 1025KB closed 2 years ago

1025KB commented 2 years ago

Fixes #

It's a good idea to open an issue first for discussion.

github-actions[bot] commented 2 years ago

Thanks for the PR! :rocket:

Instructions: Approve using /lgtm and mark for automatic merge by using /merge.

1025KB commented 2 years ago

Some context, needs TFMA release to work

https://github.com/tensorflow/tfx/pull/4533

TheMichaelHu commented 2 years ago

There appears to be a conflict between python formatters being used.

/lgtm

github-actions[bot] commented 2 years ago

Approval received from @TheMichaelHu! :white_check_mark:

PR is approved. Missing merge command to auto-merge PR!

casassg commented 2 years ago

Seems the CI job is failing due to pickling issues - https://github.com/tensorflow/tfx-addons/runs/5340812545?check_suite_focus=true

1025KB commented 2 years ago

Seems the CI job is failing due to pickling issues - https://github.com/tensorflow/tfx-addons/runs/5340812545?check_suite_focus=true

I think it needs TFMA head / next release to work

casassg commented 2 years ago

I think it needs TFMA head / next release to work

You can modify requirements.txt to point to TFMA HEAD so we can make sure its green before merging.

1025KB commented 2 years ago

I think it needs TFMA head / next release to work

You can modify requirements.txt to point to TFMA HEAD so we can make sure its green before merging.

I updated to least tfma version but has conflict, needs to wait for next tfx release

casassg commented 2 years ago

yup. we can update once tfx is released to make sure. Meanwhile may be good to fix the linter issues (I can do it otherwise)

1025KB commented 2 years ago

yup. we can update once tfx is released to make sure. Meanwhile may be good to fix the linter issues (I can do it otherwise)

Curious, is there a quick cmd to fix lint? seems the git lint is different from my internal env :(

casassg commented 2 years ago

you can manually run pre-commit based on https://github.com/tensorflow/tfx-addons/blob/main/CONTRIBUTING.md#python-coding-style

casassg commented 2 years ago

Closing this as we archived the example