Modifier and Type | Class and Description |
---|---|
static class |
Measure.MeasureValue |
Enum Constant and Description |
---|
AP |
AUC |
IDCG |
MAE |
MPE |
MSE |
NDCG |
PRECISION |
RECALL |
RMSE |
RR |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends RecommenderEvaluator> |
getEvaluatorClass()
Return the Class object of the evaluator.
|
static java.util.List<Measure.MeasureValue> |
getMeasureEnumList(boolean isRanking,
int topN) |
static Measure |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Measure[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Measure AUC
public static final Measure AP
public static final Measure IDCG
public static final Measure NDCG
public static final Measure PRECISION
public static final Measure RECALL
public static final Measure RR
public static final Measure RMSE
public static final Measure MSE
public static final Measure MAE
public static final Measure MPE
public static Measure[] values()
for (Measure c : Measure.values()) System.out.println(c);
public static Measure valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static java.util.List<Measure.MeasureValue> getMeasureEnumList(boolean isRanking, int topN)
public java.lang.Class<? extends RecommenderEvaluator> getEvaluatorClass()
Copyright © 2017. All Rights Reserved.