Module: Google::Cloud::AIPlatform::V1::ExplanationMetadata::InputMetadata::Visualization::Polarity
- Defined in:
- proto_docs/google/cloud/aiplatform/v1/explanation_metadata.rb
Overview
Whether to only highlight pixels with positive contributions, negative or both. Defaults to POSITIVE.
Constant Summary collapse
- POLARITY_UNSPECIFIED =
Default value. This is the same as POSITIVE.
0
- POSITIVE =
Highlights the pixels/outlines that were most influential to the model's prediction.
1
- NEGATIVE =
Setting polarity to negative highlights areas that does not lead to the models's current prediction.
2
- BOTH =
Shows both positive and negative attributions.
3