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.



3712
3713
3714
# File 'lib/google/apis/language_v2/classes.rb', line 3712

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)


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

def ml_use_column_id
  @ml_use_column_id
end

#primary_table_specGoogle::Apis::LanguageV2::XpsTableSpec

Primary table. Corresponds to the JSON property primaryTableSpec



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

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



3700
3701
3702
# File 'lib/google/apis/language_v2/classes.rb', line 3700

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)


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

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)


3710
3711
3712
# File 'lib/google/apis/language_v2/classes.rb', line 3710

def weight_column_id
  @weight_column_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3717
3718
3719
3720
3721
3722
3723
# File 'lib/google/apis/language_v2/classes.rb', line 3717

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