Repository navigation
Releases
Releases · antoniopaya22/apollon
Apollon 2.0.0
Apollon as an installable, documented and tested package. The code of the paper is kept in research/.
Highlights
- Package
apollon:pip install "apollon-ids[attacks] @ git+https://github.com/antoniopaya22/apollon@v2.0.0". ApollonMAB, a scikit-learn estimator: per-cluster Thompson sampling over a pool of classifiers, onlineupdatefrom analyst feedback,prior_strengthto control exploration,posterior_meansandselection_frequenciesfor inspection,save_modelandload_model.- Classifier pool registry: RF, DT, NB, LR, MLP (the pool of the paper), KNN and SVC.
- Dataset loaders for CIC-IDS2017, CSE-CIC-IDS2018 and CIC-DDoS2019 with the preprocessing of the paper.
- Adversarial evaluation with ZOO and HopSkipJump (ART), in direct and transfer settings, keeping functional features fixed.
- Command line:
apollon prepare | train | evaluate | attack | demo. - Documentation site with installation, quickstart, how Apollon works, datasets, experiments, CLI and API reference.
- Tests, continuous integration on Python 3.10–3.13, contribution guide and issue templates.
See CHANGELOG.md.
Citation
A. Payá, S. Arroni, V. García-Díaz, A. Gómez. Apollon: A robust defense system against Adversarial Machine Learning attacks in Intrusion Detection Systems. Computers & Security 136, 103546 (2024). https://doi.org/10.1016/j.cose.2023.103546
Apollon 1.0.0
Code of the paper Apollon: A robust defense system against Adversarial Machine Learning attacks in Intrusion Detection Systems, Computers & Security 136, 103546 (2024), doi:10.1016/j.cose.2023.103546.
- IDS models (Random Forest, Decision Tree, Naive Bayes, Logistic Regression, MLP, KNN, SVC) and their training pipeline.
- Preprocessing of CIC-IDS2017, CSE-CIC-IDS2018 and CIC-DDoS2019.
- Multi-Armed Bandit selection with Thompson sampling.
- Adversarial attack notebooks (ZOO, HopSkipJump, GAN).