Class: Google::Apis::LanguageV1::XpsCorrelationStats
- Inherits:
-
Object
- Object
- Google::Apis::LanguageV1::XpsCorrelationStats
- 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
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
-
#cramers_v ⇒ Float
The correlation value using the Cramer's V measure.
Instance Method Summary collapse
-
#initialize(**args) ⇒ XpsCorrelationStats
constructor
A new instance of XpsCorrelationStats.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ XpsCorrelationStats
Returns a new instance of XpsCorrelationStats.
1964 1965 1966 |
# File 'lib/google/apis/language_v1/classes.rb', line 1964 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cramers_v ⇒ Float
The correlation value using the Cramer's V measure.
Corresponds to the JSON property cramersV
1962 1963 1964 |
# File 'lib/google/apis/language_v1/classes.rb', line 1962 def cramers_v @cramers_v end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1969 1970 1971 |
# File 'lib/google/apis/language_v1/classes.rb', line 1969 def update!(**args) @cramers_v = args[:cramers_v] if args.key?(:cramers_v) end |