java.lang.Object
es.uam.eps.ir.relison.examples.links.recommendation.evaluation.TukeyTestFileGenerator

public class TukeyTestFileGenerator
extends java.lang.Object
Given some recommendations, computes the statistical significance between them.
  • Constructor Summary

    Constructors 
    Constructor Description
    TukeyTestFileGenerator()  
  • Method Summary

    Modifier and Type Method Description
    static void main​(java.lang.String[] args)
    Computes the p-values of different recommendations in terms of the precision, and writes them to a file.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • main

      public static void main​(java.lang.String[] args) throws java.io.IOException
      Computes the p-values of different recommendations in terms of the precision, and writes them to a file.
      Parameters:
      args -
      • Test data path: Route to the test data
      • Rec. Path: Path to the directory which contains all the recommendations
      • Output: File in which to store the statistical significance results
      • Cutoff: Number of items to consider in the recommendation
      • Threshold: Minimum value for relevance
      • Num. tails: Number of tails to consider
      • Directed: True if the graph is directed, false if it is not
      • Precision: p if we want to check the statistical significance of precision, r if we want recall, ndcg if we want nDCG
      Throws:
      java.io.IOException - If something goes wrong while reading files