Skip to content

Commit

Permalink
Fix python syntax of TFMA visualization (#1972)
Browse files Browse the repository at this point in the history
* Fix python syntax

* Update tfma.py
  • Loading branch information
ajchili authored and k8s-ci-robot committed Sep 5, 2019
1 parent e4556a0 commit aa8f0a2
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions backend/src/apiserver/visualization/types/tfma.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,4 @@

import tensorflow_model_analysis as tfma

if variables.get("slicing_column", False) == False {
tfma.view.render_slicing_metrics(source)
} else {
tfma.view.render_slicing_metrics(source, slicing_column=variables.get("slicing_column"))
}

tfma.view.render_slicing_metrics(source, slicing_column=variables.get('slicing_column', None))

0 comments on commit aa8f0a2

Please sign in to comment.