Skip to content

Code for HyPER: A Flexible and Extensible Probabilistic Framework for Hybrid Recommender Systems

Notifications You must be signed in to change notification settings

jigs1993/recsys2015

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

recsys2015

Code for the paper "HyPER: A Flexible and Extensible Probabilistic Framework for Hybrid Recommender Systems" Pigi Kouki, Shobeir Fakhrei, James Foulds, Magdalini Eirinaki, Lise Getoor. Recommender Systems Conference (RecSys) 2015

In order to run this code you need first to install the Probabilistic Soft Logic (PSL) software, available here: https://github.com/linqs/psl.

Please cite this work as

@InProceedings{kouki:recsys15, author = "Kouki, Pigi and Fakhraei, Shobeir and Foulds, James and Eirinaki, Magdalini and Getoor, Lise", title = "HyPER: A Flexible and Extensible Probabilistic Framework for Hybrid Recommender Systems", booktitle = "9th ACM Conference on Recommender Systems (RecSys 2015)", year = "2015", publisher = "ACM" }

Installation instructions:

The following assumes everything is down in the same directory e.g. recsys. The instructions are for MacOS.

  1. Download and install the Probabilistic Soft Logic (PSL) software from here: https://github.com/linqs/psl. Useful info: https://github.com/linqs/psl/wiki/Getting-started

  2. Make sure you can run the basic examples. E.g.

java -cp ./target/classes:`cat classpath.out` edu.umd.cs.example.BasicExample

For help check here: https://github.com/linqs/psl/wiki/Running-a-program

  1. Clone this current git repository: git clone https://github.com/pkouki/recsys2015

  2. Go into the h2 directory and run build.sh to compile h2. We need to use this version of h2 as the original version coming with PSL has a bug and crashes under certain cases.

  3. Change the classpath.out file inside your psl-example to use this newly compiled h2. For example change the path from the default: /Users/user/.m2/repository/com/h2database/h2/1.2.126/h2-1.2.126.jar to something like: /Users/antoulas/Desktop/recsys/recsys2015/h2/bin/h2-1.2.126.jar

  4. copy the folders from recsys2015/data into psl_example/data

  5. copy the source files from recsys2015/src/main/java/edu/ucsc/cs/model to psl-example/src/main/java/edu/umd/cs/example/

  6. Compile: mvn compile

  7. You can now run the models as follows from within the psl_example directory:

    java -cp ./target/classes:`cat classpath.out` edu.ucsc.cs.model.LastfmPerceptronWeightLearning
    java -cp ./target/classes:`cat classpath.out` edu.ucsc.cs.model.YelpPerceptronWeightLearning

If the program runs out of memory you may want to increase the java VM heap size.

About

Code for HyPER: A Flexible and Extensible Probabilistic Framework for Hybrid Recommender Systems

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Roff 80.0%
  • Java 18.3%
  • HTML 1.3%
  • Groovy 0.1%
  • PLSQL 0.1%
  • JavaScript 0.1%
  • Other 0.1%