Google Cloud Ai Platform V1 Client - Class FindNeighborsResponse (0.27.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class FindNeighborsResponse.

The response message for MatchService.FindNeighbors .

Generated from protobuf message google.cloud.aiplatform.v1.FindNeighborsResponse

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ nearest_neighbors
array< Google\Cloud\AIPlatform\V1\FindNeighborsResponse\NearestNeighbors >

The nearest neighbors of the query datapoints.

getNearestNeighbors

The nearest neighbors of the query datapoints.

Returns
Type
Description

setNearestNeighbors

The nearest neighbors of the query datapoints.

Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: