Skip to main content

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


Download files

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

Source Distribution

dataeval-0.72.2.tar.gz (101.9 kB view details)

Uploaded Source

Built Distribution

dataeval-0.72.2-py3-none-any.whl (136.7 kB view details)

Uploaded Python 3

File details

Details for the file dataeval-0.72.2.tar.gz.

File metadata

  • Download URL: dataeval-0.72.2.tar.gz
  • Upload date:
  • Size: 101.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for dataeval-0.72.2.tar.gz
Algorithm Hash digest
SHA256 93dbef9b0f446c55d63063375a6a2e5b1a910171c4292f701509f91f76105b4c
MD5 f5bd7c67f62d275d4a69ff720d45ece5
BLAKE2b-256 5f4b90c03bc6aedc52e67bc2e0f342b99d8e7688b7a241b0adb96b453d8e01ee

See more details on using hashes here.

Provenance

The following attestation bundles were made for dataeval-0.72.2.tar.gz:

Publisher: publish.yml on aria-ml/dataeval

Attestations:

File details

Details for the file dataeval-0.72.2-py3-none-any.whl.

File metadata

  • Download URL: dataeval-0.72.2-py3-none-any.whl
  • Upload date:
  • Size: 136.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for dataeval-0.72.2-py3-none-any.whl
Algorithm Hash digest
SHA256 505c58a7d03f18b9930504a6e4144b65cc41cc8ecd76fb83f28f973192917a83
MD5 da24137b1c8ebd301a69663a9d331bb0
BLAKE2b-256 332d68ad12e650be502bb8121385775522a9ad36f55ec1e13ee3a297192fab08

See more details on using hashes here.

Provenance

The following attestation bundles were made for dataeval-0.72.2-py3-none-any.whl:

Publisher: publish.yml on aria-ml/dataeval

Attestations:

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