Package com.google.cloud.aiplatform.v1
Class ExplanationParameters.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ExplanationParameters.Builder>
com.google.cloud.aiplatform.v1.ExplanationParameters.Builder
- All Implemented Interfaces:
ExplanationParametersOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ExplanationParameters
public static final class ExplanationParameters.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ExplanationParameters.Builder>
implements ExplanationParametersOrBuilder
Parameters to configure explaining for Model's predictions.Protobuf type
google.cloud.aiplatform.v1.ExplanationParameters-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Example-based explanations that returns the nearest neighbors from the provided dataset.An attribution method that computes Aumann-Shapley values taking advantage of the model's fully differentiable structure.If populated, only returns attributions that have [output_index][google.cloud.aiplatform.v1.Attribution.output_index] contained in output_indices.An attribution method that approximates Shapley values for features that contribute to the label being predicted.If populated, returns attributions for top K indices of outputs (defaults to 1).An attribution method that redistributes Integrated Gradients attribution to segmented regions, taking advantage of the model's fully differentiable structure.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorExample-based explanations that returns the nearest neighbors from the provided dataset.Example-based explanations that returns the nearest neighbors from the provided dataset.Example-based explanations that returns the nearest neighbors from the provided dataset.An attribution method that computes Aumann-Shapley values taking advantage of the model's fully differentiable structure.An attribution method that computes Aumann-Shapley values taking advantage of the model's fully differentiable structure.An attribution method that computes Aumann-Shapley values taking advantage of the model's fully differentiable structure.com.google.protobuf.ListValueIf populated, only returns attributions that have [output_index][google.cloud.aiplatform.v1.Attribution.output_index] contained in output_indices.com.google.protobuf.ListValue.BuilderIf populated, only returns attributions that have [output_index][google.cloud.aiplatform.v1.Attribution.output_index] contained in output_indices.com.google.protobuf.ListValueOrBuilderIf populated, only returns attributions that have [output_index][google.cloud.aiplatform.v1.Attribution.output_index] contained in output_indices.An attribution method that approximates Shapley values for features that contribute to the label being predicted.An attribution method that approximates Shapley values for features that contribute to the label being predicted.An attribution method that approximates Shapley values for features that contribute to the label being predicted.intgetTopK()If populated, returns attributions for top K indices of outputs (defaults to 1).An attribution method that redistributes Integrated Gradients attribution to segmented regions, taking advantage of the model's fully differentiable structure.An attribution method that redistributes Integrated Gradients attribution to segmented regions, taking advantage of the model's fully differentiable structure.An attribution method that redistributes Integrated Gradients attribution to segmented regions, taking advantage of the model's fully differentiable structure.booleanExample-based explanations that returns the nearest neighbors from the provided dataset.booleanAn attribution method that computes Aumann-Shapley values taking advantage of the model's fully differentiable structure.booleanIf populated, only returns attributions that have [output_index][google.cloud.aiplatform.v1.Attribution.output_index] contained in output_indices.booleanAn attribution method that approximates Shapley values for features that contribute to the label being predicted.booleanAn attribution method that redistributes Integrated Gradients attribution to segmented regions, taking advantage of the model's fully differentiable structure.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeExamples(Examples value) Example-based explanations that returns the nearest neighbors from the provided dataset.mergeFrom(ExplanationParameters other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) An attribution method that computes Aumann-Shapley values taking advantage of the model's fully differentiable structure.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.An attribution method that approximates Shapley values for features that contribute to the label being predicted.An attribution method that redistributes Integrated Gradients attribution to segmented regions, taking advantage of the model's fully differentiable structure.setExamples(Examples value) Example-based explanations that returns the nearest neighbors from the provided dataset.setExamples(Examples.Builder builderForValue) Example-based explanations that returns the nearest neighbors from the provided dataset.An attribution method that computes Aumann-Shapley values taking advantage of the model's fully differentiable structure.setIntegratedGradientsAttribution(IntegratedGradientsAttribution.Builder builderForValue) An attribution method that computes Aumann-Shapley values taking advantage of the model's fully differentiable structure.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.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.An attribution method that approximates Shapley values for features that contribute to the label being predicted.setSampledShapleyAttribution(SampledShapleyAttribution.Builder builderForValue) An attribution method that approximates Shapley values for features that contribute to the label being predicted.setTopK(int value) If populated, returns attributions for top K indices of outputs (defaults to 1).An attribution method that redistributes Integrated Gradients attribution to segmented regions, taking advantage of the model's fully differentiable structure.setXraiAttribution(XraiAttribution.Builder builderForValue) An attribution method that redistributes Integrated Gradients attribution to segmented regions, taking advantage of the model's fully differentiable structure.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ExplanationParameters.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ExplanationParameters.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ExplanationParameters.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExplanationParameters.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ExplanationParameters.Builder>
-
mergeFrom
public ExplanationParameters.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExplanationParameters.Builder>- Throws:
IOException
-
getMethodCase
- Specified by:
getMethodCasein interfaceExplanationParametersOrBuilder
-
clearMethod
-
hasSampledShapleyAttribution
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.aiplatform.v1.SampledShapleyAttribution sampled_shapley_attribution = 1;- Specified by:
hasSampledShapleyAttributionin interfaceExplanationParametersOrBuilder- Returns:
- Whether the sampledShapleyAttribution field is set.
-
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.aiplatform.v1.SampledShapleyAttribution sampled_shapley_attribution = 1;- Specified by:
getSampledShapleyAttributionin interfaceExplanationParametersOrBuilder- Returns:
- The sampledShapleyAttribution.
-
setSampledShapleyAttribution
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.aiplatform.v1.SampledShapleyAttribution sampled_shapley_attribution = 1; -
setSampledShapleyAttribution
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.aiplatform.v1.SampledShapleyAttribution sampled_shapley_attribution = 1; -
mergeSampledShapleyAttribution
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.aiplatform.v1.SampledShapleyAttribution sampled_shapley_attribution = 1; -
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.aiplatform.v1.SampledShapleyAttribution sampled_shapley_attribution = 1; -
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.aiplatform.v1.SampledShapleyAttribution sampled_shapley_attribution = 1; -
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.aiplatform.v1.SampledShapleyAttribution sampled_shapley_attribution = 1;- Specified by:
getSampledShapleyAttributionOrBuilderin interfaceExplanationParametersOrBuilder
-
hasIntegratedGradientsAttribution
public 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.aiplatform.v1.IntegratedGradientsAttribution integrated_gradients_attribution = 2;- Specified by:
hasIntegratedGradientsAttributionin interfaceExplanationParametersOrBuilder- Returns:
- Whether the integratedGradientsAttribution field is set.
-
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.aiplatform.v1.IntegratedGradientsAttribution integrated_gradients_attribution = 2;- Specified by:
getIntegratedGradientsAttributionin interfaceExplanationParametersOrBuilder- Returns:
- The integratedGradientsAttribution.
-
setIntegratedGradientsAttribution
public 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.aiplatform.v1.IntegratedGradientsAttribution integrated_gradients_attribution = 2; -
setIntegratedGradientsAttribution
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.aiplatform.v1.IntegratedGradientsAttribution integrated_gradients_attribution = 2; -
mergeIntegratedGradientsAttribution
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.aiplatform.v1.IntegratedGradientsAttribution integrated_gradients_attribution = 2; -
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.aiplatform.v1.IntegratedGradientsAttribution integrated_gradients_attribution = 2; -
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.aiplatform.v1.IntegratedGradientsAttribution integrated_gradients_attribution = 2; -
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.aiplatform.v1.IntegratedGradientsAttribution integrated_gradients_attribution = 2;- Specified by:
getIntegratedGradientsAttributionOrBuilderin interfaceExplanationParametersOrBuilder
-
hasXraiAttribution
public 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.aiplatform.v1.XraiAttribution xrai_attribution = 3;- Specified by:
hasXraiAttributionin interfaceExplanationParametersOrBuilder- Returns:
- Whether the xraiAttribution field is set.
-
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.aiplatform.v1.XraiAttribution xrai_attribution = 3;- Specified by:
getXraiAttributionin interfaceExplanationParametersOrBuilder- Returns:
- The xraiAttribution.
-
setXraiAttribution
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.aiplatform.v1.XraiAttribution xrai_attribution = 3; -
setXraiAttribution
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.aiplatform.v1.XraiAttribution xrai_attribution = 3; -
mergeXraiAttribution
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.aiplatform.v1.XraiAttribution xrai_attribution = 3; -
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.aiplatform.v1.XraiAttribution xrai_attribution = 3; -
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.aiplatform.v1.XraiAttribution xrai_attribution = 3; -
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.aiplatform.v1.XraiAttribution xrai_attribution = 3;- Specified by:
getXraiAttributionOrBuilderin interfaceExplanationParametersOrBuilder
-
hasExamples
public boolean hasExamples()Example-based explanations that returns the nearest neighbors from the provided dataset.
.google.cloud.aiplatform.v1.Examples examples = 7;- Specified by:
hasExamplesin interfaceExplanationParametersOrBuilder- Returns:
- Whether the examples field is set.
-
getExamples
Example-based explanations that returns the nearest neighbors from the provided dataset.
.google.cloud.aiplatform.v1.Examples examples = 7;- Specified by:
getExamplesin interfaceExplanationParametersOrBuilder- Returns:
- The examples.
-
setExamples
Example-based explanations that returns the nearest neighbors from the provided dataset.
.google.cloud.aiplatform.v1.Examples examples = 7; -
setExamples
Example-based explanations that returns the nearest neighbors from the provided dataset.
.google.cloud.aiplatform.v1.Examples examples = 7; -
mergeExamples
Example-based explanations that returns the nearest neighbors from the provided dataset.
.google.cloud.aiplatform.v1.Examples examples = 7; -
clearExamples
Example-based explanations that returns the nearest neighbors from the provided dataset.
.google.cloud.aiplatform.v1.Examples examples = 7; -
getExamplesBuilder
Example-based explanations that returns the nearest neighbors from the provided dataset.
.google.cloud.aiplatform.v1.Examples examples = 7; -
getExamplesOrBuilder
Example-based explanations that returns the nearest neighbors from the provided dataset.
.google.cloud.aiplatform.v1.Examples examples = 7;- Specified by:
getExamplesOrBuilderin interfaceExplanationParametersOrBuilder
-
getTopK
public 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;- Specified by:
getTopKin interfaceExplanationParametersOrBuilder- Returns:
- The topK.
-
setTopK
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;- Parameters:
value- The topK to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
hasOutputIndices
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;- Specified by:
hasOutputIndicesin interfaceExplanationParametersOrBuilder- Returns:
- Whether the outputIndices field is set.
-
getOutputIndices
public 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;- Specified by:
getOutputIndicesin interfaceExplanationParametersOrBuilder- Returns:
- The outputIndices.
-
setOutputIndices
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; -
setOutputIndices
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; -
mergeOutputIndices
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; -
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; -
getOutputIndicesBuilder
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; -
getOutputIndicesOrBuilder
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;- Specified by:
getOutputIndicesOrBuilderin interfaceExplanationParametersOrBuilder
-