Documentation of 'edu.uci.jforests.eval.ranking.TRiskAwareFAROEval' Java class
TRiskAwareFAROEval
edu.uci.jforests.eval.ranking

Class 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.

    • 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:
        getSwapScorer in class TRiskAwareSAROEval
        Parameters:
        targets - Targets of all documents in dataset. Equals Dataset.*.length
        boundaries - Start and end indices of each query within the dataset.
        trunc - Truncation level for evaluation measure
        labelCounts - How many of each label value
        Throws:
        java.lang.Exception - if things go pear shaped

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.