Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::SampledShapleyAttribution (v1.40.0)
Stay organized with collections
Save and categorize content based on your preferences.
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
defpath_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=
defpath_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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-04-03 UTC."],[],[]]