Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExplanationMetadataInputMetadataFeatureValueDomain
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExplanationMetadataInputMetadataFeatureValueDomain
- 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
Domain details of the input feature value. Provides numeric information about the feature, such as its range (min, max). If the feature has been pre- processed, for example with z-scoring, then it provides information about how to recover the original feature. For example, if the input feature is an image and it has been pre-processed to obtain 0-mean and stddev = 1 values, then original_mean, and original_stddev refer to the mean and stddev of the original feature (e.g. image tensor) from which input feature (with mean = 0 and stddev = 1) was obtained.
Instance Attribute Summary collapse
-
#max_value ⇒ Float
The maximum permissible value for this feature.
-
#min_value ⇒ Float
The minimum permissible value for this feature.
-
#original_mean ⇒ Float
If this input feature has been normalized to a mean value of 0, the original_mean specifies the mean value of the domain prior to normalization.
-
#original_stddev ⇒ Float
If this input feature has been normalized to a standard deviation of 1.0, the original_stddev specifies the standard deviation of the domain prior to normalization.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ExplanationMetadataInputMetadataFeatureValueDomain
constructor
A new instance of GoogleCloudAiplatformV1beta1ExplanationMetadataInputMetadataFeatureValueDomain.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ExplanationMetadataInputMetadataFeatureValueDomain
Returns a new instance of GoogleCloudAiplatformV1beta1ExplanationMetadataInputMetadataFeatureValueDomain.
7627 7628 7629 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7627 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max_value ⇒ Float
The maximum permissible value for this feature.
Corresponds to the JSON property maxValue
7607 7608 7609 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7607 def max_value @max_value end |
#min_value ⇒ Float
The minimum permissible value for this feature.
Corresponds to the JSON property minValue
7612 7613 7614 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7612 def min_value @min_value end |
#original_mean ⇒ Float
If this input feature has been normalized to a mean value of 0, the
original_mean specifies the mean value of the domain prior to normalization.
Corresponds to the JSON property originalMean
7618 7619 7620 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7618 def original_mean @original_mean end |
#original_stddev ⇒ Float
If this input feature has been normalized to a standard deviation of 1.0, the
original_stddev specifies the standard deviation of the domain prior to
normalization.
Corresponds to the JSON property originalStddev
7625 7626 7627 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7625 def original_stddev @original_stddev end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7632 7633 7634 7635 7636 7637 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7632 def update!(**args) @max_value = args[:max_value] if args.key?(:max_value) @min_value = args[:min_value] if args.key?(:min_value) @original_mean = args[:original_mean] if args.key?(:original_mean) @original_stddev = args[:original_stddev] if args.key?(:original_stddev) end |