Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::FindNeighborsResponse.
The response message for MatchService.FindNeighbors.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#nearest_neighbors
def nearest_neighbors() -> ::Array<::Google::Cloud::AIPlatform::V1::FindNeighborsResponse::NearestNeighbors>
Returns
- (::Array<::Google::Cloud::AIPlatform::V1::FindNeighborsResponse::NearestNeighbors>) — The nearest neighbors of the query datapoints.
#nearest_neighbors=
def nearest_neighbors=(value) -> ::Array<::Google::Cloud::AIPlatform::V1::FindNeighborsResponse::NearestNeighbors>
Parameter
- value (::Array<::Google::Cloud::AIPlatform::V1::FindNeighborsResponse::NearestNeighbors>) — The nearest neighbors of the query datapoints.
Returns
- (::Array<::Google::Cloud::AIPlatform::V1::FindNeighborsResponse::NearestNeighbors>) — The nearest neighbors of the query datapoints.