Skip to main content

An Open-Source Framework for Shapley-based value intened intended for data valuation.

Project description

An Open-Source Framework for Shapley-based value intened intended for data valuation.


OverviewInstallationHow To Use

What's New?

TBD $\text{\color{red}{!in progress}}$

Overview

Shapley-based values are prevalent data valuation approaches, which are attractive for its fair properties (axioms).

The approaches are planned to support including Shapley-based values and some other famous values for data valuation.

Shapley-based values:

  • Shapley value
  • Beta Shapley value
  • KNN Shapley value
  • Asymmetric Shapley value
  • Robust Shapley value
  • Cosine gradient Shapley value
  • CS-Shapley value
  • Banzhaf value
  • Volumn-based Shapley value

Others:

  • LOO
  • DVRL
  • Data-OOB

What Can You Do via OpenDV?

  • Use the implementations of current Shapley-based values.* We have implemented various of Shapley-based values and corresponding SOTA computation techniques. You can easily call and understand these methods.
  • Design your own data valuation work. With the extensibility of OpenDV, you can quickly practice your data valuation ideas.

Installation

Note: Please use Python 3.10+ for OpenDV

Using Pip

Our repo is tested on Python 3.10+, install OpenDV using pip as follows:

pip install opendv

To play with the latest features, you can also install OpenDV from the source.

Using Git

Clone the repository from github:

git clone https://github.com/ZJU-DIVER/OpenDV.git
cd opendv
pip install -r requirements.txt
python setup.py install

Modify the code

python setup.py develop

Use OpenDV

TBD

Base Concepts

TBD

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

opendv-0.0.1.tar.gz (8.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page