Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPredictPredictionTimeSeriesForecastingPredictionResult

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

Prediction output format for Time Series Forecasting.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1SchemaPredictPredictionTimeSeriesForecastingPredictionResult

Returns a new instance of GoogleCloudAiplatformV1SchemaPredictPredictionTimeSeriesForecastingPredictionResult.



25122
25123
25124
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 25122

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

Instance Attribute Details

#quantile_predictionsArray<Float>

Quantile predictions, in 1-1 correspondence with quantile_values. Corresponds to the JSON property quantilePredictions

Returns:

  • (Array<Float>)


25105
25106
25107
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 25105

def quantile_predictions
  @quantile_predictions
end

#quantile_valuesArray<Float>

Quantile values. Corresponds to the JSON property quantileValues

Returns:

  • (Array<Float>)


25110
25111
25112
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 25110

def quantile_values
  @quantile_values
end

#tft_feature_importanceGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPredictPredictionTftFeatureImportance

Only use these if TFt is enabled. Corresponds to the JSON property tftFeatureImportance



25115
25116
25117
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 25115

def tft_feature_importance
  @tft_feature_importance
end

#valueFloat

The regression value. Corresponds to the JSON property value

Returns:

  • (Float)


25120
25121
25122
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 25120

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



25127
25128
25129
25130
25131
25132
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 25127

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