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

    Fields 
    Modifier and Type Field Description
    private FastGraph<java.lang.Long> graph
    Social network graph.
  • Constructor Summary

    Constructors 
    Constructor Description
    RecommenderTest()
    Constructor.
  • Method Summary

    Modifier and Type Method Description
    void adamic()
    Adamic/Adar algorithm
    void bir()
    BIR algorithm
    void bm25()
    BM25 algorithm
    void distance()
    Distance algorithm
    void ebm25()
    ExtremeBM25 algorithm
    void hdi()
    Hub Depressed Index algorithm
    void hpi()
    Hub Promoted Index algorithm
    void jaccard()
    Jaccard algorithm
    void mcn()
    MCN algorithm
    void popularity()
    Popularity algorithm
    void qljm()
    Query Likelihood - Jelinek Mercer smoothing algorithm
    void resalloc()
    Resource Allocation algorithm
    void salton()
    Salton algorithm
    void setUp()  
    static void setUpClass()  
    void sorensen()
    Sorensen algorithm
    void tearDown()  
    static void tearDownClass()  
    void tfidf()
    TF-IDF algorithm

    Methods inherited from class java.lang.Object

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

    • graph

      private final FastGraph<java.lang.Long> graph
      Social network graph.
  • Constructor Details

  • 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