Class: Google::Apis::LanguageV1beta2::XpsVideoActionRecognitionEvaluationMetrics

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



5055
5056
5057
# File 'lib/google/apis/language_v1beta2/classes.rb', line 5055

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)


5048
5049
5050
# File 'lib/google/apis/language_v1beta2/classes.rb', line 5048

def evaluated_action_count
  @evaluated_action_count
end

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

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



5053
5054
5055
# File 'lib/google/apis/language_v1beta2/classes.rb', line 5053

def video_action_metrics_entries
  @video_action_metrics_entries
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5060
5061
5062
5063
# File 'lib/google/apis/language_v1beta2/classes.rb', line 5060

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