Class: Google::Cloud::AIPlatform::V1::Schema::Predict::Prediction::ClassificationPredictionResult
- Inherits:
-
Object
- Object
- Google::Cloud::AIPlatform::V1::Schema::Predict::Prediction::ClassificationPredictionResult
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/classification.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.
39 40 41 42 |
# File 'proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/classification.rb', line 39 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.
39 40 41 42 |
# File 'proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/classification.rb', line 39 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.
39 40 41 42 |
# File 'proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/classification.rb', line 39 class ClassificationPredictionResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |