Class CfnModelPackage.ModelMetricsProperty
Contains metrics captured from a model.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ModelMetricsProperty : Object, CfnModelPackage.IModelMetricsProperty
Syntax (vb)
Public Class ModelMetricsProperty
Inherits Object
Implements CfnModelPackage.IModelMetricsProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// 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 modelMetricsProperty = new ModelMetricsProperty {
Bias = new BiasProperty {
PostTrainingReport = new MetricsSourceProperty {
ContentType = "contentType",
S3Uri = "s3Uri",
// the properties below are optional
ContentDigest = "contentDigest"
},
PreTrainingReport = new MetricsSourceProperty {
ContentType = "contentType",
S3Uri = "s3Uri",
// the properties below are optional
ContentDigest = "contentDigest"
},
Report = new MetricsSourceProperty {
ContentType = "contentType",
S3Uri = "s3Uri",
// the properties below are optional
ContentDigest = "contentDigest"
}
},
Explainability = new ExplainabilityProperty {
Report = new MetricsSourceProperty {
ContentType = "contentType",
S3Uri = "s3Uri",
// the properties below are optional
ContentDigest = "contentDigest"
}
},
ModelDataQuality = new ModelDataQualityProperty {
Constraints = new MetricsSourceProperty {
ContentType = "contentType",
S3Uri = "s3Uri",
// the properties below are optional
ContentDigest = "contentDigest"
},
Statistics = new MetricsSourceProperty {
ContentType = "contentType",
S3Uri = "s3Uri",
// the properties below are optional
ContentDigest = "contentDigest"
}
},
ModelQuality = new ModelQualityProperty {
Constraints = new MetricsSourceProperty {
ContentType = "contentType",
S3Uri = "s3Uri",
// the properties below are optional
ContentDigest = "contentDigest"
},
Statistics = new MetricsSourceProperty {
ContentType = "contentType",
S3Uri = "s3Uri",
// the properties below are optional
ContentDigest = "contentDigest"
}
}
};
Synopsis
Constructors
Model |
Properties
Bias | Metrics that measure bias in a model. |
Explainability | Metrics that help explain a model. |
Model |
Metrics that measure the quality of the input data for a model. |
Model |
Metrics that measure the quality of a model. |
Constructors
ModelMetricsProperty()
public ModelMetricsProperty()
Properties
Bias
Metrics that measure bias in a model.
public object Bias { get; set; }
Property Value
System.
Remarks
Explainability
Metrics that help explain a model.
public object Explainability { get; set; }
Property Value
System.
Remarks
ModelDataQuality
Metrics that measure the quality of the input data for a model.
public object ModelDataQuality { get; set; }
Property Value
System.
Remarks
ModelQuality
Metrics that measure the quality of a model.
public object ModelQuality { get; set; }
Property Value
System.