Class: Google::Apis::LanguageV2::XpsTablesDatasetMetadata

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

Metadata for a dataset used for AutoML Tables. Next ID: 6

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ XpsTablesDatasetMetadata

Returns a new instance of XpsTablesDatasetMetadata.



3698
3699
3700
# File 'lib/google/apis/language_v2/classes.rb', line 3698

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

Instance Attribute Details

#ml_use_column_idFixnum

Id the column to split the table. Corresponds to the JSON property mlUseColumnId

Returns:

  • (Fixnum)


3676
3677
3678
# File 'lib/google/apis/language_v2/classes.rb', line 3676

def ml_use_column_id
  @ml_use_column_id
end

#primary_table_specGoogle::Apis::LanguageV2::XpsTableSpec

Primary table. Corresponds to the JSON property primaryTableSpec



3681
3682
3683
# File 'lib/google/apis/language_v2/classes.rb', line 3681

def primary_table_spec
  @primary_table_spec
end

#target_column_correlationsHash<String,Google::Apis::LanguageV2::XpsCorrelationStats>

(the column id : its CorrelationStats with target column). Corresponds to the JSON property targetColumnCorrelations



3686
3687
3688
# File 'lib/google/apis/language_v2/classes.rb', line 3686

def target_column_correlations
  @target_column_correlations
end

#target_column_idFixnum

Id of the primary table column that should be used as the training label. Corresponds to the JSON property targetColumnId

Returns:

  • (Fixnum)


3691
3692
3693
# File 'lib/google/apis/language_v2/classes.rb', line 3691

def target_column_id
  @target_column_id
end

#weight_column_idFixnum

Id of the primary table column that should be used as the weight column. Corresponds to the JSON property weightColumnId

Returns:

  • (Fixnum)


3696
3697
3698
# File 'lib/google/apis/language_v2/classes.rb', line 3696

def weight_column_id
  @weight_column_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3703
3704
3705
3706
3707
3708
3709
# File 'lib/google/apis/language_v2/classes.rb', line 3703

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