Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureSelectionConfigFeatureConfig
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureSelectionConfigFeatureConfig
- 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
Feature configuration.
Instance Attribute Summary collapse
-
#drift_threshold ⇒ Float
Optional.
-
#feature_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1FeatureSelectionConfigFeatureConfig
constructor
A new instance of GoogleCloudAiplatformV1beta1FeatureSelectionConfigFeatureConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1FeatureSelectionConfigFeatureConfig
Returns a new instance of GoogleCloudAiplatformV1beta1FeatureSelectionConfigFeatureConfig.
10774 10775 10776 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 10774 def initialize(**args) update!(**args) end |
Instance Attribute Details
#drift_threshold ⇒ Float
Optional. Drift threshold. If calculated difference with baseline data larger
than threshold, it will be considered as the feature has drift. If not present,
the threshold will be default to 0.3.
Corresponds to the JSON property driftThreshold
10766 10767 10768 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 10766 def drift_threshold @drift_threshold end |
#feature_id ⇒ String
Required. The ID of the feature resource. Final component of the Feature's
resource name.
Corresponds to the JSON property featureId
10772 10773 10774 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 10772 def feature_id @feature_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10779 10780 10781 10782 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 10779 def update!(**args) @drift_threshold = args[:drift_threshold] if args.key?(:drift_threshold) @feature_id = args[:feature_id] if args.key?(:feature_id) end |