Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Examples
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Examples
- 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
Example-based explainability that returns the nearest neighbors from the provided dataset.
Instance Attribute Summary collapse
-
#example_gcs_source ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExamplesExampleGcsSource
The Cloud Storage input instances.
-
#gcs_source ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GcsSource
The Google Cloud Storage location for the input content.
-
#nearest_neighbor_search_config ⇒ Object
The full configuration for the generated index, the semantics are the same as metadata and should match NearestNeighborSearchConfig.
-
#neighbor_count ⇒ Fixnum
The number of neighbors to return when querying for examples.
-
#presets ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Presets
Preset configuration for example-based explanations Corresponds to the JSON property
presets.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1Examples
constructor
A new instance of GoogleCloudAiplatformV1beta1Examples.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1Examples
Returns a new instance of GoogleCloudAiplatformV1beta1Examples.
8247 8248 8249 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8247 def initialize(**args) update!(**args) end |
Instance Attribute Details
#example_gcs_source ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExamplesExampleGcsSource
The Cloud Storage input instances.
Corresponds to the JSON property exampleGcsSource
8222 8223 8224 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8222 def example_gcs_source @example_gcs_source end |
#gcs_source ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GcsSource
The Google Cloud Storage location for the input content.
Corresponds to the JSON property gcsSource
8227 8228 8229 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8227 def gcs_source @gcs_source end |
#nearest_neighbor_search_config ⇒ Object
The full configuration for the generated index, the semantics are the same as
metadata and should match NearestNeighborSearchConfig.
Corresponds to the JSON property nearestNeighborSearchConfig
8235 8236 8237 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8235 def nearest_neighbor_search_config @nearest_neighbor_search_config end |
#neighbor_count ⇒ Fixnum
The number of neighbors to return when querying for examples.
Corresponds to the JSON property neighborCount
8240 8241 8242 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8240 def neighbor_count @neighbor_count end |
#presets ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Presets
Preset configuration for example-based explanations
Corresponds to the JSON property presets
8245 8246 8247 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8245 def presets @presets end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8252 8253 8254 8255 8256 8257 8258 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8252 def update!(**args) @example_gcs_source = args[:example_gcs_source] if args.key?(:example_gcs_source) @gcs_source = args[:gcs_source] if args.key?(:gcs_source) @nearest_neighbor_search_config = args[:nearest_neighbor_search_config] if args.key?(:nearest_neighbor_search_config) @neighbor_count = args[:neighbor_count] if args.key?(:neighbor_count) @presets = args[:presets] if args.key?(:presets) end |