Evaluator component spec.
Inherits From: ComponentSpec
tfx.components.Evaluator.SPEC_CLASS(
**kwargs
)
Args |
**kwargs
|
Any inputs, outputs and execution parameters for this instance
of the component spec.
|
Methods
from_json_dict
View source
@classmethod
from_json_dict(
dict_data: Dict[Text, Any]
) -> Any
Convert from dictionary data to an object.
to_json_dict
View source
to_json_dict() -> Dict[Text, Any]
Convert from an object to a JSON serializable dictionary.
__eq__
View source
__eq__(
other
)
Return self==value.
Class Variables |
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)
}
|