Google Cloud Ai Platform V1 Client - Class ErrorAnalysisAnnotation (0.13.0)

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

Model error analysis for each annotation.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ attributed_items array<Google\Cloud\AIPlatform\V1\ErrorAnalysisAnnotation\AttributedItem>

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

↳ query_type int

The query type used for finding the attributed items.

↳ outlier_score float

The outlier score of this annotated item. Usually defined as the min of all distances from attributed items.

↳ outlier_threshold float

The threshold used to determine if this annotation is an outlier or not.

getAttributedItems

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

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setAttributedItems

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

Parameter
NameDescription
var array<Google\Cloud\AIPlatform\V1\ErrorAnalysisAnnotation\AttributedItem>
Returns
TypeDescription
$this

getQueryType

The query type used for finding the attributed items.

Returns
TypeDescription
int

setQueryType

The query type used for finding the attributed items.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getOutlierScore

The outlier score of this annotated item. Usually defined as the min of all distances from attributed items.

Returns
TypeDescription
float

setOutlierScore

The outlier score of this annotated item. Usually defined as the min of all distances from attributed items.

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getOutlierThreshold

The threshold used to determine if this annotation is an outlier or not.

Returns
TypeDescription
float

setOutlierThreshold

The threshold used to determine if this annotation is an outlier or not.

Parameter
NameDescription
var float
Returns
TypeDescription
$this