View Source GoogleApi.Language.V2.Model.XPSResponseExplanationParameters (google_api_language v0.14.0)

Attributes

  • integratedGradientsAttribution (type: GoogleApi.Language.V2.Model.XPSIntegratedGradientsAttribution.t, default: nil) - An attribution method that computes Aumann-Shapley values taking advantage of the model's fully differentiable structure. Refer to this paper for more details: https://arxiv.org/abs/1703.01365
  • xraiAttribution (type: GoogleApi.Language.V2.Model.XPSXraiAttribution.t, default: nil) - An attribution method that redistributes Integrated Gradients attribution to segmented regions, taking advantage of the model's fully differentiable structure. Refer to this paper for more details: https://arxiv.org/abs/1906.02825 XRAI currently performs better on natural images, like a picture of a house or an animal. If the images are taken in artificial environments, like a lab or manufacturing line, or from diagnostic equipment, like x-rays or quality-control cameras, use Integrated Gradients instead.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Language.V2.Model.XPSResponseExplanationParameters{
  integratedGradientsAttribution:
    GoogleApi.Language.V2.Model.XPSIntegratedGradientsAttribution.t() | nil,
  xraiAttribution: GoogleApi.Language.V2.Model.XPSXraiAttribution.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.