aws-cdk-lib.aws_sagemaker.CfnModelCard.FunctionProperty

interface FunctionProperty

LanguageType name
.NETAmazon.CDK.AWS.Sagemaker.CfnModelCard.FunctionProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnModelCard_FunctionProperty
Javasoftware.amazon.awscdk.services.sagemaker.CfnModelCard.FunctionProperty
Pythonaws_cdk.aws_sagemaker.CfnModelCard.FunctionProperty
TypeScript aws-cdk-lib » aws_sagemaker » CfnModelCard » FunctionProperty

Function details.

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 functionProperty: sagemaker.CfnModelCard.FunctionProperty = {
  condition: 'condition',
  facet: 'facet',
  function: 'function',
};

Properties

NameTypeDescription
condition?stringAn optional description of any conditions of your objective function metric.
facet?stringThe metric of the model's objective function.
function?stringThe optimization direction of the model's objective function. You must specify one of the following values:.

condition?

Type: string (optional)

An optional description of any conditions of your objective function metric.


facet?

Type: string (optional)

The metric of the model's objective function.

For example, loss or rmse . The following list shows examples of the values that you can specify for the metric:

  • ACCURACY
  • AUC
  • LOSS
  • MAE
  • RMSE

function?

Type: string (optional)

The optimization direction of the model's objective function. You must specify one of the following values:.

  • Maximize
  • Minimize