Interface CfnModelCard.FunctionProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnModelCard.FunctionProperty.Jsii$Proxy
Enclosing class:
CfnModelCard

@Stability(Stable) public static interface CfnModelCard.FunctionProperty extends software.amazon.jsii.JsiiSerializable
Function details.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.sagemaker.*;
 FunctionProperty functionProperty = FunctionProperty.builder()
         .condition("condition")
         .facet("facet")
         .function("function")
         .build();
 
  • Method Details

    • getCondition

      @Stability(Stable) @Nullable default String getCondition()
      An optional description of any conditions of your objective function metric.
    • getFacet

      @Stability(Stable) @Nullable default String getFacet()
      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
    • getFunction

      @Stability(Stable) @Nullable default String getFunction()
      The optimization direction of the model's objective function. You must specify one of the following values:.

      • Maximize
      • Minimize
    • builder

      @Stability(Stable) static CfnModelCard.FunctionProperty.Builder builder()
      Returns:
      a CfnModelCard.FunctionProperty.Builder of CfnModelCard.FunctionProperty