The repository contains code refered to the work: A Neural Model Ensemble for Cyber-Threat Detection
Please cite it as: AL-Essa, M., Andresini, G., Appice, A. et al. PANACEA: a neural model ensemble for cyber-threat detection. Mach Learn (2024). https://doi.org/10.1007/s10994-023-06470-2
- Python 3.9
- Keras 2.7
- Tensorflow 2.7
- Scikit learn
- Matplotlib 3.5
- Pandas 1.3.5
- Numpy 1.19.3
- Dalex 1.4.1
- adversarial-robustness-toolbox 1.9
- scikit-learn-extra 0.2.0
- Hyperopt 0.2.5
- Datasets and Models.
- Four different types of datasets are used in this work, NSL-KDD, UNSW-NB15, CICICD, and CIC-Maldroid20. The datasets are processed using one-hot encoder in order to change the categorical features to numerical features. MinMax scaler has been used to normalize the datasets. The datasets and models that have been used in work can be downloaded through Datasets and Models.
The implementation for all the experiments used in this work are listed in this repository.
- main.py : to run PANACEA
To replicate the experiments of this work, the models and datasets that have been saved in Datasets and Models can be used. Global Variable are saved in PANACEA.conf :