Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::NearestNeighbors (v0.61.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::NearestNeighbors.

Nearest neighbors for one query.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#neighbors

def neighbors() -> ::Array<::Google::Cloud::AIPlatform::V1::NearestNeighbors::Neighbor>
Returns

#neighbors=

def neighbors=(value) -> ::Array<::Google::Cloud::AIPlatform::V1::NearestNeighbors::Neighbor>
Parameter
Returns