Class: Google::Cloud::AIPlatform::V1::ExamplesOverride
- Inherits:
-
Object
- Object
- Google::Cloud::AIPlatform::V1::ExamplesOverride
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/aiplatform/v1/explanation.rb
Overview
Overrides for example-based explanations.
Defined Under Namespace
Modules: DataFormat
Instance Attribute Summary collapse
-
#crowding_count ⇒ ::Integer
The number of neighbors to return that have the same crowding tag.
-
#data_format ⇒ ::Google::Cloud::AIPlatform::V1::ExamplesOverride::DataFormat
The format of the data being provided with each call.
-
#neighbor_count ⇒ ::Integer
The number of neighbors to return.
-
#restrictions ⇒ ::Array<::Google::Cloud::AIPlatform::V1::ExamplesRestrictionsNamespace>
Restrict the resulting nearest neighbors to respect these constraints.
-
#return_embeddings ⇒ ::Boolean
If true, return the embeddings instead of neighbors.
Instance Attribute Details
#crowding_count ⇒ ::Integer
Returns The number of neighbors to return that have the same crowding tag.
613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 |
# File 'proto_docs/google/cloud/aiplatform/v1/explanation.rb', line 613 class ExamplesOverride include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Data format enum. module DataFormat # Unspecified format. Must not be used. DATA_FORMAT_UNSPECIFIED = 0 # Provided data is a set of model inputs. INSTANCES = 1 # Provided data is a set of embeddings. EMBEDDINGS = 2 end end |
#data_format ⇒ ::Google::Cloud::AIPlatform::V1::ExamplesOverride::DataFormat
Returns The format of the data being provided with each call.
613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 |
# File 'proto_docs/google/cloud/aiplatform/v1/explanation.rb', line 613 class ExamplesOverride include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Data format enum. module DataFormat # Unspecified format. Must not be used. DATA_FORMAT_UNSPECIFIED = 0 # Provided data is a set of model inputs. INSTANCES = 1 # Provided data is a set of embeddings. EMBEDDINGS = 2 end end |
#neighbor_count ⇒ ::Integer
Returns The number of neighbors to return.
613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 |
# File 'proto_docs/google/cloud/aiplatform/v1/explanation.rb', line 613 class ExamplesOverride include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Data format enum. module DataFormat # Unspecified format. Must not be used. DATA_FORMAT_UNSPECIFIED = 0 # Provided data is a set of model inputs. INSTANCES = 1 # Provided data is a set of embeddings. EMBEDDINGS = 2 end end |
#restrictions ⇒ ::Array<::Google::Cloud::AIPlatform::V1::ExamplesRestrictionsNamespace>
Returns Restrict the resulting nearest neighbors to respect these constraints.
613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 |
# File 'proto_docs/google/cloud/aiplatform/v1/explanation.rb', line 613 class ExamplesOverride include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Data format enum. module DataFormat # Unspecified format. Must not be used. DATA_FORMAT_UNSPECIFIED = 0 # Provided data is a set of model inputs. INSTANCES = 1 # Provided data is a set of embeddings. EMBEDDINGS = 2 end end |
#return_embeddings ⇒ ::Boolean
Returns If true, return the embeddings instead of neighbors.
613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 |
# File 'proto_docs/google/cloud/aiplatform/v1/explanation.rb', line 613 class ExamplesOverride include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Data format enum. module DataFormat # Unspecified format. Must not be used. DATA_FORMAT_UNSPECIFIED = 0 # Provided data is a set of model inputs. INSTANCES = 1 # Provided data is a set of embeddings. EMBEDDINGS = 2 end end |