Class ImageClassificationPredictionParams (1.21.0)

  ImageClassificationPredictionParams 
 ( 
 mapping 
 = 
 None 
 , 
 * 
 , 
 ignore_unknown_fields 
 = 
 False 
 , 
 ** 
 kwargs 
 ) 
 

Prediction model parameters for Image Classification.

Attributes

Name Description
confidence_threshold float
The Model only returns predictions with at least this confidence score. Default value is 0.0
max_predictions int
The Model only returns up to that many top, by confidence score, predictions per instance. If this number is very high, the Model may return fewer predictions. Default value is 10.

Inheritance

builtins.object > proto.message.Message > ImageClassificationPredictionParams

Methods

ImageClassificationPredictionParams

  ImageClassificationPredictionParams 
 ( 
 mapping 
 = 
 None 
 , 
 * 
 , 
 ignore_unknown_fields 
 = 
 False 
 , 
 ** 
 kwargs 
 ) 
 

Prediction model parameters for Image Classification.