interface FunctionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.SageMaker.CfnModelCardPropsMixin.FunctionProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awssagemaker#CfnModelCardPropsMixin_FunctionProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnModelCardPropsMixin.FunctionProperty |
Python | aws_cdk.cfn_property_mixins.aws_sagemaker.CfnModelCardPropsMixin.FunctionProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_sagemaker » CfnModelCardPropsMixin » 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/cfn-property-mixins';
const functionProperty: sagemaker.CfnModelCardPropsMixin.FunctionProperty = {
condition: 'condition',
facet: 'facet',
function: 'function',
};
Properties
| Name | Type | Description |
|---|---|---|
| condition? | string | An optional description of any conditions of your objective function metric. |
| facet? | string | The metric of the model's objective function. |
| function? | string | The 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:
ACCURACYAUCLOSSMAERMSE
function?
Type:
string
(optional)
The optimization direction of the model's objective function. You must specify one of the following values:.
MaximizeMinimize

.NET
Go
Java
Python
TypeScript