Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::SampledShapleyAttribution (v0.11.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::SampledShapleyAttribution.

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.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#path_count

def path_count() -> ::Integer
Returns
  • (::Integer) — Required. The number of feature permutations to consider when approximating the Shapley values.

    Valid range of its value is [1, 50], inclusively.

#path_count=

def path_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Required. The number of feature permutations to consider when approximating the Shapley values.

    Valid range of its value is [1, 50], inclusively.

Returns
  • (::Integer) — Required. The number of feature permutations to consider when approximating the Shapley values.

    Valid range of its value is [1, 50], inclusively.