interface DriftCheckBiasProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Sagemaker.CfnModelPackage.DriftCheckBiasProperty |
Java | software.amazon.awscdk.services.sagemaker.CfnModelPackage.DriftCheckBiasProperty |
Python | aws_cdk.aws_sagemaker.CfnModelPackage.DriftCheckBiasProperty |
TypeScript | @aws-cdk/aws-sagemaker » CfnModelPackage » DriftCheckBiasProperty |
Represents the drift check bias baselines that can be used when the model monitor is set using the model package.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as sagemaker from '@aws-cdk/aws-sagemaker';
const driftCheckBiasProperty: sagemaker.CfnModelPackage.DriftCheckBiasProperty = {
configFile: {
s3Uri: 's3Uri',
// the properties below are optional
contentDigest: 'contentDigest',
contentType: 'contentType',
},
postTrainingConstraints: {
contentType: 'contentType',
s3Uri: 's3Uri',
// the properties below are optional
contentDigest: 'contentDigest',
},
preTrainingConstraints: {
contentType: 'contentType',
s3Uri: 's3Uri',
// the properties below are optional
contentDigest: 'contentDigest',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| config | IResolvable | File | The bias config file for a model. |
| post | IResolvable | Metrics | The post-training constraints. |
| pre | IResolvable | Metrics | The pre-training constraints. |
configFile?
Type:
IResolvable | File
(optional)
The bias config file for a model.
postTrainingConstraints?
Type:
IResolvable | Metrics
(optional)
The post-training constraints.
preTrainingConstraints?
Type:
IResolvable | Metrics
(optional)
The pre-training constraints.

.NET
Java
Python
TypeScript