Class ClassificationPredictionResult (1.28.1)

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

Prediction output format for Image and Text Classification.

Attributes

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

Methods

ClassificationPredictionResult

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

Prediction output format for Image and Text Classification.