edu.uci.jforests.eval.ranking
Class TRiskAwareFAROEval
- java.lang.Object
-
- edu.uci.jforests.eval.EvaluationMetric
-
- edu.uci.jforests.eval.ranking.RankingEvaluationMetric
-
- edu.uci.jforests.eval.ranking.URiskAwareEval
-
- edu.uci.jforests.eval.ranking.TRiskAwareSAROEval
-
- edu.uci.jforests.eval.ranking.TRiskAwareFAROEval
-
public class TRiskAwareFAROEval extends TRiskAwareSAROEval
Implements the TRisk risk-sensitive optimisation metric called FARO, as defined by Dincer et al. See Taner Dincer, Craig Macdonald and Iadh Ounis, Hypothesis Testing for Risk-Sensitive Evaluation of Retrieval Systems, SIGIR 2014.Implementation Details
It is assumed that the natural ordering of documents for each query defines the baseline.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class edu.uci.jforests.eval.ranking.URiskAwareEval
URiskAwareEval.TestURiskSwaps
-
Nested classes/interfaces inherited from class edu.uci.jforests.eval.ranking.RankingEvaluationMetric
RankingEvaluationMetric.SwapScorer
-
-
Constructor Summary
Constructors Constructor and Description TRiskAwareFAROEval(EvaluationMetric _parent, double alpha)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description RankingEvaluationMetric.SwapScorergetSwapScorer(double[] targets, int[] boundaries, int trunc, int[][] labelCounts)-
Methods inherited from class edu.uci.jforests.eval.ranking.TRiskAwareSAROEval
getEstimates, measure, T_measure
-
Methods inherited from class edu.uci.jforests.eval.ranking.URiskAwareEval
getParentMetric, measureByQuery
-
Methods inherited from class edu.uci.jforests.eval.ranking.RankingEvaluationMetric
computeNaturalOrderScores
-
Methods inherited from class edu.uci.jforests.eval.EvaluationMetric
isFirstBetter, largerIsBetter
-
-
-
-
Constructor Detail
-
TRiskAwareFAROEval
public TRiskAwareFAROEval(EvaluationMetric _parent, double alpha)
-
-
Method Detail
-
getSwapScorer
public RankingEvaluationMetric.SwapScorer getSwapScorer(double[] targets, int[] boundaries, int trunc, int[][] labelCounts) throws java.lang.Exception
- Overrides:
getSwapScorerin classTRiskAwareSAROEval- Parameters:
targets- Targets of all documents in dataset. Equals Dataset.*.lengthboundaries- Start and end indices of each query within the dataset.trunc- Truncation level for evaluation measurelabelCounts- How many of each label value- Throws:
java.lang.Exception- if things go pear shaped
-
-
DMelt 3.0 © DataMelt by jWork.ORG