aws-cdk-lib.aws_sagemaker.CfnModelPackage.ModelMetricsProperty

interface ModelMetricsProperty

LanguageType name
.NETAmazon.CDK.AWS.Sagemaker.CfnModelPackage.ModelMetricsProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnModelPackage_ModelMetricsProperty
Javasoftware.amazon.awscdk.services.sagemaker.CfnModelPackage.ModelMetricsProperty
Pythonaws_cdk.aws_sagemaker.CfnModelPackage.ModelMetricsProperty
TypeScript 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

NameTypeDescription
bias?IResolvable | BiasPropertyMetrics that measure bais in a model.
explainability?IResolvable | ExplainabilityPropertyMetrics that help explain a model.
modelDataQuality?IResolvable | ModelDataQualityPropertyMetrics that measure the quality of the input data for a model.
modelQuality?IResolvable | ModelQualityPropertyMetrics that measure the quality of a model.

bias?

Type: IResolvable | BiasProperty (optional)

Metrics that measure bais in a model.


explainability?

Type: IResolvable | ExplainabilityProperty (optional)

Metrics that help explain a model.


modelDataQuality?

Type: IResolvable | ModelDataQualityProperty (optional)

Metrics that measure the quality of the input data for a model.


modelQuality?

Type: IResolvable | ModelQualityProperty (optional)

Metrics that measure the quality of a model.