Executor for Evaluator.

Inherits From: BaseExecutor

Child Classes

class Context



View source

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

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.
  • example_splits: JSON-serialized list of names of splits on which the metrics are computed. Default behavior (when example_splits is set to None) is using the 'eval' split.
  • Returns