Class RecommenderTest
java.lang.Object
es.uam.eps.relison.links.recommendation.test.RecommenderTest
public class RecommenderTest
extends java.lang.Object
Automated unit tests for checking some recommendation approaches.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description RecommenderTest()Constructor. -
Method Summary
Modifier and Type Method Description voidadamic()Adamic/Adar algorithmvoidbir()BIR algorithmvoidbm25()BM25 algorithmvoiddistance()Distance algorithmvoidebm25()ExtremeBM25 algorithmvoidhdi()Hub Depressed Index algorithmvoidhpi()Hub Promoted Index algorithmvoidjaccard()Jaccard algorithmvoidmcn()MCN algorithmvoidpopularity()Popularity algorithmvoidqljm()Query Likelihood - Jelinek Mercer smoothing algorithmvoidresalloc()Resource Allocation algorithmvoidsalton()Salton algorithmvoidsetUp()static voidsetUpClass()voidsorensen()Sorensen algorithmvoidtearDown()static voidtearDownClass()voidtfidf()TF-IDF algorithm
-
Field Details
-
graph
Social network graph.
-
-
Constructor Details
-
RecommenderTest
public RecommenderTest()Constructor.
-
-
Method Details
-
setUpClass
public static void setUpClass() -
tearDownClass
public static void tearDownClass() -
setUp
public void setUp() -
tearDown
public void tearDown() -
popularity
public void popularity()Popularity algorithm -
mcn
public void mcn()MCN algorithm -
jaccard
public void jaccard()Jaccard algorithm -
salton
public void salton()Salton algorithm -
sorensen
public void sorensen()Sorensen algorithm -
hpi
public void hpi()Hub Promoted Index algorithm -
hdi
public void hdi()Hub Depressed Index algorithm -
adamic
public void adamic()Adamic/Adar algorithm -
resalloc
public void resalloc()Resource Allocation algorithm -
distance
public void distance()Distance algorithm -
tfidf
public void tfidf()TF-IDF algorithm -
bir
public void bir()BIR algorithm -
bm25
public void bm25()BM25 algorithm -
ebm25
public void ebm25()ExtremeBM25 algorithm -
qljm
public void qljm()Query Likelihood - Jelinek Mercer smoothing algorithm
-