DataEval provides a simple interface to characterize image data and its impact on model performance across classification and object-detection tasks
Project description
DataEval
About DataEval
DataEval focuses on characterizing image data and its impact on model performance across classification and object-detection tasks.
Model-agnostic metrics that bound real-world performance
- relevance/completeness/coverage
- metafeatures (data complexity)
Model-specific metrics that guide model selection and training
- dataset sufficiency
- data/model complexity mismatch
Metrics for post-deployment monitoring of data with bounds on model performance to guide retraining
- dataset-shift metrics
- model performance bounds under covariate shift
- guidance on sampling to assess model error and model retraining
Getting Started
Requirements
- Python 3.9-3.11
Installing DataEval
You can install DataEval directly from pypi.org using the following command. The optional dependencies of DataEval are torch
, tensorflow
and all
. Using torch
enables Sufficiency metrics, and tensorflow
enables OOD Detection.
pip install dataeval[all]
Installing DataEval in Conda/Mamba
DataEval can be installed in a Conda/Mamba environment using the provided environment.yaml
file. As some dependencies
are installed from the pytorch
channel, the channel is specified in the below example.
micromamba create -f environment\environment.yaml -c pytorch
Installing DataEval from GitHub
To install DataEval from source locally on Ubuntu, you will need git-lfs
to download larger, binary source files and poetry
for project dependency management.
sudo apt-get install git-lfs
pip install poetry
Pull the source down and change to the DataEval project directory.
git clone https://github.com/aria-ml/dataeval.git
cd dataeval
Install DataEval with optional dependencies for development.
poetry install --all-extras --with dev
Now that DataEval is installed, you can run commands in the poetry virtual environment by prefixing shell commands with poetry run
, or activate the virtual environment directly in the shell.
poetry shell
Documentation and Tutorials
For more ideas on getting started using DataEval in your workflow, additional information and tutorials are in our Sphinx documentation hosted on Read the Docs.
Attribution
This project uses code from the Alibi-Detect python library developed by SeldonIO. Additional documentation from the developers are also available here.
POCs
- POC: Scott Swan @scott.swan
- DPOC: Andrew Weng @aweng
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file dataeval-0.70.1.tar.gz
.
File metadata
- Download URL: dataeval-0.70.1.tar.gz
- Upload date:
- Size: 89.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 569800816b4aa1a161abe37188245df025fc30ccf8501e7dd931c3172efd1e20 |
|
MD5 | d5cb857033c7e5abbe5be87ff9b66db0 |
|
BLAKE2b-256 | c46df54e78e89a584cf9c5bec47a0eb15ab097f3d18558449cc459c14e691386 |
File details
Details for the file dataeval-0.70.1-py3-none-any.whl
.
File metadata
- Download URL: dataeval-0.70.1-py3-none-any.whl
- Upload date:
- Size: 123.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9c6bbbb631af8ef430f8a2dc0921cc6e4ed027731dbf4acd82b3f84e568cd8f |
|
MD5 | 65d71bb2304d1451c4c8d2adee6c71e5 |
|
BLAKE2b-256 | 3767d749e9bc9c5ef609e610b6d7bbdce67659946d4a43c59ee1b9e4902ece13 |