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 void
adamic()
Adamic/Adar algorithmvoid
bir()
BIR algorithmvoid
bm25()
BM25 algorithmvoid
distance()
Distance algorithmvoid
ebm25()
ExtremeBM25 algorithmvoid
hdi()
Hub Depressed Index algorithmvoid
hpi()
Hub Promoted Index algorithmvoid
jaccard()
Jaccard algorithmvoid
mcn()
MCN algorithmvoid
popularity()
Popularity algorithmvoid
qljm()
Query Likelihood - Jelinek Mercer smoothing algorithmvoid
resalloc()
Resource Allocation algorithmvoid
salton()
Salton algorithmvoid
setUp()
static void
setUpClass()
void
sorensen()
Sorensen algorithmvoid
tearDown()
static void
tearDownClass()
void
tfidf()
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
-