Class: Google::Cloud::AIPlatform::V1::Schema::Predict::Params::ImageClassificationPredictionParams

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/aiplatform/v1/schema/predict/params/image_classification.rb

Overview

Prediction model parameters for Image Classification.

Instance Attribute Summary collapse

Instance Attribute Details

#confidence_threshold::Float

Returns The Model only returns predictions with at least this confidence score. Default value is 0.0.

Returns:

  • (::Float)

    The Model only returns predictions with at least this confidence score. Default value is 0.0



37
38
39
40
# File 'proto_docs/google/cloud/aiplatform/v1/schema/predict/params/image_classification.rb', line 37

class ImageClassificationPredictionParams
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#max_predictions::Integer

Returns The Model only returns up to that many top, by confidence score, predictions per instance. If this number is very high, the Model may return fewer predictions. Default value is 10.

Returns:

  • (::Integer)

    The Model only returns up to that many top, by confidence score, predictions per instance. If this number is very high, the Model may return fewer predictions. Default value is 10.



37
38
39
40
# File 'proto_docs/google/cloud/aiplatform/v1/schema/predict/params/image_classification.rb', line 37

class ImageClassificationPredictionParams
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end