Enum ExplanationMetadata.InputMetadata.Visualization.Polarity (3.29.0)

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.aiplatform.v1beta1.ExplanationMetadata.InputMetadata.Visualization.Polarity

Implements

ProtocolMessageEnum

Static Fields

NameDescription
BOTH

Shows both positive and negative attributions.

BOTH = 3;

BOTH_VALUE

Shows both positive and negative attributions.

BOTH = 3;

NEGATIVE

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

NEGATIVE = 2;

NEGATIVE_VALUE

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

NEGATIVE = 2;

POLARITY_UNSPECIFIED

Default value. This is the same as POSITIVE.

POLARITY_UNSPECIFIED = 0;

POLARITY_UNSPECIFIED_VALUE

Default value. This is the same as POSITIVE.

POLARITY_UNSPECIFIED = 0;

POSITIVE

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

POSITIVE = 1;

POSITIVE_VALUE

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

POSITIVE = 1;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()