Class: Google::Apis::LanguageV1::XpsTablesDatasetMetadata
- Inherits:
-
Object
- Object
- Google::Apis::LanguageV1::XpsTablesDatasetMetadata
- 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
Metadata for a dataset used for AutoML Tables. Next ID: 6
Instance Attribute Summary collapse
-
#ml_use_column_id ⇒ Fixnum
Id the column to split the table.
-
#primary_table_spec ⇒ Google::Apis::LanguageV1::XpsTableSpec
Primary table.
-
#target_column_correlations ⇒ Hash<String,Google::Apis::LanguageV1::XpsCorrelationStats>
(the column id : its CorrelationStats with target column).
-
#target_column_id ⇒ Fixnum
Id of the primary table column that should be used as the training label.
-
#weight_column_id ⇒ Fixnum
Id of the primary table column that should be used as the weight column.
Instance Method Summary collapse
-
#initialize(**args) ⇒ XpsTablesDatasetMetadata
constructor
A new instance of XpsTablesDatasetMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ XpsTablesDatasetMetadata
Returns a new instance of XpsTablesDatasetMetadata.
3998 3999 4000 |
# File 'lib/google/apis/language_v1/classes.rb', line 3998 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ml_use_column_id ⇒ Fixnum
Id the column to split the table.
Corresponds to the JSON property mlUseColumnId
3976 3977 3978 |
# File 'lib/google/apis/language_v1/classes.rb', line 3976 def ml_use_column_id @ml_use_column_id end |
#primary_table_spec ⇒ Google::Apis::LanguageV1::XpsTableSpec
Primary table.
Corresponds to the JSON property primaryTableSpec
3981 3982 3983 |
# File 'lib/google/apis/language_v1/classes.rb', line 3981 def primary_table_spec @primary_table_spec end |
#target_column_correlations ⇒ Hash<String,Google::Apis::LanguageV1::XpsCorrelationStats>
(the column id : its CorrelationStats with target column).
Corresponds to the JSON property targetColumnCorrelations
3986 3987 3988 |
# File 'lib/google/apis/language_v1/classes.rb', line 3986 def target_column_correlations @target_column_correlations end |
#target_column_id ⇒ Fixnum
Id of the primary table column that should be used as the training label.
Corresponds to the JSON property targetColumnId
3991 3992 3993 |
# File 'lib/google/apis/language_v1/classes.rb', line 3991 def target_column_id @target_column_id end |
#weight_column_id ⇒ Fixnum
Id of the primary table column that should be used as the weight column.
Corresponds to the JSON property weightColumnId
3996 3997 3998 |
# File 'lib/google/apis/language_v1/classes.rb', line 3996 def weight_column_id @weight_column_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4003 4004 4005 4006 4007 4008 4009 |
# File 'lib/google/apis/language_v1/classes.rb', line 4003 def update!(**args) @ml_use_column_id = args[:ml_use_column_id] if args.key?(:ml_use_column_id) @primary_table_spec = args[:primary_table_spec] if args.key?(:primary_table_spec) @target_column_correlations = args[:target_column_correlations] if args.key?(:target_column_correlations) @target_column_id = args[:target_column_id] if args.key?(:target_column_id) @weight_column_id = args[:weight_column_id] if args.key?(:weight_column_id) end |