Installation¶
Apollon needs Python 3.10 or newer. It depends only on NumPy, pandas, scikit-learn and joblib; the adversarial evaluation adds the Adversarial Robustness Toolbox.
From GitHub¶
From source (development)¶
git clone https://github.com/antoniopaya22/apollon.git
cd apollon
python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]" # package, attacks, pytest and ruff
pytest # runs in a few seconds on synthetic data
Optional extras¶
| Extra | Installs | Needed for |
|---|---|---|
attacks |
adversarial-robustness-toolbox |
apollon attack, apollon.attacks |
docs |
mkdocs-material, mkdocstrings |
building this site (mkdocs serve) |
dev |
pytest, pytest-cov, ruff, attacks |
contributing |
Check the installation¶
Original research environment
The notebooks in research/
were written with the pinned versions of research/requirements.txt (Python 3.10,
scikit-learn 1.2). The package itself works with current releases.