Interface CfnModelCard.FunctionProperty

All Superinterfaces:
All Known Implementing Classes:
Enclosing class:

@Stability(Stable) public static interface CfnModelCard.FunctionProperty extends
Function details.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 FunctionProperty functionProperty = FunctionProperty.builder()
  • 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()
      a CfnModelCard.FunctionProperty.Builder of CfnModelCard.FunctionProperty