Class: Google::Cloud::VisionAI::V1::ClassificationPredictionResult
- Inherits:
-
Object
- Object
- Google::Cloud::VisionAI::V1::ClassificationPredictionResult
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/visionai/v1/annotations.rb
Overview
Prediction output format for Image and Text Classification.
Instance Attribute Summary collapse
-
#confidences ⇒ ::Array<::Float>
The Model's confidences in correctness of the predicted IDs, higher value means higher confidence.
-
#display_names ⇒ ::Array<::String>
The display names of the AnnotationSpecs that had been identified, order matches the IDs.
-
#ids ⇒ ::Array<::Integer>
The resource IDs of the AnnotationSpecs that had been identified.
Instance Attribute Details
#confidences ⇒ ::Array<::Float>
Returns The Model's confidences in correctness of the predicted IDs, higher value means higher confidence. Order matches the Ids.
253 254 255 256 |
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 253 class ClassificationPredictionResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#display_names ⇒ ::Array<::String>
Returns The display names of the AnnotationSpecs that had been identified, order matches the IDs.
253 254 255 256 |
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 253 class ClassificationPredictionResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#ids ⇒ ::Array<::Integer>
Returns The resource IDs of the AnnotationSpecs that had been identified.
253 254 255 256 |
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 253 class ClassificationPredictionResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |