Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::ExamplesOverride (v0.39.0)

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

#data_format=

def data_format=(value) -> ::Google::Cloud::AIPlatform::V1::ExamplesOverride::DataFormat
Parameter
Returns

#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

#restrictions=

def restrictions=(value) -> ::Array<::Google::Cloud::AIPlatform::V1::ExamplesRestrictionsNamespace>
Parameter
Returns

#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.