Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::ClassificationPredictionResult.
Prediction output format for Image and Text Classification.
Inherits
- Object
 
Extended By
- Google::Protobuf::MessageExts::ClassMethods
 
Includes
- Google::Protobuf::MessageExts
 
Methods
#confidences
def confidences() -> ::Array<::Float> Returns 
 - (::Array<::Float>) — The Model's confidences in correctness of the predicted IDs, higher value means higher confidence. Order matches the Ids.
 
#confidences=
def confidences=(value) -> ::Array<::Float> Parameter 
 - value (::Array<::Float>) — The Model's confidences in correctness of the predicted IDs, higher value means higher confidence. Order matches the Ids.
 
 Returns 
 - (::Array<::Float>) — The Model's confidences in correctness of the predicted IDs, higher value means higher confidence. Order matches the Ids.
 
#display_names
def display_names() -> ::Array<::String> Returns 
 - (::Array<::String>) — The display names of the AnnotationSpecs that had been identified, order matches the IDs.
 
#display_names=
def display_names=(value) -> ::Array<::String> Parameter 
 - value (::Array<::String>) — The display names of the AnnotationSpecs that had been identified, order matches the IDs.
 
 Returns 
 - (::Array<::String>) — The display names of the AnnotationSpecs that had been identified, order matches the IDs.
 
#ids
def ids() -> ::Array<::Integer> Returns 
 - (::Array<::Integer>) — The resource IDs of the AnnotationSpecs that had been identified.
 
#ids=
def ids=(value) -> ::Array<::Integer> Parameter 
 - value (::Array<::Integer>) — The resource IDs of the AnnotationSpecs that had been identified.
 
 Returns 
 - (::Array<::Integer>) — The resource IDs of the AnnotationSpecs that had been identified.