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

setNearestNeighbors

The nearest neighbors of the query datapoints.

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