1.0.0-beta87 (latest) 1.0.0-beta86

    public sealed class SampledShapleyAttribution : IMessage<SampledShapleyAttribution>, IEquatable<SampledShapleyAttribution>, IDeepCloneable<SampledShapleyAttribution>, IBufferMessage, IMessage

Reference documentation and code samples for the Vertex AI v1beta1 API 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.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> SampledShapleyAttribution

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[SampledShapleyAttribution](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.SampledShapleyAttribution), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SampledShapleyAttribution](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.SampledShapleyAttribution), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[SampledShapleyAttribution](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.SampledShapleyAttribution), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.AIPlatform.V1Beta1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1)

## Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

## Constructors

### SampledShapleyAttribution()

    public SampledShapleyAttribution()

### SampledShapleyAttribution(SampledShapleyAttribution)

    public SampledShapleyAttribution(SampledShapleyAttribution other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.SampledShapleyAttribution` |

## Properties

### PathCount

    public int PathCount { get; set; }

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

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.int32` |   |