tfx.components.evaluator.executor.Executor

View source on GitHub

Generic TFX model evaluator executor.

Inherits From: BaseExecutor

Child Classes

class Context

Methods

Do

View source

Runs a batch job to evaluate the eval_model against the given input.

Args
input_dict Input dict from input key to a list of Artifacts.

  • model_exports: exported model.
  • examples: examples for eval the model.
output_dict Output dict from output key to a list of Artifacts.
  • output: model evaluation results.
  • exec_properties A dict of execution properties.
  • eval_config: JSON string of tfma.EvalConfig.
  • feature_slicing_spec: JSON string of evaluator_pb2.FeatureSlicingSpec instance, providing the way to slice the data. Deprecated, use eval_config.slicing_specs instead.
  • Returns
    None