Google Cloud Ai Platform V1 Client - Class FindNeighborsResponse (1.54.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<FindNeighborsResponse\NearestNeighbors>

The nearest neighbors of the query datapoints.

getNearestNeighbors

The nearest neighbors of the query datapoints.

Returns
Type Description
Google\Protobuf\RepeatedField<FindNeighborsResponse\NearestNeighbors>

setNearestNeighbors

The nearest neighbors of the query datapoints.

Parameter
Name Description
var array<FindNeighborsResponse\NearestNeighbors>
Returns
Type Description
$this