featureAttributions property

Value? featureAttributions
final

Output only. Attributions of each explained feature. Features are extracted from the google.cloud.aiplatform.v1beta1.ExplainRequest.instances according to google.cloud.aiplatform.v1beta1.ExplanationMetadata.inputs.

The value is a struct, whose keys are the name of the feature. The values are how much the feature in the instance contributed to the predicted result.

The format of the value is determined by the feature's input format:

  • If the feature is a scalar value, the attribution value is a google.protobuf.Value.number_value.

  • If the feature is an array of scalar values, the attribution value is an array.

  • If the feature is a struct, the attribution value is a struct. The keys in the attribution value struct are the same as the keys in the feature struct. The formats of the values in the attribution struct are determined by the formats of the values in the feature struct.

The ExplanationMetadata.feature_attributions_schema_uri field, pointed to by the ExplanationSpec field of the Endpoint.deployed_models object, points to the schema file that describes the features and their attribution values (if it is populated).

Implementation

final protobuf.Value? featureAttributions;