Google Cloud Ai Platform V1 Client - Class AttributedItem (0.24.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
NameDescription
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
TypeDescription
string

setAnnotationResourceName

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDistance

The distance of this item to the annotation.

Returns
TypeDescription
float

setDistance

The distance of this item to the annotation.

Parameter
NameDescription
var float
Returns
TypeDescription
$this