public enum ExplanationMetadata.InputMetadata.Visualization.Polarity extends Enum<ExplanationMetadata.InputMetadata.Visualization.Polarity> implements ProtocolMessageEnum
Whether to only highlight pixels with positive contributions, negative or both. Defaults to POSITIVE.
Protobuf enum
google.cloud.vertexai.v1.ExplanationMetadata.InputMetadata.Visualization.Polarity
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
BOTH |
Shows both positive and negative attributions. |
BOTH_VALUE |
Shows both positive and negative attributions. |
NEGATIVE |
Setting polarity to negative highlights areas that does not lead to the models's current prediction. |
NEGATIVE_VALUE |
Setting polarity to negative highlights areas that does not lead to the models's current prediction. |
POLARITY_UNSPECIFIED |
Default value. This is the same as POSITIVE. |
POLARITY_UNSPECIFIED_VALUE |
Default value. This is the same as POSITIVE. |
POSITIVE |
Highlights the pixels/outlines that were most influential to the model's prediction. |
POSITIVE_VALUE |
Highlights the pixels/outlines that were most influential to the model's prediction. |
UNRECOGNIZED |
Static Methods |
|
---|---|
Name | Description |
forNumber(int value) |
|
getDescriptor() |
|
internalGetValueMap() |
|
valueOf(Descriptors.EnumValueDescriptor desc) |
|
valueOf(int value) |
Deprecated. Use #forNumber(int) instead. |
valueOf(String name) |
|
values() |
Methods |
|
---|---|
Name | Description |
getDescriptorForType() |
|
getNumber() |
|
getValueDescriptor() |