Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaTrainingjobDefinitionHierarchyConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb

Overview

Configuration that defines the hierarchical relationship of time series and parameters for hierarchical forecasting strategies.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1SchemaTrainingjobDefinitionHierarchyConfig

Returns a new instance of GoogleCloudAiplatformV1SchemaTrainingjobDefinitionHierarchyConfig.



27303
27304
27305
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 27303

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

Instance Attribute Details

#group_columnsArray<String>

A list of time series attribute column names that define the time series hierarchy. Only one level of hierarchy is supported, ex. 'region' for a hierarchy of stores or 'department' for a hierarchy of products. If multiple columns are specified, time series will be grouped by their combined values, ex. ('blue', 'large') for 'color' and 'size', up to 5 columns are accepted. If no group columns are specified, all time series are considered to be part of the same group. Corresponds to the JSON property groupColumns

Returns:

  • (Array<String>)


27283
27284
27285
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 27283

def group_columns
  @group_columns
end

#group_temporal_total_weightFloat

The weight of the loss for predictions aggregated over both the horizon and time series in the same hierarchy group. Corresponds to the JSON property groupTemporalTotalWeight

Returns:

  • (Float)


27289
27290
27291
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 27289

def group_temporal_total_weight
  @group_temporal_total_weight
end

#group_total_weightFloat

The weight of the loss for predictions aggregated over time series in the same group. Corresponds to the JSON property groupTotalWeight

Returns:

  • (Float)


27295
27296
27297
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 27295

def group_total_weight
  @group_total_weight
end

#temporal_total_weightFloat

The weight of the loss for predictions aggregated over the horizon for a single time series. Corresponds to the JSON property temporalTotalWeight

Returns:

  • (Float)


27301
27302
27303
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 27301

def temporal_total_weight
  @temporal_total_weight
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



27308
27309
27310
27311
27312
27313
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 27308

def update!(**args)
  @group_columns = args[:group_columns] if args.key?(:group_columns)
  @group_temporal_total_weight = args[:group_temporal_total_weight] if args.key?(:group_temporal_total_weight)
  @group_total_weight = args[:group_total_weight] if args.key?(:group_total_weight)
  @temporal_total_weight = args[:temporal_total_weight] if args.key?(:temporal_total_weight)
end