Valda
Introduction
Valda is a Python package for data valuation in machine learning. If you are interested in
- analyzing the contribution of individual training examples to the final classification performance, or
- identifying some noisy examples in the training set,
you may be interested in the functions provided by this package.
The current version supports five different data valuation methods. It supports all the classifiers from Sklearn for valuation, and also user-defined classifier using PyTorch.
- Leave-one-out (LOO),
- Data Shapley with the TMC algorithm (TMC-Shapley) from Ghorbani and Zou (2019),
- Beta Shapley from Kwon and Zou (2022)
- Class-wise Shapley (CS-Shapley) from Schoch et al. (2022)
- Influence Function (IF) from Koh and Liang (2017)
- IF only works with the classifiers built with PyTorch, because it requires gradient computation.
- v0.1.8 only support the first-order gradient computation, and we will add the second-order computation soon.
Tutorial
Please checkout a simple tutorial on Google Colab, for how to use this package.
Metadata
Release files for valda 0.1.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| valda-0.1.10.tar.gz | 11.4 kB | Without provenance | Details for valda-0.1.10.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| valda-0.1.10-py3-none-any.whl | Python 3 | none | any | Details for valda-0.1.10-py3-none-any.whl |
Total release size: 25.7 kB
Release files / valda-0.1.10.tar.gz
| Download URL | valda-0.1.10.tar.gz |
|---|---|
| Size | 11.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
67e42c8446ea2e0baa42a1da769bf9d2758705205107d772f140ef4731a8e585
|
|
BLAKE2b-256 checksum How to use checksums |
21787bdf61979f801314e997771b2def6ecf90bffcab9ce8933a091dd47a04d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.7
|
Release files / valda-0.1.10-py3-none-any.whl
| Download URL | valda-0.1.10-py3-none-any.whl |
|---|---|
| Size | 14.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aa8cdddccd296cabe097aee7cee45dbc23b97f52622da50b6167b5ecb9845792
|
|
BLAKE2b-256 checksum How to use checksums |
0c3e3ebbb4f310898ca87bd9e29a31e85155b838a017a5738e59666efb5deff6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.7
|
Security for valda 0.1.10
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.