Skip to content
v2.274.0

ObjectiveFunctionProperty Struct ​

The function that is optimized during model training.

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 ​

functionoptionalIResolvable | CfnModelCard.FunctionPropertyfunctionoptionaltyping.Union[IResolvable, FunctionProperty]functionoptionalIResolvableFunctionoptionalIResolvableFunctionoptionalinterface{}#
A function object that details optimization direction, metric, and additional descriptions.
notesoptionalstringnotesoptionalstrnotesoptionalStringNotesoptionalstringNotesoptional*string#
Notes about the object function, including other considerations for possible objective functions.