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

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

Prediction model parameters for Video 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,000.

#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,000.
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,000.

#one_sec_interval_classification

def one_sec_interval_classification() -> ::Boolean
Returns
  • (::Boolean) — Set to true to request classification for a video at one-second intervals. Vertex AI returns labels and their confidence scores for each second of the entire time segment of the video that user specified in the input WARNING: Model evaluation is not done for this classification type, the quality of it depends on the training data, but there are no metrics provided to describe that quality. Default value is false

#one_sec_interval_classification=

def one_sec_interval_classification=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Set to true to request classification for a video at one-second intervals. Vertex AI returns labels and their confidence scores for each second of the entire time segment of the video that user specified in the input WARNING: Model evaluation is not done for this classification type, the quality of it depends on the training data, but there are no metrics provided to describe that quality. Default value is false
Returns
  • (::Boolean) — Set to true to request classification for a video at one-second intervals. Vertex AI returns labels and their confidence scores for each second of the entire time segment of the video that user specified in the input WARNING: Model evaluation is not done for this classification type, the quality of it depends on the training data, but there are no metrics provided to describe that quality. Default value is false

#segment_classification

def segment_classification() -> ::Boolean
Returns
  • (::Boolean) — Set to true to request segment-level classification. Vertex AI returns labels and their confidence scores for the entire time segment of the video that user specified in the input instance. Default value is true

#segment_classification=

def segment_classification=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Set to true to request segment-level classification. Vertex AI returns labels and their confidence scores for the entire time segment of the video that user specified in the input instance. Default value is true
Returns
  • (::Boolean) — Set to true to request segment-level classification. Vertex AI returns labels and their confidence scores for the entire time segment of the video that user specified in the input instance. Default value is true

#shot_classification

def shot_classification() -> ::Boolean
Returns
  • (::Boolean) — Set to true to request shot-level classification. Vertex AI determines the boundaries for each camera shot in the entire time segment of the video that user specified in the input instance. Vertex AI then returns labels and their confidence scores for each detected shot, along with the start and end time of the shot. WARNING: Model evaluation is not done for this classification type, the quality of it depends on the training data, but there are no metrics provided to describe that quality. Default value is false

#shot_classification=

def shot_classification=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Set to true to request shot-level classification. Vertex AI determines the boundaries for each camera shot in the entire time segment of the video that user specified in the input instance. Vertex AI then returns labels and their confidence scores for each detected shot, along with the start and end time of the shot. WARNING: Model evaluation is not done for this classification type, the quality of it depends on the training data, but there are no metrics provided to describe that quality. Default value is false
Returns
  • (::Boolean) — Set to true to request shot-level classification. Vertex AI determines the boundaries for each camera shot in the entire time segment of the video that user specified in the input instance. Vertex AI then returns labels and their confidence scores for each detected shot, along with the start and end time of the shot. WARNING: Model evaluation is not done for this classification type, the quality of it depends on the training data, but there are no metrics provided to describe that quality. Default value is false