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.8.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.8-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rai_audit_dl-0.1.8.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.8.tar.gz
Algorithm Hash digest
SHA256 cd6885b7772b5d5d4be5a679cd9adaa8081c196923869628c007aab69dcb396f
MD5 214d44e8bb24180be4c1e393646b4dc8
BLAKE2b-256 4ea7755d97f59095f5e25b2494647bd67927992e1e673a2b37ac5bb143997a58

See more details on using hashes here.

Provenance

The following attestation bundles were made for rai_audit_dl-0.1.8.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.8-py3-none-any.whl.

File metadata

  • Download URL: rai_audit_dl-0.1.8-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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 a00bc9bf7c500227f4d45a57204344d4bc590921b21d24805bf7a88ae61d084b
MD5 3bd4f422dda410d50e7c1ac162a11010
BLAKE2b-256 e9febc65ec1eafc1bd80a8fbee99f439cc3bb68a81aeb76e35657417a9015c40

See more details on using hashes here.

Provenance

The following attestation bundles were made for rai_audit_dl-0.1.8-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