Class: Google::Apis::LanguageV2::XpsVideoActionRecognitionEvaluationMetrics

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/language_v2/classes.rb,
lib/google/apis/language_v2/representations.rb,
lib/google/apis/language_v2/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.



4749
4750
4751
# File 'lib/google/apis/language_v2/classes.rb', line 4749

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)


4742
4743
4744
# File 'lib/google/apis/language_v2/classes.rb', line 4742

def evaluated_action_count
  @evaluated_action_count
end

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

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



4747
4748
4749
# File 'lib/google/apis/language_v2/classes.rb', line 4747

def video_action_metrics_entries
  @video_action_metrics_entries
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4754
4755
4756
4757
# File 'lib/google/apis/language_v2/classes.rb', line 4754

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