TFX ExampleDiff component.
Inherits From: BaseBeamComponent
, BaseComponent
, BaseNode
tfx.v1.components.ExampleDiff(
examples_test: tfx.v1.types.BaseChannel
,
examples_base: tfx.v1.types.BaseChannel
,
config: tfx.v1.proto.ExampleDiffConfig
,
include_split_pairs: Optional[List[Tuple[str, str]]] = None
)
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.
Args | |
---|---|
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. |
Attributes | |
---|---|
outputs
|
Component's output channel dict. |
Methods
with_beam_pipeline_args
with_beam_pipeline_args(
beam_pipeline_args: Iterable[Union[str, placeholder.Placeholder]]
) -> 'BaseBeamComponent'
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. |
with_node_execution_options
with_node_execution_options(
node_execution_options: utils.NodeExecutionOptions
) -> typing_extensions.Self
Class Variables | |
---|---|
POST_EXECUTABLE_SPEC |
None
|
PRE_EXECUTABLE_SPEC |
None
|