# TrainingDetailsProperty

The training details of the model.

- 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 trainingDetailsProperty: sagemaker.CfnModelCard.TrainingDetailsProperty = {
  objectiveFunction: {
    function: {
      condition: 'condition',
      facet: 'facet',
      function: 'function',
    },
    notes: 'notes',
  },
  trainingJobDetails: {
    hyperParameters: [{
      name: 'name',
      value: 'value',
    }],
    trainingArn: 'trainingArn',
    trainingDatasets: ['trainingDatasets'],
    trainingEnvironment: {
      containerImage: ['containerImage'],
    },
    trainingMetrics: [{
      name: 'name',
      value: 123,

      // the properties below are optional
      notes: 'notes',
    }],
    userProvidedHyperParameters: [{
      name: 'name',
      value: 'value',
    }],
    userProvidedTrainingMetrics: [{
      name: 'name',
      value: 123,

      // the properties below are optional
      notes: 'notes',
    }],
  },
  trainingObservations: 'trainingObservations',
};
```

## Properties

- `objectiveFunction`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnModelCard.ObjectiveFunctionProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnModelCard.ObjectiveFunctionProperty.html) — The function that is optimized during model training.

- `trainingJobDetails`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnModelCard.TrainingJobDetailsProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnModelCard.TrainingJobDetailsProperty.html) — Details about any associated training jobs.

- `trainingObservations`: string — Any observations about training.
