Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::Schema::Predict::Params::ImageObjectDetectionPredictionParams (v0.19.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::Schema::Predict::Params::ImageObjectDetectionPredictionParams.

Prediction model parameters for Image Object Detection.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#confidence_threshold

def confidence_threshold() -> ::Float
Returns
  • (::Float) — The Model only returns predictions with at least this confidence score. Default value is 0.0

#confidence_threshold=

def confidence_threshold=(value) -> ::Float
Parameter
  • value (::Float) — 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

#max_predictions

def max_predictions() -> ::Integer
Returns
  • (::Integer) — The Model only returns up to that many top, by confidence score, predictions per instance. Note that number of returned predictions is also limited by metadata's predictionsLimit. Default value is 10.

#max_predictions=

def max_predictions=(value) -> ::Integer
Parameter
  • value (::Integer) — The Model only returns up to that many top, by confidence score, predictions per instance. Note that number of returned predictions is also limited by metadata's predictionsLimit. Default value is 10.
Returns
  • (::Integer) — The Model only returns up to that many top, by confidence score, predictions per instance. Note that number of returned predictions is also limited by metadata's predictionsLimit. Default value is 10.