Google Cloud Ai Platform V1 Client - Class ExplanationSpecOverride (1.13.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
Name Description
data array

Optional. Data for populating the Message object.

↳ parameters ExplanationParameters

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

↳ metadata ExplanationMetadataOverride

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

↳ examples_override 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
Type Description
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
Name Description
var ExplanationParameters
Returns
Type Description
$this

getMetadata

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

Returns
Type Description
ExplanationMetadataOverride|null

hasMetadata

clearMetadata

setMetadata

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

Parameter
Name Description
var ExplanationMetadataOverride
Returns
Type Description
$this

getExamplesOverride

The example-based explanations parameter overrides.

Returns
Type Description
ExamplesOverride|null

hasExamplesOverride

clearExamplesOverride

setExamplesOverride

The example-based explanations parameter overrides.

Parameter
Name Description
var ExamplesOverride
Returns
Type Description
$this