Giter VIP home page Giter VIP logo

swalk's Introduction

SWalk

This is the official code for the WSDM 2022 paper:
[S-Walk: Accurate and Scalable Session-based Recommendation with Random Walks.] (https://arxiv.org/abs/2201.01091).

We implemented our model based on the session-recommedndation framework session-rec, and you can find the other session-based models and detailed usage on there.
Thanks for sharing the code.

README.md and the comments in source code will be updated, again.

The slides can be found here.

Dataset

Datasets can be downloaded from:
https://drive.google.com/drive/folders/1ritDnO_Zc6DFEU6UND9C8VCisT0ETVp5

  • Unzip any dataset file to the data folder, i.e., rsc15-clicks.dat will then be in the folder data/rsc15/raw
  • Run a configuration with the following command: For example: python run_preprocesing.py conf/preprocess/window/rsc15.yml

Basic Usage

  • Change the expeimental settings and the model hyperparameters using a configuration file *.yml.
  • When a configuration file in conf/in has been executed, it will be moved to the folder conf/out.
  • Run run_config.py with configuaration folder arguments to train and test models.
    For example: python run_confg.py conf/in conf/out

Running SLIST

  • The yml files for slist used in paper can be found in conf/save_swalk

Requirements

  • Python 3
  • NumPy
  • Pyyaml
  • SciPy
  • Sklearn
  • Pandas
  • Psutil

swalk's People

Contributors

jin530 avatar

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.