Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureNoiseSigmaNoiseSigmaForFeature

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

Noise sigma for a single feature.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1FeatureNoiseSigmaNoiseSigmaForFeature

Returns a new instance of GoogleCloudAiplatformV1FeatureNoiseSigmaNoiseSigmaForFeature.



8065
8066
8067
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 8065

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

Instance Attribute Details

#nameString

The name of the input feature for which noise sigma is provided. The features are defined in explanation metadata inputs. Corresponds to the JSON property name

Returns:

  • (String)


8055
8056
8057
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 8055

def name
  @name
end

#sigmaFloat

This represents the standard deviation of the Gaussian kernel that will be used to add noise to the feature prior to computing gradients. Similar to noise_sigma but represents the noise added to the current feature. Defaults to 0.1. Corresponds to the JSON property sigma

Returns:

  • (Float)


8063
8064
8065
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 8063

def sigma
  @sigma
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8070
8071
8072
8073
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 8070

def update!(**args)
  @name = args[:name] if args.key?(:name)
  @sigma = args[:sigma] if args.key?(:sigma)
end