Skip to content

amsterdata/caboose

 
 

Repository files navigation

caboose

This repository contains the code for our recent SIGIR paper on unlearning data from kNN recommendations models:

Sebastian Schelter, Mozhdeh Ariannezhad, Maarten de Rijke (2023). Forget Me Now - Fast and Exact Unlearning in Neighborhood-Based Recommendation. ACM SIGIR'23

This code contains the Python frontend and the integration into next-basket recommendation algorithms. The Rust code for the underlying index is available at https://github.com/schelterlabs/caboose_index .

Installation for Development

Preliminaries

Dependencies and build

  • Setup a virtualenv python3.9 -m venv venv and source venv/bin/activate
  • Install Cython (needed for similaripy) pip install Cython==0.29.32
  • Install the dependencies pip install -r requirements.txt
  • Build the project with maturin develop --release

Validation

  • Run the tests with pytest
  • Start jupyter and run the minimal notebook

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 88.1%
  • Jupyter Notebook 8.7%
  • Rust 3.2%