java.lang.Object
java.lang.Enum<TransformersOptimizingMetric>
de.uni_mannheim.informatik.dws.melt.matching_ml.python.nlptransformers.TransformersOptimizingMetric
All Implemented Interfaces:
Serializable, Comparable<TransformersOptimizingMetric>, java.lang.constant.Constable

public enum TransformersOptimizingMetric extends Enum<TransformersOptimizingMetric>
The enum which represents the possible measure for evaluating a model during hyperparameter search.
  • Enum Constant Details

    • LOSS

      public static final TransformersOptimizingMetric LOSS
      The loss of the model is optimized.
    • ACCURACY

      public static final TransformersOptimizingMetric ACCURACY
      The accuracy is optimized. This is not a differentiable measure. Be careful - the hp search will not run optimally.
    • F1

      public static final TransformersOptimizingMetric F1
      The f-measure is optimized. This is not a differentiable measure. Be careful - the hp search will not run optimally.
    • RECALL

      public static final TransformersOptimizingMetric RECALL
      The f-measure is optimized. This is not a differentiable measure. Be careful - the hp search will not run optimally.
    • PRECISION

      public static final TransformersOptimizingMetric PRECISION
      The precision is optimized. This is not a differentiable measure. Be careful - the hp search will not run optimally.
    • AUC

      public static final TransformersOptimizingMetric AUC
      The area under curve (AUC)will be optimized. This means the "confindence" value will be optimized.
    • AUCF1

      public static final TransformersOptimizingMetric AUCF1
      The sum of AUC and F1 will be optimized.
    • LOGLOSS

      public static final TransformersOptimizingMetric LOGLOSS
      Log loss.
  • Constructor Details

    • TransformersOptimizingMetric

      private TransformersOptimizingMetric()
  • Method Details

    • values

      public static TransformersOptimizingMetric[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static TransformersOptimizingMetric valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<TransformersOptimizingMetric>