# ObjectiveFunctionProperty

The function that is optimized during model training.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

```ts
// 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 objectiveFunctionProperty: sagemaker.CfnModelCard.ObjectiveFunctionProperty = {
  function: {
    condition: 'condition',
    facet: 'facet',
    function: 'function',
  },
  notes: 'notes',
};
```

## Properties

- `function`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnModelCard.FunctionProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnModelCard.FunctionProperty.html) — A function object that details optimization direction, metric, and additional descriptions.

- `notes`: string — Notes about the object function, including other considerations for possible objective functions.
