Vertex AI V1 API - Module Google::Cloud::AIPlatform::V1::ExplanationMetadata::InputMetadata::Visualization::Polarity (v0.12.0)

Reference documentation and code samples for the Vertex AI V1 API module Google::Cloud::AIPlatform::V1::ExplanationMetadata::InputMetadata::Visualization::Polarity.

Whether to only highlight pixels with positive contributions, negative or both. Defaults to POSITIVE.

Constants

POLARITY_UNSPECIFIED

value: 0
Default value. This is the same as POSITIVE.

POSITIVE

value: 1
Highlights the pixels/outlines that were most influential to the model's prediction.

NEGATIVE

value: 2
Setting polarity to negative highlights areas that does not lead to the models's current prediction.

BOTH

value: 3
Shows both positive and negative attributions.