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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
Google\Protobuf\Internal\RepeatedField

setAttributedItems

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

Parameter
Name Description
var array<Google\Cloud\AIPlatform\V1\ErrorAnalysisAnnotation\AttributedItem>
Returns
Type Description
$this

getQueryType

The query type used for finding the attributed items.

Returns
Type Description
int

setQueryType

The query type used for finding the attributed items.

Parameter
Name Description
var int
Returns
Type Description
$this

getOutlierScore

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

Returns
Type Description
float

setOutlierScore

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

Parameter
Name Description
var float
Returns
Type Description
$this

getOutlierThreshold

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

Returns
Type Description
float

setOutlierThreshold

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

Parameter
Name Description
var float
Returns
Type Description
$this