Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::ExamplesOverride.
Overrides for example-based explanations.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#crowding_count
def crowding_count() -> ::Integer
Returns
- (::Integer) — The number of neighbors to return that have the same crowding tag.
#crowding_count=
def crowding_count=(value) -> ::Integer
Parameter
- value (::Integer) — The number of neighbors to return that have the same crowding tag.
Returns
- (::Integer) — The number of neighbors to return that have the same crowding tag.
#data_format
def data_format() -> ::Google::Cloud::AIPlatform::V1::ExamplesOverride::DataFormat
Returns
- (::Google::Cloud::AIPlatform::V1::ExamplesOverride::DataFormat) — The format of the data being provided with each call.
#data_format=
def data_format=(value) -> ::Google::Cloud::AIPlatform::V1::ExamplesOverride::DataFormat
Parameter
- value (::Google::Cloud::AIPlatform::V1::ExamplesOverride::DataFormat) — The format of the data being provided with each call.
Returns
- (::Google::Cloud::AIPlatform::V1::ExamplesOverride::DataFormat) — The format of the data being provided with each call.
#neighbor_count
def neighbor_count() -> ::Integer
Returns
- (::Integer) — The number of neighbors to return.
#neighbor_count=
def neighbor_count=(value) -> ::Integer
Parameter
- value (::Integer) — The number of neighbors to return.
Returns
- (::Integer) — The number of neighbors to return.
#restrictions
def restrictions() -> ::Array<::Google::Cloud::AIPlatform::V1::ExamplesRestrictionsNamespace>
Returns
- (::Array<::Google::Cloud::AIPlatform::V1::ExamplesRestrictionsNamespace>) — Restrict the resulting nearest neighbors to respect these constraints.
#restrictions=
def restrictions=(value) -> ::Array<::Google::Cloud::AIPlatform::V1::ExamplesRestrictionsNamespace>
Parameter
- value (::Array<::Google::Cloud::AIPlatform::V1::ExamplesRestrictionsNamespace>) — Restrict the resulting nearest neighbors to respect these constraints.
Returns
- (::Array<::Google::Cloud::AIPlatform::V1::ExamplesRestrictionsNamespace>) — Restrict the resulting nearest neighbors to respect these constraints.
#return_embeddings
def return_embeddings() -> ::Boolean
Returns
- (::Boolean) — If true, return the embeddings instead of neighbors.
#return_embeddings=
def return_embeddings=(value) -> ::Boolean
Parameter
- value (::Boolean) — If true, return the embeddings instead of neighbors.
Returns
- (::Boolean) — If true, return the embeddings instead of neighbors.