public static final class ExplanationParameters.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ExplanationParameters.Builder> implements ExplanationParametersOrBuilder
Parameters to configure explaining for Model's predictions.Protobuf type
google.cloud.vertexai.v1.ExplanationParameters| Modifier and Type | Method and Description |
|---|---|
ExplanationParameters.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ExplanationParameters |
build() |
ExplanationParameters |
buildPartial() |
ExplanationParameters.Builder |
clear() |
ExplanationParameters.Builder |
clearExamples()
Example-based explanations that returns the nearest neighbors from the
provided dataset.
|
ExplanationParameters.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ExplanationParameters.Builder |
clearIntegratedGradientsAttribution()
An attribution method that computes Aumann-Shapley values taking
advantage of the model's fully differentiable structure.
|
ExplanationParameters.Builder |
clearMethod() |
ExplanationParameters.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ExplanationParameters.Builder |
clearOutputIndices()
If populated, only returns attributions that have
[output_index][google.cloud.aiplatform.v1.Attribution.output_index]
contained in output_indices.
|
ExplanationParameters.Builder |
clearSampledShapleyAttribution()
An attribution method that approximates Shapley values for features that
contribute to the label being predicted.
|
ExplanationParameters.Builder |
clearTopK()
If populated, returns attributions for top K indices of outputs
(defaults to 1).
|
ExplanationParameters.Builder |
clearXraiAttribution()
An attribution method that redistributes Integrated Gradients
attribution to segmented regions, taking advantage of the model's fully
differentiable structure.
|
ExplanationParameters.Builder |
clone() |
ExplanationParameters |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Examples |
getExamples()
Example-based explanations that returns the nearest neighbors from the
provided dataset.
|
Examples.Builder |
getExamplesBuilder()
Example-based explanations that returns the nearest neighbors from the
provided dataset.
|
ExamplesOrBuilder |
getExamplesOrBuilder()
Example-based explanations that returns the nearest neighbors from the
provided dataset.
|
IntegratedGradientsAttribution |
getIntegratedGradientsAttribution()
An attribution method that computes Aumann-Shapley values taking
advantage of the model's fully differentiable structure.
|
IntegratedGradientsAttribution.Builder |
getIntegratedGradientsAttributionBuilder()
An attribution method that computes Aumann-Shapley values taking
advantage of the model's fully differentiable structure.
|
IntegratedGradientsAttributionOrBuilder |
getIntegratedGradientsAttributionOrBuilder()
An attribution method that computes Aumann-Shapley values taking
advantage of the model's fully differentiable structure.
|
ExplanationParameters.MethodCase |
getMethodCase() |
com.google.protobuf.ListValue |
getOutputIndices()
If populated, only returns attributions that have
[output_index][google.cloud.aiplatform.v1.Attribution.output_index]
contained in output_indices.
|
com.google.protobuf.ListValue.Builder |
getOutputIndicesBuilder()
If populated, only returns attributions that have
[output_index][google.cloud.aiplatform.v1.Attribution.output_index]
contained in output_indices.
|
com.google.protobuf.ListValueOrBuilder |
getOutputIndicesOrBuilder()
If populated, only returns attributions that have
[output_index][google.cloud.aiplatform.v1.Attribution.output_index]
contained in output_indices.
|
SampledShapleyAttribution |
getSampledShapleyAttribution()
An attribution method that approximates Shapley values for features that
contribute to the label being predicted.
|
SampledShapleyAttribution.Builder |
getSampledShapleyAttributionBuilder()
An attribution method that approximates Shapley values for features that
contribute to the label being predicted.
|
SampledShapleyAttributionOrBuilder |
getSampledShapleyAttributionOrBuilder()
An attribution method that approximates Shapley values for features that
contribute to the label being predicted.
|
int |
getTopK()
If populated, returns attributions for top K indices of outputs
(defaults to 1).
|
XraiAttribution |
getXraiAttribution()
An attribution method that redistributes Integrated Gradients
attribution to segmented regions, taking advantage of the model's fully
differentiable structure.
|
XraiAttribution.Builder |
getXraiAttributionBuilder()
An attribution method that redistributes Integrated Gradients
attribution to segmented regions, taking advantage of the model's fully
differentiable structure.
|
XraiAttributionOrBuilder |
getXraiAttributionOrBuilder()
An attribution method that redistributes Integrated Gradients
attribution to segmented regions, taking advantage of the model's fully
differentiable structure.
|
boolean |
hasExamples()
Example-based explanations that returns the nearest neighbors from the
provided dataset.
|
boolean |
hasIntegratedGradientsAttribution()
An attribution method that computes Aumann-Shapley values taking
advantage of the model's fully differentiable structure.
|
boolean |
hasOutputIndices()
If populated, only returns attributions that have
[output_index][google.cloud.aiplatform.v1.Attribution.output_index]
contained in output_indices.
|
boolean |
hasSampledShapleyAttribution()
An attribution method that approximates Shapley values for features that
contribute to the label being predicted.
|
boolean |
hasXraiAttribution()
An attribution method that redistributes Integrated Gradients
attribution to segmented regions, taking advantage of the model's fully
differentiable structure.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ExplanationParameters.Builder |
mergeExamples(Examples value)
Example-based explanations that returns the nearest neighbors from the
provided dataset.
|
ExplanationParameters.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ExplanationParameters.Builder |
mergeFrom(ExplanationParameters other) |
ExplanationParameters.Builder |
mergeFrom(com.google.protobuf.Message other) |
ExplanationParameters.Builder |
mergeIntegratedGradientsAttribution(IntegratedGradientsAttribution value)
An attribution method that computes Aumann-Shapley values taking
advantage of the model's fully differentiable structure.
|
ExplanationParameters.Builder |
mergeOutputIndices(com.google.protobuf.ListValue value)
If populated, only returns attributions that have
[output_index][google.cloud.aiplatform.v1.Attribution.output_index]
contained in output_indices.
|
ExplanationParameters.Builder |
mergeSampledShapleyAttribution(SampledShapleyAttribution value)
An attribution method that approximates Shapley values for features that
contribute to the label being predicted.
|
ExplanationParameters.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ExplanationParameters.Builder |
mergeXraiAttribution(XraiAttribution value)
An attribution method that redistributes Integrated Gradients
attribution to segmented regions, taking advantage of the model's fully
differentiable structure.
|
ExplanationParameters.Builder |
setExamples(Examples.Builder builderForValue)
Example-based explanations that returns the nearest neighbors from the
provided dataset.
|
ExplanationParameters.Builder |
setExamples(Examples value)
Example-based explanations that returns the nearest neighbors from the
provided dataset.
|
ExplanationParameters.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ExplanationParameters.Builder |
setIntegratedGradientsAttribution(IntegratedGradientsAttribution.Builder builderForValue)
An attribution method that computes Aumann-Shapley values taking
advantage of the model's fully differentiable structure.
|
ExplanationParameters.Builder |
setIntegratedGradientsAttribution(IntegratedGradientsAttribution value)
An attribution method that computes Aumann-Shapley values taking
advantage of the model's fully differentiable structure.
|
ExplanationParameters.Builder |
setOutputIndices(com.google.protobuf.ListValue.Builder builderForValue)
If populated, only returns attributions that have
[output_index][google.cloud.aiplatform.v1.Attribution.output_index]
contained in output_indices.
|
ExplanationParameters.Builder |
setOutputIndices(com.google.protobuf.ListValue value)
If populated, only returns attributions that have
[output_index][google.cloud.aiplatform.v1.Attribution.output_index]
contained in output_indices.
|
ExplanationParameters.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ExplanationParameters.Builder |
setSampledShapleyAttribution(SampledShapleyAttribution.Builder builderForValue)
An attribution method that approximates Shapley values for features that
contribute to the label being predicted.
|
ExplanationParameters.Builder |
setSampledShapleyAttribution(SampledShapleyAttribution value)
An attribution method that approximates Shapley values for features that
contribute to the label being predicted.
|
ExplanationParameters.Builder |
setTopK(int value)
If populated, returns attributions for top K indices of outputs
(defaults to 1).
|
ExplanationParameters.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ExplanationParameters.Builder |
setXraiAttribution(XraiAttribution.Builder builderForValue)
An attribution method that redistributes Integrated Gradients
attribution to segmented regions, taking advantage of the model's fully
differentiable structure.
|
ExplanationParameters.Builder |
setXraiAttribution(XraiAttribution value)
An attribution method that redistributes Integrated Gradients
attribution to segmented regions, taking advantage of the model's fully
differentiable structure.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ExplanationParameters.Builder>public ExplanationParameters.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ExplanationParameters.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ExplanationParameters.Builder>public ExplanationParameters getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ExplanationParameters build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ExplanationParameters buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ExplanationParameters.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ExplanationParameters.Builder>public ExplanationParameters.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ExplanationParameters.Builder>public ExplanationParameters.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ExplanationParameters.Builder>public ExplanationParameters.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ExplanationParameters.Builder>public ExplanationParameters.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ExplanationParameters.Builder>public ExplanationParameters.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ExplanationParameters.Builder>public ExplanationParameters.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExplanationParameters.Builder>public ExplanationParameters.Builder mergeFrom(ExplanationParameters other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ExplanationParameters.Builder>public ExplanationParameters.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExplanationParameters.Builder>IOExceptionpublic ExplanationParameters.MethodCase getMethodCase()
getMethodCase in interface ExplanationParametersOrBuilderpublic ExplanationParameters.Builder clearMethod()
public boolean hasSampledShapleyAttribution()
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. Refer to this paper for model details: https://arxiv.org/abs/1306.4265.
.google.cloud.vertexai.v1.SampledShapleyAttribution sampled_shapley_attribution = 1;
hasSampledShapleyAttribution in interface ExplanationParametersOrBuilderpublic SampledShapleyAttribution getSampledShapleyAttribution()
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. Refer to this paper for model details: https://arxiv.org/abs/1306.4265.
.google.cloud.vertexai.v1.SampledShapleyAttribution sampled_shapley_attribution = 1;
getSampledShapleyAttribution in interface ExplanationParametersOrBuilderpublic ExplanationParameters.Builder setSampledShapleyAttribution(SampledShapleyAttribution value)
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. Refer to this paper for model details: https://arxiv.org/abs/1306.4265.
.google.cloud.vertexai.v1.SampledShapleyAttribution sampled_shapley_attribution = 1;
public ExplanationParameters.Builder setSampledShapleyAttribution(SampledShapleyAttribution.Builder builderForValue)
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. Refer to this paper for model details: https://arxiv.org/abs/1306.4265.
.google.cloud.vertexai.v1.SampledShapleyAttribution sampled_shapley_attribution = 1;
public ExplanationParameters.Builder mergeSampledShapleyAttribution(SampledShapleyAttribution value)
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. Refer to this paper for model details: https://arxiv.org/abs/1306.4265.
.google.cloud.vertexai.v1.SampledShapleyAttribution sampled_shapley_attribution = 1;
public ExplanationParameters.Builder clearSampledShapleyAttribution()
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. Refer to this paper for model details: https://arxiv.org/abs/1306.4265.
.google.cloud.vertexai.v1.SampledShapleyAttribution sampled_shapley_attribution = 1;
public SampledShapleyAttribution.Builder getSampledShapleyAttributionBuilder()
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. Refer to this paper for model details: https://arxiv.org/abs/1306.4265.
.google.cloud.vertexai.v1.SampledShapleyAttribution sampled_shapley_attribution = 1;
public SampledShapleyAttributionOrBuilder getSampledShapleyAttributionOrBuilder()
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. Refer to this paper for model details: https://arxiv.org/abs/1306.4265.
.google.cloud.vertexai.v1.SampledShapleyAttribution sampled_shapley_attribution = 1;
getSampledShapleyAttributionOrBuilder in interface ExplanationParametersOrBuilderpublic boolean hasIntegratedGradientsAttribution()
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
.google.cloud.vertexai.v1.IntegratedGradientsAttribution integrated_gradients_attribution = 2;
hasIntegratedGradientsAttribution in interface ExplanationParametersOrBuilderpublic IntegratedGradientsAttribution getIntegratedGradientsAttribution()
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
.google.cloud.vertexai.v1.IntegratedGradientsAttribution integrated_gradients_attribution = 2;
getIntegratedGradientsAttribution in interface ExplanationParametersOrBuilderpublic ExplanationParameters.Builder setIntegratedGradientsAttribution(IntegratedGradientsAttribution value)
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
.google.cloud.vertexai.v1.IntegratedGradientsAttribution integrated_gradients_attribution = 2;
public ExplanationParameters.Builder setIntegratedGradientsAttribution(IntegratedGradientsAttribution.Builder builderForValue)
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
.google.cloud.vertexai.v1.IntegratedGradientsAttribution integrated_gradients_attribution = 2;
public ExplanationParameters.Builder mergeIntegratedGradientsAttribution(IntegratedGradientsAttribution value)
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
.google.cloud.vertexai.v1.IntegratedGradientsAttribution integrated_gradients_attribution = 2;
public ExplanationParameters.Builder clearIntegratedGradientsAttribution()
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
.google.cloud.vertexai.v1.IntegratedGradientsAttribution integrated_gradients_attribution = 2;
public IntegratedGradientsAttribution.Builder getIntegratedGradientsAttributionBuilder()
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
.google.cloud.vertexai.v1.IntegratedGradientsAttribution integrated_gradients_attribution = 2;
public IntegratedGradientsAttributionOrBuilder getIntegratedGradientsAttributionOrBuilder()
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
.google.cloud.vertexai.v1.IntegratedGradientsAttribution integrated_gradients_attribution = 2;
getIntegratedGradientsAttributionOrBuilder in interface ExplanationParametersOrBuilderpublic boolean hasXraiAttribution()
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.
.google.cloud.vertexai.v1.XraiAttribution xrai_attribution = 3;hasXraiAttribution in interface ExplanationParametersOrBuilderpublic XraiAttribution getXraiAttribution()
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.
.google.cloud.vertexai.v1.XraiAttribution xrai_attribution = 3;getXraiAttribution in interface ExplanationParametersOrBuilderpublic ExplanationParameters.Builder setXraiAttribution(XraiAttribution value)
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.
.google.cloud.vertexai.v1.XraiAttribution xrai_attribution = 3;public ExplanationParameters.Builder setXraiAttribution(XraiAttribution.Builder builderForValue)
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.
.google.cloud.vertexai.v1.XraiAttribution xrai_attribution = 3;public ExplanationParameters.Builder mergeXraiAttribution(XraiAttribution value)
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.
.google.cloud.vertexai.v1.XraiAttribution xrai_attribution = 3;public ExplanationParameters.Builder clearXraiAttribution()
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.
.google.cloud.vertexai.v1.XraiAttribution xrai_attribution = 3;public XraiAttribution.Builder getXraiAttributionBuilder()
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.
.google.cloud.vertexai.v1.XraiAttribution xrai_attribution = 3;public XraiAttributionOrBuilder getXraiAttributionOrBuilder()
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.
.google.cloud.vertexai.v1.XraiAttribution xrai_attribution = 3;getXraiAttributionOrBuilder in interface ExplanationParametersOrBuilderpublic boolean hasExamples()
Example-based explanations that returns the nearest neighbors from the provided dataset.
.google.cloud.vertexai.v1.Examples examples = 7;hasExamples in interface ExplanationParametersOrBuilderpublic Examples getExamples()
Example-based explanations that returns the nearest neighbors from the provided dataset.
.google.cloud.vertexai.v1.Examples examples = 7;getExamples in interface ExplanationParametersOrBuilderpublic ExplanationParameters.Builder setExamples(Examples value)
Example-based explanations that returns the nearest neighbors from the provided dataset.
.google.cloud.vertexai.v1.Examples examples = 7;public ExplanationParameters.Builder setExamples(Examples.Builder builderForValue)
Example-based explanations that returns the nearest neighbors from the provided dataset.
.google.cloud.vertexai.v1.Examples examples = 7;public ExplanationParameters.Builder mergeExamples(Examples value)
Example-based explanations that returns the nearest neighbors from the provided dataset.
.google.cloud.vertexai.v1.Examples examples = 7;public ExplanationParameters.Builder clearExamples()
Example-based explanations that returns the nearest neighbors from the provided dataset.
.google.cloud.vertexai.v1.Examples examples = 7;public Examples.Builder getExamplesBuilder()
Example-based explanations that returns the nearest neighbors from the provided dataset.
.google.cloud.vertexai.v1.Examples examples = 7;public ExamplesOrBuilder getExamplesOrBuilder()
Example-based explanations that returns the nearest neighbors from the provided dataset.
.google.cloud.vertexai.v1.Examples examples = 7;getExamplesOrBuilder in interface ExplanationParametersOrBuilderpublic int getTopK()
If populated, returns attributions for top K indices of outputs (defaults to 1). Only applies to Models that predicts more than one outputs (e,g, multi-class Models). When set to -1, returns explanations for all outputs.
int32 top_k = 4;getTopK in interface ExplanationParametersOrBuilderpublic ExplanationParameters.Builder setTopK(int value)
If populated, returns attributions for top K indices of outputs (defaults to 1). Only applies to Models that predicts more than one outputs (e,g, multi-class Models). When set to -1, returns explanations for all outputs.
int32 top_k = 4;value - The topK to set.public ExplanationParameters.Builder clearTopK()
If populated, returns attributions for top K indices of outputs (defaults to 1). Only applies to Models that predicts more than one outputs (e,g, multi-class Models). When set to -1, returns explanations for all outputs.
int32 top_k = 4;public boolean hasOutputIndices()
If populated, only returns attributions that have [output_index][google.cloud.aiplatform.v1.Attribution.output_index] contained in output_indices. It must be an ndarray of integers, with the same shape of the output it's explaining. If not populated, returns attributions for [top_k][google.cloud.aiplatform.v1.ExplanationParameters.top_k] indices of outputs. If neither top_k nor output_indices is populated, returns the argmax index of the outputs. Only applicable to Models that predict multiple outputs (e,g, multi-class Models that predict multiple classes).
.google.protobuf.ListValue output_indices = 5;hasOutputIndices in interface ExplanationParametersOrBuilderpublic com.google.protobuf.ListValue getOutputIndices()
If populated, only returns attributions that have [output_index][google.cloud.aiplatform.v1.Attribution.output_index] contained in output_indices. It must be an ndarray of integers, with the same shape of the output it's explaining. If not populated, returns attributions for [top_k][google.cloud.aiplatform.v1.ExplanationParameters.top_k] indices of outputs. If neither top_k nor output_indices is populated, returns the argmax index of the outputs. Only applicable to Models that predict multiple outputs (e,g, multi-class Models that predict multiple classes).
.google.protobuf.ListValue output_indices = 5;getOutputIndices in interface ExplanationParametersOrBuilderpublic ExplanationParameters.Builder setOutputIndices(com.google.protobuf.ListValue value)
If populated, only returns attributions that have [output_index][google.cloud.aiplatform.v1.Attribution.output_index] contained in output_indices. It must be an ndarray of integers, with the same shape of the output it's explaining. If not populated, returns attributions for [top_k][google.cloud.aiplatform.v1.ExplanationParameters.top_k] indices of outputs. If neither top_k nor output_indices is populated, returns the argmax index of the outputs. Only applicable to Models that predict multiple outputs (e,g, multi-class Models that predict multiple classes).
.google.protobuf.ListValue output_indices = 5;public ExplanationParameters.Builder setOutputIndices(com.google.protobuf.ListValue.Builder builderForValue)
If populated, only returns attributions that have [output_index][google.cloud.aiplatform.v1.Attribution.output_index] contained in output_indices. It must be an ndarray of integers, with the same shape of the output it's explaining. If not populated, returns attributions for [top_k][google.cloud.aiplatform.v1.ExplanationParameters.top_k] indices of outputs. If neither top_k nor output_indices is populated, returns the argmax index of the outputs. Only applicable to Models that predict multiple outputs (e,g, multi-class Models that predict multiple classes).
.google.protobuf.ListValue output_indices = 5;public ExplanationParameters.Builder mergeOutputIndices(com.google.protobuf.ListValue value)
If populated, only returns attributions that have [output_index][google.cloud.aiplatform.v1.Attribution.output_index] contained in output_indices. It must be an ndarray of integers, with the same shape of the output it's explaining. If not populated, returns attributions for [top_k][google.cloud.aiplatform.v1.ExplanationParameters.top_k] indices of outputs. If neither top_k nor output_indices is populated, returns the argmax index of the outputs. Only applicable to Models that predict multiple outputs (e,g, multi-class Models that predict multiple classes).
.google.protobuf.ListValue output_indices = 5;public ExplanationParameters.Builder clearOutputIndices()
If populated, only returns attributions that have [output_index][google.cloud.aiplatform.v1.Attribution.output_index] contained in output_indices. It must be an ndarray of integers, with the same shape of the output it's explaining. If not populated, returns attributions for [top_k][google.cloud.aiplatform.v1.ExplanationParameters.top_k] indices of outputs. If neither top_k nor output_indices is populated, returns the argmax index of the outputs. Only applicable to Models that predict multiple outputs (e,g, multi-class Models that predict multiple classes).
.google.protobuf.ListValue output_indices = 5;public com.google.protobuf.ListValue.Builder getOutputIndicesBuilder()
If populated, only returns attributions that have [output_index][google.cloud.aiplatform.v1.Attribution.output_index] contained in output_indices. It must be an ndarray of integers, with the same shape of the output it's explaining. If not populated, returns attributions for [top_k][google.cloud.aiplatform.v1.ExplanationParameters.top_k] indices of outputs. If neither top_k nor output_indices is populated, returns the argmax index of the outputs. Only applicable to Models that predict multiple outputs (e,g, multi-class Models that predict multiple classes).
.google.protobuf.ListValue output_indices = 5;public com.google.protobuf.ListValueOrBuilder getOutputIndicesOrBuilder()
If populated, only returns attributions that have [output_index][google.cloud.aiplatform.v1.Attribution.output_index] contained in output_indices. It must be an ndarray of integers, with the same shape of the output it's explaining. If not populated, returns attributions for [top_k][google.cloud.aiplatform.v1.ExplanationParameters.top_k] indices of outputs. If neither top_k nor output_indices is populated, returns the argmax index of the outputs. Only applicable to Models that predict multiple outputs (e,g, multi-class Models that predict multiple classes).
.google.protobuf.ListValue output_indices = 5;getOutputIndicesOrBuilder in interface ExplanationParametersOrBuilderpublic final ExplanationParameters.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExplanationParameters.Builder>public final ExplanationParameters.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExplanationParameters.Builder>Copyright © 2024 Google LLC. All rights reserved.