Skip to main content

AI Assurance Toolkit

AI Assurance Toolkit is a lightweight Python package for evaluating machine learning model reliability, performance, and deployment readiness.

What it does

The toolkit evaluates a trained machine learning model against a labeled test dataset and generates a structured performance report.

Metrics included

  • Accuracy
  • Precision
  • Recall
  • F1 score
  • False positive rate
  • False negative rate
  • AUC-ROC
  • Calibration / Brier score
  • Per-class metrics
  • Plain-English deployment signal

Installation

pip install ai-assurance-toolkit

Quick start

ai-assurance evaluate \
  --model model.pkl \
  --dataset test_data.csv \
  --target credit_risk \
  --model-name "German Credit Risk Classifier"

Example

Generate a test model and sample dataset:

python examples/setup_test_model.py

Then run the evaluator:

ai-assurance evaluate \
  --model model.pkl \
  --dataset test_data.csv \
  --target credit_risk \
  --model-name "German Credit Risk Classifier"

Output

The package creates:

module_a_outputs/performance_report.json

Python usage

from ai_assurance_toolkit import run_performance_evaluation

License

Apache License 2.0.

Metadata

Release files for ai-assurance-toolkit 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ai-assurance-toolkit 0.1.0
File Size Uploaded Provenance
ai_assurance_toolkit-0.1.0.tar.gz 12.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ai-assurance-toolkit 0.1.0
File Interpreter ABI Platform
ai_assurance_toolkit-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 24.8 kB

Release files / ai_assurance_toolkit-0.1.0.tar.gz

Download URL ai_assurance_toolkit-0.1.0.tar.gz
Size 12.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f7900a344252447ae112d1774f538f7820989d7fa26d15c7d16ba965ca079d0a
BLAKE2b-256 checksum
How to use checksums
4a778e8a91dcd5b7efe75f3aa43b81650fc63bd8fc5facb38e3429f8151001cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.6

Release files / ai_assurance_toolkit-0.1.0-py3-none-any.whl

Download URL ai_assurance_toolkit-0.1.0-py3-none-any.whl
Size 12.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0744cf1fa14230528501881f79cbb9b5fc7dd5326729cab251d03a086d009f5c
BLAKE2b-256 checksum
How to use checksums
1eb7e8c4b84787b187e322571c13b0bcaddd211654050a90c3a3c5646ee3505a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.6

Security for ai-assurance-toolkit 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page