Fast module development for the MAMMOth fairness toolkit. Modules refer to model loaders, dataset loaders, or metrics. The library holds common datatypes that are shared between modules, and automates the integration strategy by only needing to add a decorator. It also provides integration tests, as well as a lightweight demonstrator that is a thinned down version of the toolkit.
Instructions to quickly launch and install the demonstrator web application locally in your machine:
pip install -r requirements[test].txt
. This can take a bit of time to download and install everything, but you will be able to run all modules and interface with most popular data types.python demonstrator/app.py
or, if this fails on your platform, with python -m demonstrator.app
(notice that slash is replaced by a dot and there is no file extension). When everything is ready, this script will also open a browser window to the app's serving page at http://localhost:5050
.Find a catalogue of modules implemented by the MAMMOth consortium
here.
These modules are implemented in the catalogue/
directory.
They depend on datatypes found in the main commons library, which
resides under the mammoth/
directory.
Instructions on how to add new modules are here. Use the GitHub issue tracker to ask questions, request features/improvements for the core library or modules, or report bugs.