Skip to main content

Deep learning audits for image classification, medical imaging, and scientific AI

Project description

rai-audit-dl

Deep learning audits for image classification, medical imaging, and scientific AI.

Features

  • Image classification accuracy and per-class recall checks
  • Robustness checks for recorded or callback-generated transformation predictions
  • Built-in brightness, contrast, horizontal-flip, and Gaussian-noise transformations
  • Grad-CAM heatmaps with PyTorch hooks or TensorFlow GradientTape
  • Medical imaging checks for patient leakage across splits and site-level accuracy bias

Python API

from rai_audit.dl import ImageClassificationAudit

report = ImageClassificationAudit(
    y_true=y_true,
    y_pred=y_pred,
    transformed_predictions={"sensor_noise": noisy_predictions},
    persist=False,
).run()

To evaluate transformations directly, pass images and a predictor callback.

CLI

Audit recorded predictions from CSV:

rai-audit dl run --data predictions.csv --task image --format html

Medical imaging CSV audits can add --patient-id, --split, and --site.

Examples

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

rai_audit_dl-0.1.7.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rai_audit_dl-0.1.7-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

Details for the file rai_audit_dl-0.1.7.tar.gz.

File metadata

  • Download URL: rai_audit_dl-0.1.7.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for rai_audit_dl-0.1.7.tar.gz
Algorithm Hash digest
SHA256 adf83b9cfa6b6d964334c17e85d7b35c434bbaf153a5ed9c13f61be4efaa6c03
MD5 af7548f4835699a093853312b5fba1c6
BLAKE2b-256 7ce1b0f9972e3fa08371b4a9d53033742c0969d786408ccd09f5d980a0a45db2

See more details on using hashes here.

Provenance

The following attestation bundles were made for rai_audit_dl-0.1.7.tar.gz:

Publisher: publish.yml on SaiTeja-Erukude/rai-audit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rai_audit_dl-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: rai_audit_dl-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 13.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for rai_audit_dl-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 b82e56fd25f64e5cb21b8b9caf78d384627a206fb4e68ada042fb16abd1a604f
MD5 a1973e0e453a9e4bf5cb5d8b3d4b9ecc
BLAKE2b-256 23390f68b6e405282e5f426e15ae0ef044665a337ad60136852787dc297a117c

See more details on using hashes here.

Provenance

The following attestation bundles were made for rai_audit_dl-0.1.7-py3-none-any.whl:

Publisher: publish.yml on SaiTeja-Erukude/rai-audit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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