tfma.metrics.FeaturePreprocessor
    
    
      
    
    
      
      Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
Returns preprocessor for including features in StandardMetricInputs.
tfma.metrics.FeaturePreprocessor(
    feature_keys: Iterable[str],
    include_default_inputs: bool = True,
    model_names: Optional[Iterable[str]] = None,
    output_names: Optional[Iterable[str]] = None
) -> StandardMetricInputsPreprocessor
| Args | 
|---|
| 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. | 
  
  
 
  
    
    
      
       
    
    
  
  
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2024-04-26 UTC.
  
  
  
    
      [null,null,["Last updated 2024-04-26 UTC."],[],[]]