Guides and Example Code for FairNow API's.
To use these guides, you will need a client_id and client_secret, which you can generate by logging into your account on https://app.fairnow.ai as an Admin or Model Owner, and going to the Admin menu.
The code examples in the notebooks require several libraries to be installed into your notebook environment. This can be done by running from the root directory:
pip install -r requirements.txt
Each of the notebooks found under the /notebooks directory is intended to be a working example on how to
use the FairNow API's. The recommended order is:
Getting Started- demonstrates how to configure authorization and make a first API call.Applications API- create and read anAI Applicationwith the API.AI Applicationsare a core building block for the FairNow system.Generating Synthetic User Bias Test Data- construct a synthetic test data file to be used to simulate ML model bias evaluation. Constructing synthetic data is optonal.User Data Testing- how to perform ML model bias testing via the API.
Please use the following to prevent output/metadata from the notebook to be pushed to github:
pip install nbstripout
nbstripout --install