Vertex AI V1 API - Module Google::Cloud::AIPlatform::V1::ExplanationMetadata::InputMetadata::Visualization::Polarity (v0.35.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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-31 UTC."],[],[]]