Reference documentation and code samples for the Cloud AI Platform v1 API enum ExplanationMetadata.Types.InputMetadata.Types.Visualization.Types.Polarity.
Whether to only highlight pixels with positive contributions, negative
or both. Defaults to POSITIVE.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This page provides reference documentation for the `Polarity` enum within the Google Cloud AI Platform v1 API, specifically under `ExplanationMetadata.Types.InputMetadata.Types.Visualization.Types`."],["The `Polarity` enum determines whether to highlight pixels with positive contributions, negative contributions, or both, in the context of AI model explanations."],["The enum has four possible values: `Both`, `Negative`, `Positive`, and `Unspecified`, each defining a different attribution visualization behavior."],["The latest version documented is 3.22.0, and the page includes links to documentation for various previous versions of the API, going back to 1.0.0."],["`Positive` is the default behavior for the enum, and `Unspecified` is equivalent to `Positive`."]]],[]]