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 details)

Uploaded Source

File details

Details for the file opendv-0.0.1.tar.gz.

File metadata

  • Download URL: opendv-0.0.1.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for opendv-0.0.1.tar.gz
Algorithm Hash digest
SHA256 45934dc42305c2a5a128a4ee96d5a41adcd99b114939fd84e48f27cd0b1bd450
MD5 6c4d31343dcab64a63bc33893e242f33
BLAKE2b-256 44cd9bf71a9ba33979d254bb9d4b7d0d633c91d227fe2e0471a8b09b084a33d1

See more details on using hashes here.

Supported by

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