Lens: comprehensive assessment framework for AI systems
Project description
Lens by Credo AI - Responsible AI Assessment Framework
Lens is a comprehensive assessment framework for AI systems. Lens standardizes model and data assessment, and acts as a central gateway to assessments created in the open source community. In short, Lens connects arbitrary AI models and datasets with Responsible AI tools throughout the ecosystem.
Lens can be run in a notebook, a CI/CD pipeline, or anywhere else you do your ML analytics. It is extensible, and easily customized to your organizations assessments if they are not supported by default.
Though it can be used alone, Lens shows its full value when connected to your organization's Credo AI App. Credo AI is an end-to-end AI Governance App that supports multi-stakeholder alignment, AI assessment (via Lens) and AI risk assessment.
Dependencies
- Credo AI Lens supports Python 3.7+
- Sphinx (optional for local docs site)
Installation
The latest stable release (and required dependencies) can be installed from PyPI. Note this installation only includes dependencies needed for a small set of modules
pip install credoai-lens
To include additional dependencies needed for some modules and demos, use the following installation command.
On Mac
pip install 'credoai-lens[extras]'
On Windows
pip install credoai-lens[extras]
Modules that require extras include:
- nlp_generator
ARM Macbook failed pip installation - use conda
Installation sometimes fails on M1 macbooks. Specifically, pandas, scipy, and scikit-learn may fail to build. Installing these packages with the anaconda package manager seems to be the easiest way to circumvent this issue.
For development, the easiest way to interact with Lens is to use anaconda.
conda env create --file environment.yml
Getting Started
To get started, see the quickstart demo.
If you are using the Credo AI Governance App, also check out the governance integration demo.
A listing and overview of all the demonstration notebooks are available here.
Documentation
Documentation is hosted by readthedocs.
For dev documentation, see latest.
Configuration
To connect to Credo AI's Governance App, enter your connection info in ~/.credoconfig
(".credoconfig" in the root directory) using
the below format.
TENANT={tenant name} # Example: credoai
API_KEY=<your api key> # Example: JSMmd26...
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for credoai_lens-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ae38707376ad3d54fe36f772d06e626f4417e7bb6d87f2927f05da1c7a9d4f7 |
|
MD5 | 10b9c7da00c802a3b4985653f4b670f7 |
|
BLAKE2b-256 | 0675edbb9e919895d67de7f7a61e20f72357a58933b6370b569449d40fa75ac1 |