Class: Google::Cloud::AIPlatform::V1::Schema::Predict::Prediction::ClassificationPredictionResult

Inherits:
Object
  • Object
show all
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

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.

Returns:

  • (::Array<::Float>)

    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.

Returns:

  • (::Array<::String>)

    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.

Returns:

  • (::Array<::Integer>)

    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