tfx.v1.components.ExampleDiff

Stay organized with collections Save and categorize content based on your preferences.

TFX ExampleDiff component.

Computes example level diffs according to an ExampleDiffConfig. See TFDV feature_skew_detector.py for more details.

This executor is under development and may change.

examples_test A BaseChannel of ExamplesPath type, as generated by the ExampleGen component. This needs to contain any splits referenced in include_split_pairs.
examples_base A second BaseChannel of ExamplesPath type to which examples should be compared. This needs to contain any splits referenced in include_split_pairs.
config A ExampleDiffConfig that defines configuration for the skew detection pipeline.
include_split_pairs Pairs of split names that ExampleDiff should be run on. Default behavior if not supplied is to run on all pairs. Order is (test, base) with respect to examples_test, examples_base.

outputs Component's output channel dict.

Methods

with_beam_pipeline_args

Add per component Beam pipeline args.

Args
beam_pipeline_args List of Beam pipeline args to be added to the Beam executor spec.

Returns
the same component itself.