Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExamplesOverride
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExamplesOverride
- 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
Overrides for example-based explanations.
Instance Attribute Summary collapse
-
#crowding_count ⇒ Fixnum
The number of neighbors to return that have the same crowding tag.
-
#data_format ⇒ String
The format of the data being provided with each call.
-
#neighbor_count ⇒ Fixnum
The number of neighbors to return.
-
#restrictions ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExamplesRestrictionsNamespace>
Restrict the resulting nearest neighbors to respect these constraints.
-
#return_embeddings ⇒ Boolean
(also: #return_embeddings?)
If true, return the embeddings instead of neighbors.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ExamplesOverride
constructor
A new instance of GoogleCloudAiplatformV1beta1ExamplesOverride.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ExamplesOverride
Returns a new instance of GoogleCloudAiplatformV1beta1ExamplesOverride.
6516 6517 6518 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6516 def initialize(**args) update!(**args) end |
Instance Attribute Details
#crowding_count ⇒ Fixnum
The number of neighbors to return that have the same crowding tag.
Corresponds to the JSON property crowdingCount
6493 6494 6495 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6493 def crowding_count @crowding_count end |
#data_format ⇒ String
The format of the data being provided with each call.
Corresponds to the JSON property dataFormat
6498 6499 6500 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6498 def data_format @data_format end |
#neighbor_count ⇒ Fixnum
The number of neighbors to return.
Corresponds to the JSON property neighborCount
6503 6504 6505 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6503 def neighbor_count @neighbor_count end |
#restrictions ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExamplesRestrictionsNamespace>
Restrict the resulting nearest neighbors to respect these constraints.
Corresponds to the JSON property restrictions
6508 6509 6510 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6508 def restrictions @restrictions end |
#return_embeddings ⇒ Boolean Also known as: return_embeddings?
If true, return the embeddings instead of neighbors.
Corresponds to the JSON property returnEmbeddings
6513 6514 6515 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6513 def @return_embeddings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6521 6522 6523 6524 6525 6526 6527 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6521 def update!(**args) @crowding_count = args[:crowding_count] if args.key?(:crowding_count) @data_format = args[:data_format] if args.key?(:data_format) @neighbor_count = args[:neighbor_count] if args.key?(:neighbor_count) @restrictions = args[:restrictions] if args.key?(:restrictions) @return_embeddings = args[:return_embeddings] if args.key?(:return_embeddings) end |