Class ModelExplanation.Builder (0.2.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicstaticfinalclass ModelExplanation.BuilderextendsGeneratedMessageV3.Builder<ModelExplanation.Builder>implementsModelExplanationOrBuilderAggregated explanation metrics for a Model over a set of instances.
Protobuf type google.cloud.vertexai.v1beta1.ModelExplanation
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ModelExplanation.BuilderImplements
ModelExplanationOrBuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllMeanAttributions(Iterable<? extends Attribution> values)
publicModelExplanation.BuilderaddAllMeanAttributions(Iterable<?extendsAttribution>values)Output only. Aggregated attributions explaining the Model's prediction outputs over the set of instances. The attributions are grouped by outputs.
For Models that predict only one output, such as regression Models that predict only one score, there is only one attibution that explains the predicted output. For Models that predict multiple outputs, such as multiclass Models that predict multiple classes, each element explains one specific item. Attribution.output_index can be used to identify which output this attribution is explaining.
The baselineOutputValue, instanceOutputValue and featureAttributions fields are averaged over the test data.
NOTE: Currently AutoML tabular classification Models produce only one attribution, which averages attributions over all the classes it predicts. Attribution.approximation_error is not populated.
repeated .google.cloud.vertexai.v1beta1.Attribution mean_attributions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.vertexai.api.Attribution> |
| Returns | |
|---|---|
| Type | Description |
ModelExplanation.Builder |
|
addMeanAttributions(Attribution value)
publicModelExplanation.BuilderaddMeanAttributions(Attributionvalue)Output only. Aggregated attributions explaining the Model's prediction outputs over the set of instances. The attributions are grouped by outputs.
For Models that predict only one output, such as regression Models that predict only one score, there is only one attibution that explains the predicted output. For Models that predict multiple outputs, such as multiclass Models that predict multiple classes, each element explains one specific item. Attribution.output_index can be used to identify which output this attribution is explaining.
The baselineOutputValue, instanceOutputValue and featureAttributions fields are averaged over the test data.
NOTE: Currently AutoML tabular classification Models produce only one attribution, which averages attributions over all the classes it predicts. Attribution.approximation_error is not populated.
repeated .google.cloud.vertexai.v1beta1.Attribution mean_attributions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Attribution |
| Returns | |
|---|---|
| Type | Description |
ModelExplanation.Builder |
|
addMeanAttributions(Attribution.Builder builderForValue)
publicModelExplanation.BuilderaddMeanAttributions(Attribution.BuilderbuilderForValue)Output only. Aggregated attributions explaining the Model's prediction outputs over the set of instances. The attributions are grouped by outputs.
For Models that predict only one output, such as regression Models that predict only one score, there is only one attibution that explains the predicted output. For Models that predict multiple outputs, such as multiclass Models that predict multiple classes, each element explains one specific item. Attribution.output_index can be used to identify which output this attribution is explaining.
The baselineOutputValue, instanceOutputValue and featureAttributions fields are averaged over the test data.
NOTE: Currently AutoML tabular classification Models produce only one attribution, which averages attributions over all the classes it predicts. Attribution.approximation_error is not populated.
repeated .google.cloud.vertexai.v1beta1.Attribution mean_attributions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Attribution.Builder |
| Returns | |
|---|---|
| Type | Description |
ModelExplanation.Builder |
|
addMeanAttributions(int index, Attribution value)
publicModelExplanation.BuilderaddMeanAttributions(intindex,Attributionvalue)Output only. Aggregated attributions explaining the Model's prediction outputs over the set of instances. The attributions are grouped by outputs.
For Models that predict only one output, such as regression Models that predict only one score, there is only one attibution that explains the predicted output. For Models that predict multiple outputs, such as multiclass Models that predict multiple classes, each element explains one specific item. Attribution.output_index can be used to identify which output this attribution is explaining.
The baselineOutputValue, instanceOutputValue and featureAttributions fields are averaged over the test data.
NOTE: Currently AutoML tabular classification Models produce only one attribution, which averages attributions over all the classes it predicts. Attribution.approximation_error is not populated.
repeated .google.cloud.vertexai.v1beta1.Attribution mean_attributions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Attribution |
| Returns | |
|---|---|
| Type | Description |
ModelExplanation.Builder |
|
addMeanAttributions(int index, Attribution.Builder builderForValue)
publicModelExplanation.BuilderaddMeanAttributions(intindex,Attribution.BuilderbuilderForValue)Output only. Aggregated attributions explaining the Model's prediction outputs over the set of instances. The attributions are grouped by outputs.
For Models that predict only one output, such as regression Models that predict only one score, there is only one attibution that explains the predicted output. For Models that predict multiple outputs, such as multiclass Models that predict multiple classes, each element explains one specific item. Attribution.output_index can be used to identify which output this attribution is explaining.
The baselineOutputValue, instanceOutputValue and featureAttributions fields are averaged over the test data.
NOTE: Currently AutoML tabular classification Models produce only one attribution, which averages attributions over all the classes it predicts. Attribution.approximation_error is not populated.
repeated .google.cloud.vertexai.v1beta1.Attribution mean_attributions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Attribution.Builder |
| Returns | |
|---|---|
| Type | Description |
ModelExplanation.Builder |
|
addMeanAttributionsBuilder()
publicAttribution.BuilderaddMeanAttributionsBuilder()Output only. Aggregated attributions explaining the Model's prediction outputs over the set of instances. The attributions are grouped by outputs.
For Models that predict only one output, such as regression Models that predict only one score, there is only one attibution that explains the predicted output. For Models that predict multiple outputs, such as multiclass Models that predict multiple classes, each element explains one specific item. Attribution.output_index can be used to identify which output this attribution is explaining.
The baselineOutputValue, instanceOutputValue and featureAttributions fields are averaged over the test data.
NOTE: Currently AutoML tabular classification Models produce only one attribution, which averages attributions over all the classes it predicts. Attribution.approximation_error is not populated.
repeated .google.cloud.vertexai.v1beta1.Attribution mean_attributions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Attribution.Builder |
|
addMeanAttributionsBuilder(int index)
publicAttribution.BuilderaddMeanAttributionsBuilder(intindex)Output only. Aggregated attributions explaining the Model's prediction outputs over the set of instances. The attributions are grouped by outputs.
For Models that predict only one output, such as regression Models that predict only one score, there is only one attibution that explains the predicted output. For Models that predict multiple outputs, such as multiclass Models that predict multiple classes, each element explains one specific item. Attribution.output_index can be used to identify which output this attribution is explaining.
The baselineOutputValue, instanceOutputValue and featureAttributions fields are averaged over the test data.
NOTE: Currently AutoML tabular classification Models produce only one attribution, which averages attributions over all the classes it predicts. Attribution.approximation_error is not populated.
repeated .google.cloud.vertexai.v1beta1.Attribution mean_attributions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Attribution.Builder |
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicModelExplanation.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ModelExplanation.Builder |
|
build()
publicModelExplanationbuild()| Returns | |
|---|---|
| Type | Description |
ModelExplanation |
|
buildPartial()
publicModelExplanationbuildPartial()| Returns | |
|---|---|
| Type | Description |
ModelExplanation |
|
clear()
publicModelExplanation.Builderclear()| Returns | |
|---|---|
| Type | Description |
ModelExplanation.Builder |
|
clearField(Descriptors.FieldDescriptor field)
publicModelExplanation.BuilderclearField(Descriptors.FieldDescriptorfield)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
ModelExplanation.Builder |
|
clearMeanAttributions()
publicModelExplanation.BuilderclearMeanAttributions()Output only. Aggregated attributions explaining the Model's prediction outputs over the set of instances. The attributions are grouped by outputs.
For Models that predict only one output, such as regression Models that predict only one score, there is only one attibution that explains the predicted output. For Models that predict multiple outputs, such as multiclass Models that predict multiple classes, each element explains one specific item. Attribution.output_index can be used to identify which output this attribution is explaining.
The baselineOutputValue, instanceOutputValue and featureAttributions fields are averaged over the test data.
NOTE: Currently AutoML tabular classification Models produce only one attribution, which averages attributions over all the classes it predicts. Attribution.approximation_error is not populated.
repeated .google.cloud.vertexai.v1beta1.Attribution mean_attributions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ModelExplanation.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
publicModelExplanation.BuilderclearOneof(Descriptors.OneofDescriptoroneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
ModelExplanation.Builder |
|
clone()
publicModelExplanation.Builderclone()| Returns | |
|---|---|
| Type | Description |
ModelExplanation.Builder |
|
getDefaultInstanceForType()
publicModelExplanationgetDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ModelExplanation |
|
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMeanAttributions(int index)
publicAttributiongetMeanAttributions(intindex)Output only. Aggregated attributions explaining the Model's prediction outputs over the set of instances. The attributions are grouped by outputs.
For Models that predict only one output, such as regression Models that predict only one score, there is only one attibution that explains the predicted output. For Models that predict multiple outputs, such as multiclass Models that predict multiple classes, each element explains one specific item. Attribution.output_index can be used to identify which output this attribution is explaining.
The baselineOutputValue, instanceOutputValue and featureAttributions fields are averaged over the test data.
NOTE: Currently AutoML tabular classification Models produce only one attribution, which averages attributions over all the classes it predicts. Attribution.approximation_error is not populated.
repeated .google.cloud.vertexai.v1beta1.Attribution mean_attributions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Attribution |
|
getMeanAttributionsBuilder(int index)
publicAttribution.BuildergetMeanAttributionsBuilder(intindex)Output only. Aggregated attributions explaining the Model's prediction outputs over the set of instances. The attributions are grouped by outputs.
For Models that predict only one output, such as regression Models that predict only one score, there is only one attibution that explains the predicted output. For Models that predict multiple outputs, such as multiclass Models that predict multiple classes, each element explains one specific item. Attribution.output_index can be used to identify which output this attribution is explaining.
The baselineOutputValue, instanceOutputValue and featureAttributions fields are averaged over the test data.
NOTE: Currently AutoML tabular classification Models produce only one attribution, which averages attributions over all the classes it predicts. Attribution.approximation_error is not populated.
repeated .google.cloud.vertexai.v1beta1.Attribution mean_attributions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Attribution.Builder |
|
getMeanAttributionsBuilderList()
publicList<Attribution.Builder>getMeanAttributionsBuilderList()Output only. Aggregated attributions explaining the Model's prediction outputs over the set of instances. The attributions are grouped by outputs.
For Models that predict only one output, such as regression Models that predict only one score, there is only one attibution that explains the predicted output. For Models that predict multiple outputs, such as multiclass Models that predict multiple classes, each element explains one specific item. Attribution.output_index can be used to identify which output this attribution is explaining.
The baselineOutputValue, instanceOutputValue and featureAttributions fields are averaged over the test data.
NOTE: Currently AutoML tabular classification Models produce only one attribution, which averages attributions over all the classes it predicts. Attribution.approximation_error is not populated.
repeated .google.cloud.vertexai.v1beta1.Attribution mean_attributions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getMeanAttributionsCount()
publicintgetMeanAttributionsCount()Output only. Aggregated attributions explaining the Model's prediction outputs over the set of instances. The attributions are grouped by outputs.
For Models that predict only one output, such as regression Models that predict only one score, there is only one attibution that explains the predicted output. For Models that predict multiple outputs, such as multiclass Models that predict multiple classes, each element explains one specific item. Attribution.output_index can be used to identify which output this attribution is explaining.
The baselineOutputValue, instanceOutputValue and featureAttributions fields are averaged over the test data.
NOTE: Currently AutoML tabular classification Models produce only one attribution, which averages attributions over all the classes it predicts. Attribution.approximation_error is not populated.
repeated .google.cloud.vertexai.v1beta1.Attribution mean_attributions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
|
getMeanAttributionsList()
publicList<Attribution>getMeanAttributionsList()Output only. Aggregated attributions explaining the Model's prediction outputs over the set of instances. The attributions are grouped by outputs.
For Models that predict only one output, such as regression Models that predict only one score, there is only one attibution that explains the predicted output. For Models that predict multiple outputs, such as multiclass Models that predict multiple classes, each element explains one specific item. Attribution.output_index can be used to identify which output this attribution is explaining.
The baselineOutputValue, instanceOutputValue and featureAttributions fields are averaged over the test data.
NOTE: Currently AutoML tabular classification Models produce only one attribution, which averages attributions over all the classes it predicts. Attribution.approximation_error is not populated.
repeated .google.cloud.vertexai.v1beta1.Attribution mean_attributions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<Attribution> |
|
getMeanAttributionsOrBuilder(int index)
publicAttributionOrBuildergetMeanAttributionsOrBuilder(intindex)Output only. Aggregated attributions explaining the Model's prediction outputs over the set of instances. The attributions are grouped by outputs.
For Models that predict only one output, such as regression Models that predict only one score, there is only one attibution that explains the predicted output. For Models that predict multiple outputs, such as multiclass Models that predict multiple classes, each element explains one specific item. Attribution.output_index can be used to identify which output this attribution is explaining.
The baselineOutputValue, instanceOutputValue and featureAttributions fields are averaged over the test data.
NOTE: Currently AutoML tabular classification Models produce only one attribution, which averages attributions over all the classes it predicts. Attribution.approximation_error is not populated.
repeated .google.cloud.vertexai.v1beta1.Attribution mean_attributions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AttributionOrBuilder |
|
getMeanAttributionsOrBuilderList()
publicList<?extendsAttributionOrBuilder>getMeanAttributionsOrBuilderList()Output only. Aggregated attributions explaining the Model's prediction outputs over the set of instances. The attributions are grouped by outputs.
For Models that predict only one output, such as regression Models that predict only one score, there is only one attibution that explains the predicted output. For Models that predict multiple outputs, such as multiclass Models that predict multiple classes, each element explains one specific item. Attribution.output_index can be used to identify which output this attribution is explaining.
The baselineOutputValue, instanceOutputValue and featureAttributions fields are averaged over the test data.
NOTE: Currently AutoML tabular classification Models produce only one attribution, which averages attributions over all the classes it predicts. Attribution.approximation_error is not populated.
repeated .google.cloud.vertexai.v1beta1.Attribution mean_attributions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.vertexai.api.AttributionOrBuilder> |
|
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
publicfinalbooleanisInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ModelExplanation other)
publicModelExplanation.BuildermergeFrom(ModelExplanationother)| Parameter | |
|---|---|
| Name | Description |
other |
ModelExplanation |
| Returns | |
|---|---|
| Type | Description |
ModelExplanation.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicModelExplanation.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ModelExplanation.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
publicModelExplanation.BuildermergeFrom(Messageother)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ModelExplanation.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalModelExplanation.BuildermergeUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ModelExplanation.Builder |
|
removeMeanAttributions(int index)
publicModelExplanation.BuilderremoveMeanAttributions(intindex)Output only. Aggregated attributions explaining the Model's prediction outputs over the set of instances. The attributions are grouped by outputs.
For Models that predict only one output, such as regression Models that predict only one score, there is only one attibution that explains the predicted output. For Models that predict multiple outputs, such as multiclass Models that predict multiple classes, each element explains one specific item. Attribution.output_index can be used to identify which output this attribution is explaining.
The baselineOutputValue, instanceOutputValue and featureAttributions fields are averaged over the test data.
NOTE: Currently AutoML tabular classification Models produce only one attribution, which averages attributions over all the classes it predicts. Attribution.approximation_error is not populated.
repeated .google.cloud.vertexai.v1beta1.Attribution mean_attributions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ModelExplanation.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
publicModelExplanation.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ModelExplanation.Builder |
|
setMeanAttributions(int index, Attribution value)
publicModelExplanation.BuildersetMeanAttributions(intindex,Attributionvalue)Output only. Aggregated attributions explaining the Model's prediction outputs over the set of instances. The attributions are grouped by outputs.
For Models that predict only one output, such as regression Models that predict only one score, there is only one attibution that explains the predicted output. For Models that predict multiple outputs, such as multiclass Models that predict multiple classes, each element explains one specific item. Attribution.output_index can be used to identify which output this attribution is explaining.
The baselineOutputValue, instanceOutputValue and featureAttributions fields are averaged over the test data.
NOTE: Currently AutoML tabular classification Models produce only one attribution, which averages attributions over all the classes it predicts. Attribution.approximation_error is not populated.
repeated .google.cloud.vertexai.v1beta1.Attribution mean_attributions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Attribution |
| Returns | |
|---|---|
| Type | Description |
ModelExplanation.Builder |
|
setMeanAttributions(int index, Attribution.Builder builderForValue)
publicModelExplanation.BuildersetMeanAttributions(intindex,Attribution.BuilderbuilderForValue)Output only. Aggregated attributions explaining the Model's prediction outputs over the set of instances. The attributions are grouped by outputs.
For Models that predict only one output, such as regression Models that predict only one score, there is only one attibution that explains the predicted output. For Models that predict multiple outputs, such as multiclass Models that predict multiple classes, each element explains one specific item. Attribution.output_index can be used to identify which output this attribution is explaining.
The baselineOutputValue, instanceOutputValue and featureAttributions fields are averaged over the test data.
NOTE: Currently AutoML tabular classification Models produce only one attribution, which averages attributions over all the classes it predicts. Attribution.approximation_error is not populated.
repeated .google.cloud.vertexai.v1beta1.Attribution mean_attributions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Attribution.Builder |
| Returns | |
|---|---|
| Type | Description |
ModelExplanation.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicModelExplanation.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ModelExplanation.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalModelExplanation.BuildersetUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ModelExplanation.Builder |
|