Module Google::Cloud::AIPlatform::V1::ExplanationMetadata::InputMetadata::Visualization::Polarity (v0.1.0)

Stay organized with collections Save and categorize content based on your preferences.

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.