Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionHierarchyConfig
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionHierarchyConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
Configuration that defines the hierarchical relationship of time series and parameters for hierarchical forecasting strategies.
Instance Attribute Summary collapse
-
#group_columns ⇒ Array<String>
A list of time series attribute column names that define the time series hierarchy.
-
#group_temporal_total_weight ⇒ Float
The weight of the loss for predictions aggregated over both the horizon and time series in the same hierarchy group.
-
#group_total_weight ⇒ Float
The weight of the loss for predictions aggregated over time series in the same group.
-
#temporal_total_weight ⇒ Float
The weight of the loss for predictions aggregated over the horizon for a single time series.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionHierarchyConfig
constructor
A new instance of GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionHierarchyConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionHierarchyConfig
Returns a new instance of GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionHierarchyConfig.
29681 29682 29683 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 29681 def initialize(**args) update!(**args) end |
Instance Attribute Details
#group_columns ⇒ Array<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
29661 29662 29663 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 29661 def group_columns @group_columns end |
#group_temporal_total_weight ⇒ Float
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
29667 29668 29669 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 29667 def group_temporal_total_weight @group_temporal_total_weight end |
#group_total_weight ⇒ Float
The weight of the loss for predictions aggregated over time series in the same
group.
Corresponds to the JSON property groupTotalWeight
29673 29674 29675 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 29673 def group_total_weight @group_total_weight end |
#temporal_total_weight ⇒ Float
The weight of the loss for predictions aggregated over the horizon for a
single time series.
Corresponds to the JSON property temporalTotalWeight
29679 29680 29681 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 29679 def temporal_total_weight @temporal_total_weight end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
29686 29687 29688 29689 29690 29691 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 29686 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 |