Skip to main content

MODEL AGNOSTIC SAFE AI

This package is based on safeaipackage. The main difference between these two packages is the input required by the functions. In safeaipackage there are different function which ask for train\test data and a machine learning model. Then, all the process of the training and evaluation is done inside the function. However, in modelagnosticsafeaipackage, it is only needed to provide the actual values (y) and the predicted values by any model you are interested in. Hence, while safeaipackage only works with scikit-learn models, here you can use any kind of model to find the estimated values and then use this package to evaluate risks of your model.

Install

Simply use:

pip install modelagnosticsafeaipackage

GitHub

https://github.com/GolnooshBabaei/modelagnosticsafeaipackage

Example

On GitHub, in the folder "examples", there is a notebook including an example that can help you to understand the functioanlity of this package.

Citations

The proposed measures in this package came primarily out of research by Paolo Giudici, Emanuela Raffinetti, and Golnoosh Babaei in the Statistical laboratory at the University of Pavia. This package is based on the following papers. If you use safeaipackage in your research we would appreciate a citation to our papers:

Metadata

Release files for modelagnosticsafeaipackage 0.9.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 modelagnosticsafeaipackage 0.9.0
File Size Uploaded Provenance
modelagnosticsafeaipackage-0.9.0.tar.gz 7.3 kB Without provenance Details

Release files / modelagnosticsafeaipackage-0.9.0.tar.gz

Download URL modelagnosticsafeaipackage-0.9.0.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
823932787a43513c071ed5f10d323edca1cca76df7b36f089c05bf76a2309d52
BLAKE2b-256 checksum
How to use checksums
1b91ecc07311dc77525baad65a7d38db0f9360e7154ab0291aade64f97c418de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.0

Security for modelagnosticsafeaipackage 0.9.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.

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