Skip to content

theLauA/MachineUnlearningPy

Repository files navigation

Introduction

This is an implementation of the unlearning algorithms presented in Toward Making Systems Forget with Machine Learning, written by Cao, Yinzhi and Yang, Junfeng. Specifically, we are implementing the unlearning algorithm for LensKit's ItemItem similarity algorithm.

SetUp

Modification

Modifications are made in ./lenskit/algorithms/item_knn.py from line 221 to 691.
Codes are injected in ./lenskit/algorithms/item_knn.py method fit to run time cost evaluation and save results in .csv
A pipeline is written in ./unlearn/basic.py to run produce time cost evaluation for different input size
A visualization is written in ./unlearn/visualization.py to graph the time cost evaluation stored in .csv

LensKit Python Implementation

Build Status codecov Maintainability

LensKit is a set of Python tools for experimenting with and studying recommender systems. It provides support for training, running, and evaluating recommender algorithms in a flexible fashion suitable for research and education.

Python LensKit (LKPY) is the successor to the Java-based LensKit project.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published