Google Cloud Ai Platform V1 Client - Class SampledShapleyAttribution (0.39.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class 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.

Generated from protobuf message google.cloud.aiplatform.v1.SampledShapleyAttribution

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ path_count int

Required. The number of feature permutations to consider when approximating the Shapley values. Valid range of its value is [1, 50], inclusively.

getPathCount

Required. The number of feature permutations to consider when approximating the Shapley values.

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

Returns
Type Description
int

setPathCount

Required. The number of feature permutations to consider when approximating the Shapley values.

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

Parameter
Name Description
var int
Returns
Type Description
$this