ExplainabilityProperty Struct
Contains explainability metrics for a model.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const explainabilityProperty: sagemaker.CfnModelPackage.ExplainabilityProperty = {
report: {
contentType: 'contentType',
s3Uri: 's3Uri',
// the properties below are optional
contentDigest: 'contentDigest',
},
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_sagemaker as sagemaker
explainability_property = sagemaker.CfnModelPackage.ExplainabilityProperty(
report=sagemaker.CfnModelPackage.MetricsSourceProperty(
content_type="contentType",
s3_uri="s3Uri",
# the properties below are optional
content_digest="contentDigest"
)
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.sagemaker.*;
ExplainabilityProperty explainabilityProperty = ExplainabilityProperty.builder()
.report(MetricsSourceProperty.builder()
.contentType("contentType")
.s3Uri("s3Uri")
// the properties below are optional
.contentDigest("contentDigest")
.build())
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Sagemaker;
var explainabilityProperty = new ExplainabilityProperty {
Report = new MetricsSourceProperty {
ContentType = "contentType",
S3Uri = "s3Uri",
// the properties below are optional
ContentDigest = "contentDigest"
}
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
explainabilityProperty := &ExplainabilityProperty{
Report: &MetricsSourceProperty{
ContentType: jsii.String("contentType"),
S3Uri: jsii.String("s3Uri"),
// the properties below are optional
ContentDigest: jsii.String("contentDigest"),
},
}
Properties
reportoptionalIResolvable | CfnModelPackage.reportoptionaltyping.Union[IResolvable, MetricsSourceProperty]reportoptionalIResolvableReportoptionalIResolvableReportoptionalinterface{} #The explainability report for a model.