Google Cloud Ai Platform V1 Client - Class AttributedItem (1.4.0)

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

Attributed items for a given annotation, typically representing neighbors from the training sets constrained by the query type.

Generated from protobuf message google.cloud.aiplatform.v1.ErrorAnalysisAnnotation.AttributedItem

Namespace

Google \ Cloud \ AIPlatform \ V1 \ ErrorAnalysisAnnotation

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ annotation_resource_name string

The unique ID for each annotation. Used by FE to allocate the annotation in DB.

↳ distance float

The distance of this item to the annotation.

getAnnotationResourceName

The unique ID for each annotation. Used by FE to allocate the annotation in DB.

Returns
Type Description
string

setAnnotationResourceName

The unique ID for each annotation. Used by FE to allocate the annotation in DB.

Parameter
Name Description
var string
Returns
Type Description
$this

getDistance

The distance of this item to the annotation.

Returns
Type Description
float

setDistance

The distance of this item to the annotation.

Parameter
Name Description
var float
Returns
Type Description
$this