DetoxAI documentation
Welcome to the documentation for DetoxAI!
DetoxAI is a Python package for debiasing neural networks. It provides a simple and efficient way to remove bias from your models while maintaining their performance. The package is designed to be easy to use and integrate into existing projects.
We hosted a website with a demo and an overview of the package, which can be found at https://detoxai.github.io. DetoxAI is also available on GitHub at https://github.com/DetoxAI/detoxai.
Getting Started
DetoxAI is available on PyPI, and can be installed by running the following command:
pip install detoxai
Then, import the library and debias your model using the api:
import detoxai
model = ... # your torch model
dataloader = ... # your torch dataloader returning (image, label, prot. attr) tuples
results = detoxai.debias(model, dataloader)
To get started with DetoxAI, please refer to the following examples:
Notebooks
We have also put together a bunch small tutorials to help you get started with DetoxAI in your own projects:
Tutorials
API Reference
For detailed information on the library’s functions and classes, see the API reference:
API
- DetoxAI
- Modules
- detoxai.cavs
- detoxai.core
- detoxai.datasets
- detoxai.methods
- detoxai.metrics
- detoxai.utils
- detoxai.visualization
- Submodules
- detoxai.visualization.DataVisualizer submodule
- detoxai.visualization.HeatmapVisualizer submodule
- detoxai.visualization.ImageVisualizer submodule
- detoxai.visualization.LRPHandler submodule
- detoxai.visualization.MetricsVisualizer submodule
- detoxai.visualization.SSVisualizer submodule
- detoxai.visualization.ScatterVisualizer submodule
- detoxai.visualization.TableVisualizer submodule
- detoxai.visualization.Visualizer submodule
- detoxai.visualization.enums submodule
- Module contents
- Module contents
- Modules
Contributing
Interested in contributing to DetoxAI? Check out our contribution guidelines on GitHub.
License
DetoxAI is licensed under the MIT License.