Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::Neighbor (v0.48.0)

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

Neighbors for example-based explanations.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#neighbor_distance

def neighbor_distance() -> ::Float
Returns
  • (::Float) — Output only. The neighbor distance.

#neighbor_id

def neighbor_id() -> ::String
Returns
  • (::String) — Output only. The neighbor id.