Google Cloud Ai Platform V1 Client - Class FindNeighborsResponse (0.22.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
NameDescription
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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setNearestNeighbors

The nearest neighbors of the query datapoints.

Parameter
NameDescription
var array<Google\Cloud\AIPlatform\V1\FindNeighborsResponse\NearestNeighbors>
Returns
TypeDescription
$this