Enum EvaluatorType
- java.lang.Object
-
- java.lang.Enum<EvaluatorType>
-
- org.aksw.limes.core.evaluation.evaluator.EvaluatorType
-
- All Implemented Interfaces:
Serializable,Comparable<EvaluatorType>
public enum EvaluatorType extends Enum<EvaluatorType>
This enumeration represents the qualitative measures list used in the framework.
They represent an input to the measure factory to retrieve a measure object to evaluate a generated mapping- Since:
- 1.0
- Version:
- 1.0
- Author:
- Mofeed Hassan (mounir@informatik.uni-leipzig.de)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCURACYALLAUCF_MEASUREP_PRECISIONP_RECALLPF_MEASUREPR_PRECISIONPR_RECALLPRECISIONPRF_MEASURERECALL
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EvaluatorTypevalueOf(String name)Returns the enum constant of this type with the specified name.static EvaluatorType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PRECISION
public static final EvaluatorType PRECISION
-
RECALL
public static final EvaluatorType RECALL
-
F_MEASURE
public static final EvaluatorType F_MEASURE
-
P_PRECISION
public static final EvaluatorType P_PRECISION
-
P_RECALL
public static final EvaluatorType P_RECALL
-
PF_MEASURE
public static final EvaluatorType PF_MEASURE
-
ACCURACY
public static final EvaluatorType ACCURACY
-
AUC
public static final EvaluatorType AUC
-
PR_PRECISION
public static final EvaluatorType PR_PRECISION
-
PR_RECALL
public static final EvaluatorType PR_RECALL
-
PRF_MEASURE
public static final EvaluatorType PRF_MEASURE
-
ALL
public static final EvaluatorType ALL
-
-
Method Detail
-
values
public static EvaluatorType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EvaluatorType c : EvaluatorType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EvaluatorType 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 nameNullPointerException- if the argument is null
-
-