Rules extraction for eXplainable AI
Project description
Rules extraction
Rules extraction for eXplainable AI
Installation
pip install rules-extraction
Contribution
Install Python
Install Python, version 3.9 or newer (3.11 recommanded):
- Linux, macOS, Windows/WSL: Use your package manager to install
python3
andpython3-dev
- Windows:
winget install Python.Python.3.11
[!WARNING] On Windows, avoid installing Python through the Microsoft Store as the package has additional permission restrictions.
Install dependencies
Using pip
python -m venv .venv
source .venv/bin/activate
pip install .
[!NOTE] On Windows, use
.venv\Scripts\activate
instead.
Add dependencies
To add new dependencies to the project, add them to the pyproject.toml
file.
To add them to the virtualenv, use:
pip install .
Work with virtualenv
To activate the virtualenv, use the standard methods:
- Unix:
source .venv/bin/activate
- Windows:
.venv\Scripts\activate
To leave the virtualenv, use deactivate
.
Install Pre-commit hooks
Git hooks are used to ensure quality checks are run by all developers every time before a commit.
Install with pip install pre-commit
.
To enable pre-commit:
pre-commit install
Pre-commit hooks can be run manually with:
pre-commit run --all-files
Release
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 rules_extraction-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ddecdcccd0bdcfd07fca337f8013287141d6269375063c6e8f104cdd4e73c9d6 |
|
MD5 | 4747fb9086e13a60640b9b211373f63e |
|
BLAKE2b-256 | aff25c69c0852a143f9c614fb3d615a71fcbc6b919706fd51c767a34a64f6e49 |