Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GoogleCloudMlV1__ExplanationConfig

import type { GoogleCloudMlV1__ExplanationConfig } from "https://googleapis.deno.dev/v1/ml:v1.ts";

Message holding configuration options for explaining model predictions. There are three feature attribution methods supported for TensorFlow models: integrated gradients, sampled Shapley, and XRAI. Learn more about feature attributions.

interface GoogleCloudMlV1__ExplanationConfig {
integratedGradientsAttribution?: GoogleCloudMlV1__IntegratedGradientsAttribution;
sampledShapleyAttribution?: GoogleCloudMlV1__SampledShapleyAttribution;
}

§Properties

§

Attributes credit by computing the Aumann-Shapley value taking advantage of the model's fully differentiable structure. Refer to this paper for more details: https://arxiv.org/abs/1703.01365

§

An attribution method that approximates Shapley values for features that contribute to the label being predicted. A sampling strategy is used to approximate the value rather than considering all subsets of features.

§

Attributes credit by computing the XRAI taking advantage of the model's fully differentiable structure. Refer to this paper for more details: https://arxiv.org/abs/1906.02825 Currently only implemented for models with natural image inputs.