Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SchemaPredictPredictionTimeSeriesForecastingPredictionResult

Inherits:
Object
  • Object
show all
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

Prediction output format for Time Series Forecasting.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SchemaPredictPredictionTimeSeriesForecastingPredictionResult

Returns a new instance of GoogleCloudAiplatformV1beta1SchemaPredictPredictionTimeSeriesForecastingPredictionResult.



27293
27294
27295
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 27293

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>)


27276
27277
27278
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 27276

def quantile_predictions
  @quantile_predictions
end

#quantile_valuesArray<Float>

Quantile values. Corresponds to the JSON property quantileValues

Returns:

  • (Array<Float>)


27281
27282
27283
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 27281

def quantile_values
  @quantile_values
end

#tft_feature_importanceGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SchemaPredictPredictionTftFeatureImportance

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



27286
27287
27288
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 27286

def tft_feature_importance
  @tft_feature_importance
end

#valueFloat

The regression value. Corresponds to the JSON property value

Returns:

  • (Float)


27291
27292
27293
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 27291

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



27298
27299
27300
27301
27302
27303
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 27298

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