Class: Google::Apis::LanguageV1::XpsVideoActionRecognitionEvaluationMetrics

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/language_v1/classes.rb,
lib/google/apis/language_v1/representations.rb,
lib/google/apis/language_v1/representations.rb

Overview

Model evaluation metrics for video action recognition.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ XpsVideoActionRecognitionEvaluationMetrics

Returns a new instance of XpsVideoActionRecognitionEvaluationMetrics.



5035
5036
5037
# File 'lib/google/apis/language_v1/classes.rb', line 5035

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#evaluated_action_countFixnum

Output only. The number of ground truth actions used to create this evaluation. Corresponds to the JSON property evaluatedActionCount

Returns:

  • (Fixnum)


5028
5029
5030
# File 'lib/google/apis/language_v1/classes.rb', line 5028

def evaluated_action_count
  @evaluated_action_count
end

#video_action_metrics_entriesArray<Google::Apis::LanguageV1::XpsVideoActionMetricsEntry>

Output only. The metric entries for precision window lengths: 1s,2s,3s,4s, 5s. Corresponds to the JSON property videoActionMetricsEntries



5033
5034
5035
# File 'lib/google/apis/language_v1/classes.rb', line 5033

def video_action_metrics_entries
  @video_action_metrics_entries
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5040
5041
5042
5043
# File 'lib/google/apis/language_v1/classes.rb', line 5040

def update!(**args)
  @evaluated_action_count = args[:evaluated_action_count] if args.key?(:evaluated_action_count)
  @video_action_metrics_entries = args[:video_action_metrics_entries] if args.key?(:video_action_metrics_entries)
end