Class XPSVisualization
Visualization configurations for image explanation.
Implements
Inherited Members
Namespace: Google.Apis.CloudNaturalLanguage.v1.Data
Assembly: Google.Apis.CloudNaturalLanguage.v1.dll
Syntax
public class XPSVisualization : IDirectResponseSchema
Properties
ClipPercentLowerbound
Excludes attributions below the specified percentile, from the highlighted areas. Defaults to 62.
Declaration
[JsonProperty("clipPercentLowerbound")]
public virtual float? ClipPercentLowerbound { get; set; }
Property Value
Type | Description |
---|---|
float? |
ClipPercentUpperbound
Excludes attributions above the specified percentile from the highlighted areas. Using the clip_percent_upperbound and clip_percent_lowerbound together can be useful for filtering out noise and making it easier to see areas of strong attribution. Defaults to 99.9.
Declaration
[JsonProperty("clipPercentUpperbound")]
public virtual float? ClipPercentUpperbound { get; set; }
Property Value
Type | Description |
---|---|
float? |
ColorMap
The color scheme used for the highlighted areas. Defaults to PINK_GREEN for Integrated Gradients attribution, which shows positive attributions in green and negative in pink. Defaults to VIRIDIS for XRAI attribution, which highlights the most influential regions in yellow and the least influential in blue.
Declaration
[JsonProperty("colorMap")]
public virtual string ColorMap { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
OverlayType
How the original image is displayed in the visualization. Adjusting the overlay can help increase visual clarity if the original image makes it difficult to view the visualization. Defaults to NONE.
Declaration
[JsonProperty("overlayType")]
public virtual string OverlayType { get; set; }
Property Value
Type | Description |
---|---|
string |
Polarity
Whether to only highlight pixels with positive contributions, negative or both. Defaults to POSITIVE.
Declaration
[JsonProperty("polarity")]
public virtual string Polarity { get; set; }
Property Value
Type | Description |
---|---|
string |
Type
Type of the image visualization. Only applicable to Integrated Gradients attribution. OUTLINES shows regions of attribution, while PIXELS shows per-pixel attribution. Defaults to OUTLINES.
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type | Description |
---|---|
string |