Class ClassificationPredictionResult (0.6.0)

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

Prediction output format for Image and Text Classification.

Attributes

Name Description
ids Sequence[int]
The resource IDs of the AnnotationSpecs that had been identified, ordered by the confidence score descendingly.
display_names Sequence[str]
The display names of the AnnotationSpecs that had been identified, order matches the IDs.
confidences Sequence[float]
The Model's confidences in correctness of the predicted IDs, higher value means higher confidence. Order matches the Ids.

Inheritance

builtins.object > proto.message.Message > ClassificationPredictionResult