Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPredictPredictionTimeSeriesForecastingPredictionResult
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPredictPredictionTimeSeriesForecastingPredictionResult
- 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
Prediction output format for Time Series Forecasting.
Instance Attribute Summary collapse
-
#quantile_predictions ⇒ Array<Float>
Quantile predictions, in 1-1 correspondence with quantile_values.
-
#quantile_values ⇒ Array<Float>
Quantile values.
-
#tft_feature_importance ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPredictPredictionTftFeatureImportance
Only use these if TFt is enabled.
-
#value ⇒ Float
The regression value.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1SchemaPredictPredictionTimeSeriesForecastingPredictionResult
constructor
A new instance of GoogleCloudAiplatformV1SchemaPredictPredictionTimeSeriesForecastingPredictionResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1SchemaPredictPredictionTimeSeriesForecastingPredictionResult
Returns a new instance of GoogleCloudAiplatformV1SchemaPredictPredictionTimeSeriesForecastingPredictionResult.
21142 21143 21144 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21142 def initialize(**args) update!(**args) end |
Instance Attribute Details
#quantile_predictions ⇒ Array<Float>
Quantile predictions, in 1-1 correspondence with quantile_values.
Corresponds to the JSON property quantilePredictions
21125 21126 21127 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21125 def quantile_predictions @quantile_predictions end |
#quantile_values ⇒ Array<Float>
Quantile values.
Corresponds to the JSON property quantileValues
21130 21131 21132 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21130 def quantile_values @quantile_values end |
#tft_feature_importance ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPredictPredictionTftFeatureImportance
Only use these if TFt is enabled.
Corresponds to the JSON property tftFeatureImportance
21135 21136 21137 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21135 def tft_feature_importance @tft_feature_importance end |
#value ⇒ Float
The regression value.
Corresponds to the JSON property value
21140 21141 21142 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21140 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
21147 21148 21149 21150 21151 21152 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21147 def update!(**args) @quantile_predictions = args[:quantile_predictions] if args.key?(:quantile_predictions) @quantile_values = args[:quantile_values] if args.key?(:quantile_values) @tft_feature_importance = args[:tft_feature_importance] if args.key?(:tft_feature_importance) @value = args[:value] if args.key?(:value) end |