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

GoogleCloudAiplatformV1ExplanationMetadataInputMetadata

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

Metadata of the input of a feature. Fields other than InputMetadata.input_baselines are applicable only for Models that are using Vertex AI-provided images for Tensorflow.

interface GoogleCloudAiplatformV1ExplanationMetadataInputMetadata {
denseShapeTensorName?: string;
encodedBaselines?: any[];
encodedTensorName?: string;
encoding?:
| "ENCODING_UNSPECIFIED"
| "IDENTITY"
| "BAG_OF_FEATURES"
| "BAG_OF_FEATURES_SPARSE"
| "INDICATOR"
| "COMBINED_EMBEDDING"
| "CONCAT_EMBEDDING";
groupName?: string;
indexFeatureMapping?: string[];
indicesTensorName?: string;
inputBaselines?: any[];
inputTensorName?: string;
modality?: string;
}

§Properties

§
denseShapeTensorName?: string
[src]

Specifies the shape of the values of the input if the input is a sparse representation. Refer to Tensorflow documentation for more details: https://www.tensorflow.org/api_docs/python/tf/sparse/SparseTensor.

§
encodedBaselines?: any[]
[src]

A list of baselines for the encoded tensor. The shape of each baseline should match the shape of the encoded tensor. If a scalar is provided, Vertex AI broadcasts to the same shape as the encoded tensor.

§
encodedTensorName?: string
[src]

Encoded tensor is a transformation of the input tensor. Must be provided if choosing Integrated Gradients attribution or XRAI attribution and the input tensor is not differentiable. An encoded tensor is generated if the input tensor is encoded by a lookup table.

§
encoding?: "ENCODING_UNSPECIFIED" | "IDENTITY" | "BAG_OF_FEATURES" | "BAG_OF_FEATURES_SPARSE" | "INDICATOR" | "COMBINED_EMBEDDING" | "CONCAT_EMBEDDING"
[src]

Defines how the feature is encoded into the input tensor. Defaults to IDENTITY.

§

The domain details of the input feature value. Like min/max, original mean or standard deviation if normalized.

§
groupName?: string
[src]

Name of the group that the input belongs to. Features with the same group name will be treated as one feature when computing attributions. Features grouped together can have different shapes in value. If provided, there will be one single attribution generated in Attribution.feature_attributions, keyed by the group name.

§
indexFeatureMapping?: string[]
[src]

A list of feature names for each index in the input tensor. Required when the input InputMetadata.encoding is BAG_OF_FEATURES, BAG_OF_FEATURES_SPARSE, INDICATOR.

§
indicesTensorName?: string
[src]

Specifies the index of the values of the input tensor. Required when the input tensor is a sparse representation. Refer to Tensorflow documentation for more details: https://www.tensorflow.org/api_docs/python/tf/sparse/SparseTensor.

§
inputBaselines?: any[]
[src]

Baseline inputs for this feature. If no baseline is specified, Vertex AI chooses the baseline for this feature. If multiple baselines are specified, Vertex AI returns the average attributions across them in Attribution.feature_attributions. For Vertex AI-provided Tensorflow images (both 1.x and 2.x), the shape of each baseline must match the shape of the input tensor. If a scalar is provided, we broadcast to the same shape as the input tensor. For custom images, the element of the baselines must be in the same format as the feature's input in the instance[]. The schema of any single instance may be specified via Endpoint's DeployedModels' Model's PredictSchemata's instance_schema_uri.

§
inputTensorName?: string
[src]

Name of the input tensor for this feature. Required and is only applicable to Vertex AI-provided images for Tensorflow.

§
modality?: string
[src]

Modality of the feature. Valid values are: numeric, image. Defaults to numeric.

§

Visualization configurations for image explanation.