java.lang.Object
com.azure.core.util.ExpandableStringEnum<Goal>
com.azure.resourcemanager.machinelearning.models.Goal

public final class Goal extends com.azure.core.util.ExpandableStringEnum<Goal>
Defines supported metric goals for hyperparameter tuning.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Goal
    Static value Maximize for Goal.
    static final Goal
    Static value Minimize for Goal.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    Use the fromString(String) factory method.
  • Method Summary

    Modifier and Type
    Method
    Description
    static Goal
    Creates or finds a Goal from its string representation.
    Gets known Goal values.

    Methods inherited from class com.azure.core.util.ExpandableStringEnum

    equals, fromString, hashCode, toString, values

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • MINIMIZE

      public static final Goal MINIMIZE
      Static value Minimize for Goal.
    • MAXIMIZE

      public static final Goal MAXIMIZE
      Static value Maximize for Goal.
  • Constructor Details

  • Method Details

    • fromString

      public static Goal fromString(String name)
      Creates or finds a Goal from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding Goal.
    • values

      public static Collection<Goal> values()
      Gets known Goal values.
      Returns:
      known Goal values.