Google Cloud Ai Platform V1 Client - Class ExplanationSpecOverride (0.18.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class ExplanationSpecOverride.

The ExplanationSpec entries that can be overridden at online explanation time.

Generated from protobuf message google.cloud.aiplatform.v1.ExplanationSpecOverride

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parameters Google\Cloud\AIPlatform\V1\ExplanationParameters

The parameters to be overridden. Note that the attribution method cannot be changed. If not specified, no parameter is overridden.

↳ metadata Google\Cloud\AIPlatform\V1\ExplanationMetadataOverride

The metadata to be overridden. If not specified, no metadata is overridden.

↳ examples_override Google\Cloud\AIPlatform\V1\ExamplesOverride

The example-based explanations parameter overrides.

getParameters

The parameters to be overridden. Note that the attribution method cannot be changed. If not specified, no parameter is overridden.

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\ExplanationParameters|null

hasParameters

clearParameters

setParameters

The parameters to be overridden. Note that the attribution method cannot be changed. If not specified, no parameter is overridden.

Parameter
NameDescription
var Google\Cloud\AIPlatform\V1\ExplanationParameters
Returns
TypeDescription
$this

getMetadata

The metadata to be overridden. If not specified, no metadata is overridden.

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\ExplanationMetadataOverride|null

hasMetadata

clearMetadata

setMetadata

The metadata to be overridden. If not specified, no metadata is overridden.

Parameter
NameDescription
var Google\Cloud\AIPlatform\V1\ExplanationMetadataOverride
Returns
TypeDescription
$this

getExamplesOverride

The example-based explanations parameter overrides.

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\ExamplesOverride|null

hasExamplesOverride

clearExamplesOverride

setExamplesOverride

The example-based explanations parameter overrides.

Parameter
NameDescription
var Google\Cloud\AIPlatform\V1\ExamplesOverride
Returns
TypeDescription
$this