View Source GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1FindNeighborsResponseNearestNeighbors (google_api_ai_platform v0.13.0)

Nearest neighbors for one query.

Attributes

  • id (type: String.t, default: nil) - The ID of the query datapoint.
  • neighbors (type: list(GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1FindNeighborsResponseNeighbor.t), default: nil) - All its neighbors.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1FindNeighborsResponseNearestNeighbors{
    id: String.t() | nil,
    neighbors:
      [
        GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1FindNeighborsResponseNeighbor.t()
      ]
      | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.