Skip to main content

DAML provides a simple interface to characterize image data and its impact on model performance across classification and object-detection tasks

Project description

Data-Analysis Metrics Library (DAML)

About DAML

The Data-Analysis Metrics Library, or DAML, 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 DAML

You can install DAML directly from pypi.org using the following command. The optional dependencies of DAML are torch, tensorflow and all. Using torch enables Sufficiency metrics, and tensorflow enables OOD Detection.

pip install daml[all]

Installing DAML from GitHub

To install DAML 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 DAML project directory.

git clone https://github.com/aria-ml/daml.git
cd daml

Install DAML with optional dependencies for development.

poetry install --all-extras --with dev

Now that DAML 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 DAML 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

daml-0.56.0.tar.gz (61.4 kB view details)

Uploaded Source

Built Distribution

daml-0.56.0-py3-none-any.whl (82.4 kB view details)

Uploaded Python 3

File details

Details for the file daml-0.56.0.tar.gz.

File metadata

  • Download URL: daml-0.56.0.tar.gz
  • Upload date:
  • Size: 61.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for daml-0.56.0.tar.gz
Algorithm Hash digest
SHA256 c25181c1b1adcc6bb80d0fc0ef85196cba6396833b909762f9bcfc9b6723423a
MD5 1d4608a896d366c32c699c1e2b2253c7
BLAKE2b-256 e9ca9d5d32b320f97438af18f85e3ff36c1b6bd9f34b9fb3051f19741cc3b4c1

See more details on using hashes here.

File details

Details for the file daml-0.56.0-py3-none-any.whl.

File metadata

  • Download URL: daml-0.56.0-py3-none-any.whl
  • Upload date:
  • Size: 82.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for daml-0.56.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dfbce734c5cf9b7f57bfd69fb10a6cceb3ff3e79dffa31a6e373a61c8ff40db8
MD5 bf3005315353c8b76688d3ceaff2d371
BLAKE2b-256 a7b73b832368c38f84c93d15b6e96280ceba997e6bff8dc4b83aea56d67b8da4

See more details on using hashes here.

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