Class: Google::Apis::LanguageV1beta2::XpsTablesDatasetMetadata

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

Metadata for a dataset used for AutoML Tables.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ XpsTablesDatasetMetadata

Returns a new instance of XpsTablesDatasetMetadata.



4013
4014
4015
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4013

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)


3991
3992
3993
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3991

def ml_use_column_id
  @ml_use_column_id
end

#primary_table_specGoogle::Apis::LanguageV1beta2::XpsTableSpec

Primary table. Corresponds to the JSON property primaryTableSpec



3996
3997
3998
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3996

def primary_table_spec
  @primary_table_spec
end

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

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



4001
4002
4003
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4001

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)


4006
4007
4008
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4006

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)


4011
4012
4013
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4011

def weight_column_id
  @weight_column_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4018
4019
4020
4021
4022
4023
4024
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4018

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