Coder Social home page Coder Social logo

recommendation_algos's Introduction

Read Me

Requirements

Installation (tested on Debian 8)

  1. Download and install Anaconda (https://www.continuum.io/).
    • NumPy, SciPy, BLAS, Pandas should automatically be included.
  2. Install build essentials
    • apt-get install build-essential
    • On Windows the installation of mingw with Anaconda should work.
      • conda install mingw
  3. Install Theano, Tensorflow and additional packages
    • conda install theano tensorflow pympler

Usage

Preprocessing

  1. Unzip any dataset file to the data folder, i.e., rsc15-clicks.dat will then be in the folder data/rsc15/raw
  2. Open the script run_preprocessing*.py to configure the preprocessing method and parameters
    • run_preprocessing_rsc15.py is for the RecSys challenge dataset.
    • run_preprocessing_tmall.py is for the TMall logs.
    • run_preprocessing_retailrocket.py is for the Retailrocket competition dataset.
    • run_preprocessing_clef.py is for the Plista challenge dataset.
    • run_preprocessing_music.py is for all music datasets (configuration of the input and output path inside the file).
  3. Run the script

Running experiments

  1. You must have run the preprocessing scripts previously
  2. Open and edit one of the run_test*.py scripts
    • run_test.py evaluates predictions for single split in terms of just the next item (HR@X and MRR@X)
    • run_test_pr.py evaluates predictions for single split in terms of all remaining items in the session (P@X, R@X, and MAP@X)
    • run_test_window.py evaluates predictions for sliding window split in terms of the next item (HR@X and MRR@X)
    • run_test_buys.py evaluates buy events in the sessions (only for the rsc15 dataset).The script run_preprocessing.py must have been executed with method "buys" before.
    • The usage of all algorithms is exemplarily shown in the script.
  3. Run the script
  4. Results and run times will be displayed and saved to the results folder as configured

recommendation_algos's People

Contributors

leonvking0 avatar

Stargazers

 avatar  avatar Xiaolong Chen avatar  avatar Xin Xia avatar git-x5 avatar whatever0228 avatar 慢半拍 avatar caiyongqi avatar  avatar  avatar Hanania Mikael avatar Robin avatar Michaël Benesty avatar  avatar Vincent avatar

Watchers

James Cloos avatar  avatar

recommendation_algos's Issues

questions about some datasets

Hi Thanks for your sharing of these datasets and contribution to the community of session-based recommendation.
I have some questions about the origin dataset.
For 30music and clef datasets, is there any description about them. Which platform are they from or are they used in session-based recommendation papers? I only see some papers use Tmall, Yoochoose, Diginetica, Retailrocket but I never see there is any paper using clef and 30music.

Thanks again!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.