Class StatisticalSignificance
java.lang.Object
es.uam.eps.ir.relison.examples.links.recommendation.evaluation.StatisticalSignificance
public class StatisticalSignificance
extends java.lang.Object
Given some recommendations, computes the statistical significance between them.
-
Constructor Summary
Constructors Constructor Description StatisticalSignificance()
-
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.
-
Constructor Details
-
StatisticalSignificance
public StatisticalSignificance()
-
-
Method Details
-
main
public static void main(java.lang.String[] args) throws java.io.IOExceptionComputes 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
- 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
-