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

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

Overview

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



62
63
64
65
# File 'proto_docs/google/cloud/aiplatform/v1/schema/predict/params/video_classification.rb', line 62

class VideoClassificationPredictionParams
  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,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.



62
63
64
65
# File 'proto_docs/google/cloud/aiplatform/v1/schema/predict/params/video_classification.rb', line 62

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

#one_sec_interval_classification::Boolean

Returns 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



62
63
64
65
# File 'proto_docs/google/cloud/aiplatform/v1/schema/predict/params/video_classification.rb', line 62

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

#segment_classification::Boolean

Returns 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



62
63
64
65
# File 'proto_docs/google/cloud/aiplatform/v1/schema/predict/params/video_classification.rb', line 62

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

#shot_classification::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



62
63
64
65
# File 'proto_docs/google/cloud/aiplatform/v1/schema/predict/params/video_classification.rb', line 62

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