edu.uci.jforests.eval.ranking
Class GAPEval
- java.lang.Object
-
- edu.uci.jforests.eval.ranking.GAPEval
-
public class GAPEval extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field and Description static intGAIN_LEVELS
-
Constructor Summary
Constructors Constructor and Description GAPEval()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static doublegetDeltaGAP(int[] labels, int[][] cumulativeLabelCount, int p, int q, double maxExpectedPrecision)static doublegetGAP(int[] labels)static double[]getMaxExpectedPrecisionForAllQueries(double[] labels, int[] boundaries, int[][] labelCounts)
-
-
-
Field Detail
-
GAIN_LEVELS
public static final int GAIN_LEVELS
- See Also:
- Constant Field Values
-
-
Method Detail
-
getGAP
public static double getGAP(int[] labels)
-
getDeltaGAP
public static double getDeltaGAP(int[] labels, int[][] cumulativeLabelCount, int p, int q, double maxExpectedPrecision)
-
getMaxExpectedPrecisionForAllQueries
public static double[] getMaxExpectedPrecisionForAllQueries(double[] labels, int[] boundaries, int[][] labelCounts) throws java.lang.Exception- Throws:
java.lang.Exception
-
-
DMelt 3.0 © DataMelt by jWork.ORG