Skip to main content

A Python toolkit for evaluating AI model reliability, performance, and deployment readiness.

Project description

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.

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

ai_assurance_toolkit-0.1.0.tar.gz (12.4 kB view details)

Uploaded Source

Built Distribution

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

ai_assurance_toolkit-0.1.0-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

Details for the file ai_assurance_toolkit-0.1.0.tar.gz.

File metadata

  • Download URL: ai_assurance_toolkit-0.1.0.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.6

File hashes

Hashes for ai_assurance_toolkit-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f7900a344252447ae112d1774f538f7820989d7fa26d15c7d16ba965ca079d0a
MD5 272a4952d3fd3dd6077e489a6b6d375a
BLAKE2b-256 4a778e8a91dcd5b7efe75f3aa43b81650fc63bd8fc5facb38e3429f8151001cd

See more details on using hashes here.

File details

Details for the file ai_assurance_toolkit-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ai_assurance_toolkit-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0744cf1fa14230528501881f79cbb9b5fc7dd5326729cab251d03a086d009f5c
MD5 b78e4dabb1a53412f0b50c0af29b2eb7
BLAKE2b-256 1eb7e8c4b84787b187e322571c13b0bcaddd211654050a90c3a3c5646ee3505a

See more details on using hashes here.

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