Skip to content

Commit

Permalink
enable native Keras + TFMA (kubeflow#3409)
Browse files Browse the repository at this point in the history
Co-authored-by: Renmin Gu <renming@google.com>
  • Loading branch information
2 people authored and Jeffwan committed Dec 9, 2020
1 parent 2b9b220 commit d2428d4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion samples/core/iris/iris.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,10 @@ def _create_pipeline(
name='baseline', label_key='variety', is_baseline=True
)
],
slicing_specs=[tfma.SlicingSpec()],
slicing_specs=[
tfma.SlicingSpec(),
# Data can be sliced along a feature column. Required by TFMA visualization.
tfma.SlicingSpec(feature_keys=['sepal_length'])],
metrics_specs=[
tfma.MetricsSpec(
metrics=[
Expand Down

0 comments on commit d2428d4

Please sign in to comment.