Class: Google::Apis::LanguageV1beta2::XpsCorrelationStats

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

A correlation statistics between two series of DataType values. The series may have differing DataType-s, but within a single series the DataType must be the same.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ XpsCorrelationStats

Returns a new instance of XpsCorrelationStats.



1984
1985
1986
# File 'lib/google/apis/language_v1beta2/classes.rb', line 1984

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

Instance Attribute Details

#cramers_vFloat

The correlation value using the Cramer's V measure. Corresponds to the JSON property cramersV

Returns:

  • (Float)


1982
1983
1984
# File 'lib/google/apis/language_v1beta2/classes.rb', line 1982

def cramers_v
  @cramers_v
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1989
1990
1991
# File 'lib/google/apis/language_v1beta2/classes.rb', line 1989

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