interface ModelMetricsProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Sagemaker.CfnModelPackage.ModelMetricsProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnModelPackage_ModelMetricsProperty |
![]() | software.amazon.awscdk.services.sagemaker.CfnModelPackage.ModelMetricsProperty |
![]() | aws_cdk.aws_sagemaker.CfnModelPackage.ModelMetricsProperty |
![]() | aws-cdk-lib » aws_sagemaker » CfnModelPackage » ModelMetricsProperty |
Contains metrics captured from a model.
Example
// 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 modelMetricsProperty: sagemaker.CfnModelPackage.ModelMetricsProperty = {
bias: {
postTrainingReport: {
contentType: 'contentType',
s3Uri: 's3Uri',
// the properties below are optional
contentDigest: 'contentDigest',
},
preTrainingReport: {
contentType: 'contentType',
s3Uri: 's3Uri',
// the properties below are optional
contentDigest: 'contentDigest',
},
report: {
contentType: 'contentType',
s3Uri: 's3Uri',
// the properties below are optional
contentDigest: 'contentDigest',
},
},
explainability: {
report: {
contentType: 'contentType',
s3Uri: 's3Uri',
// the properties below are optional
contentDigest: 'contentDigest',
},
},
modelDataQuality: {
constraints: {
contentType: 'contentType',
s3Uri: 's3Uri',
// the properties below are optional
contentDigest: 'contentDigest',
},
statistics: {
contentType: 'contentType',
s3Uri: 's3Uri',
// the properties below are optional
contentDigest: 'contentDigest',
},
},
modelQuality: {
constraints: {
contentType: 'contentType',
s3Uri: 's3Uri',
// the properties below are optional
contentDigest: 'contentDigest',
},
statistics: {
contentType: 'contentType',
s3Uri: 's3Uri',
// the properties below are optional
contentDigest: 'contentDigest',
},
},
};
Properties
Name | Type | Description |
---|---|---|
bias? | IResolvable | Bias | Metrics that measure bias in a model. |
explainability? | IResolvable | Explainability | Metrics that help explain a model. |
model | IResolvable | Model | Metrics that measure the quality of the input data for a model. |
model | IResolvable | Model | Metrics that measure the quality of a model. |
bias?
Type:
IResolvable
|
Bias
(optional)
Metrics that measure bias in a model.
explainability?
Type:
IResolvable
|
Explainability
(optional)
Metrics that help explain a model.
modelDataQuality?
Type:
IResolvable
|
Model
(optional)
Metrics that measure the quality of the input data for a model.
modelQuality?
Type:
IResolvable
|
Model
(optional)
Metrics that measure the quality of a model.