-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Fix python syntax of TFMA visualization #1972
Conversation
/assign @IronPan @neuromage |
/hold |
/lgtm |
TODO: Re-enable TFMA before merging (TFMA was disabled in #1986) |
@@ -14,9 +14,9 @@ | |||
|
|||
import tensorflow_model_analysis as tfma | |||
|
|||
if variables.get("slicing_column", False) == False { | |||
if variables.get("slicing_column", False) == False: |
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 can be one line:
tfma.view.render_slicing_metrics(source, slicing_column=variables.get('slicing_column', None))
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.
done
/lgtm |
/hold cancel |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Ark-kun, IronPan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
* sklearnserver: ignore converting instances into np.array Signed-off-by: Suresh Nakkeran <suresh.n@ideas2it.com> * sklearnserver: added a test for multi datatype Signed-off-by: Suresh Nakkeran <suresh.n@ideas2it.com> * pylint and pybuild issue fix Signed-off-by: Suresh Nakkeran <suresh.n@ideas2it.com> * move sklearn multi datatype model build scripts to docs Signed-off-by: Suresh Nakkeran <suresh.n@ideas2it.com> * 1. added isvc example for sklearn mixedtype model 2. multi-datatype renamed to mixedtype Signed-off-by: Suresh Nakkeran <suresh.n@ideas2it.com>
This change is