tfma.metrics.FeaturePreprocessor

Returns preprocessor for including features in StandardMetricInputs.

feature_keys List of feature keys. An empty list means all.
include_default_inputs True to include default inputs (labels, predictions, example weights) in addition to the features.
model_names Optional model names. Only used if include_default_inputs is True. If unset all models will be included with the default inputs.
output_names Optional output names. Only used if include_default_inputs is True. If unset all outputs will be included with the default inputs.