Skip to main content

Train model with safety constraints

Project description

FairML library

An easy to use Python Library to train and develop new Machine Learning models within some fairness constraints. This is an implementation of this Science paper.

Installation

Currently, you can install the library only from source using pip:

pip install https://github.com/hannanabdul55/seldonian-fairness/archive/master.zip

Usage

Open In Colab Use this notebook as a reference to train a basic Logistic Regression Model.

A quickstart tutorial on how to get quickly get started with developing your own model is present here. Alternatively, you could use the LogisticRegressionSeldonianModel to train a Logistic Regression model with any scipy.optimize.minimize method by specifying it when calling the fit method.

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

seldonian-0.0.3.dev0.tar.gz (11.7 kB view hashes)

Uploaded Source

Built Distribution

seldonian-0.0.3.dev0-py3-none-any.whl (14.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page