Enum TransformersOptimizingMetric
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
The enum which represents the possible measure for evaluating a model during hyperparameter search.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe accuracy is optimized.The area under curve (AUC)will be optimized.The sum of AUC and F1 will be optimized.The f-measure is optimized.Log loss.The loss of the model is optimized.The precision is optimized.The f-measure is optimized. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiontoString()
static TransformersOptimizingMetric
Returns the enum constant of this type with the specified name.static TransformersOptimizingMetric[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
LOSS
The loss of the model is optimized. -
ACCURACY
The accuracy is optimized. This is not a differentiable measure. Be careful - the hp search will not run optimally. -
F1
The f-measure is optimized. This is not a differentiable measure. Be careful - the hp search will not run optimally. -
RECALL
The f-measure is optimized. This is not a differentiable measure. Be careful - the hp search will not run optimally. -
PRECISION
The precision is optimized. This is not a differentiable measure. Be careful - the hp search will not run optimally. -
AUC
The area under curve (AUC)will be optimized. This means the "confindence" value will be optimized. -
AUCF1
The sum of AUC and F1 will be optimized. -
LOGLOSS
Log loss.
-
-
Constructor Details
-
TransformersOptimizingMetric
private TransformersOptimizingMetric()
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
toString
- Overrides:
toString
in classEnum<TransformersOptimizingMetric>
-