Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPredictPredictionTabularRegressionPredictionResult

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 Tabular Regression.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1SchemaPredictPredictionTabularRegressionPredictionResult

Returns a new instance of GoogleCloudAiplatformV1SchemaPredictPredictionTabularRegressionPredictionResult.



39053
39054
39055
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 39053

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

Instance Attribute Details

#lower_boundFloat

The lower bound of the prediction interval. Corresponds to the JSON property lowerBound

Returns:

  • (Float)


39031
39032
39033
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 39031

def lower_bound
  @lower_bound
end

#quantile_predictionsArray<Float>

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

Returns:

  • (Array<Float>)


39036
39037
39038
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 39036

def quantile_predictions
  @quantile_predictions
end

#quantile_valuesArray<Float>

Quantile values. Corresponds to the JSON property quantileValues

Returns:

  • (Array<Float>)


39041
39042
39043
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 39041

def quantile_values
  @quantile_values
end

#upper_boundFloat

The upper bound of the prediction interval. Corresponds to the JSON property upperBound

Returns:

  • (Float)


39046
39047
39048
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 39046

def upper_bound
  @upper_bound
end

#valueFloat

The regression value. Corresponds to the JSON property value

Returns:

  • (Float)


39051
39052
39053
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 39051

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



39058
39059
39060
39061
39062
39063
39064
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 39058

def update!(**args)
  @lower_bound = args[:lower_bound] if args.key?(:lower_bound)
  @quantile_predictions = args[:quantile_predictions] if args.key?(:quantile_predictions)
  @quantile_values = args[:quantile_values] if args.key?(:quantile_values)
  @upper_bound = args[:upper_bound] if args.key?(:upper_bound)
  @value = args[:value] if args.key?(:value)
end