Questions about TFX? Join us at Google I/O!

tfx.components.Evaluator.SPEC_CLASS

Evaluator component spec.

Inherits From: ComponentSpec

**kwargs Any inputs, outputs and execution parameters for this instance of the component spec.

Methods

from_json_dict

View source

Convert from dictionary data to an object.

to_json_dict

View source

Convert from an object to a JSON serializable dictionary.

__eq__

View source

Return self==value.

INPUTS

{
 'baseline_model': ChannelParameter(type: <class 'tfx.types.standard_artifacts.Model'>),
 'examples': ChannelParameter(type: <class 'tfx.types.standard_artifacts.Examples'>),
 'model': ChannelParameter(type: <class 'tfx.types.standard_artifacts.Model'>),
 'schema': ChannelParameter(type: <class 'tfx.types.standard_artifacts.Schema'>)
}

OUTPUTS

{
 'blessing': ChannelParameter(type: <class 'tfx.types.standard_artifacts.ModelBlessing'>),
 'evaluation': ChannelParameter(type: <class 'tfx.types.standard_artifacts.ModelEvaluation'>)
}

PARAMETERS

{
 'eval_config': ExecutionParameter(type: <class 'tensorflow_model_analysis.proto.config_pb2.EvalConfig'>, optional: True),
 'example_splits': ExecutionParameter(type: (<class 'str'>, <class 'str'>), optional: True),
 'fairness_indicator_thresholds': ExecutionParameter(type: typing.List[float], optional: True),
 'feature_slicing_spec': ExecutionParameter(type: <class 'tfx.proto.evaluator_pb2.FeatureSlicingSpec'>, optional: True),
 'module_file': ExecutionParameter(type: (<class 'str'>, <class 'str'>), optional: True),
 'module_path': ExecutionParameter(type: (<class 'str'>, <class 'str'>), optional: True)
}