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

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

Prediction model parameters for Image Classification.

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. If this number is very high, the Model may return fewer predictions. 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. 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.