Activate your environment, e.g., using venv
:
python -m venv my_new_venv
source my_new_venv/bin/activate
Install dependencies:
pip install cython numpy dtai-veritas
Compile OC-SCORE:
python setup.py build_ext --inplace
import ocscore
Devos, L., Perini, L., Meert, W., Davis, J. (2023). Detecting Evasion Attacks in Deployed Tree Ensembles. In: Koutra, D., Plant, C., Gomez Rodriguez, M., Baralis, E., Bonchi, F. (eds) Machine Learning and Knowledge Discovery in Databases: Research Track. ECML PKDD 2023. Lecture Notes in Computer Science(), vol 14173. Springer, Cham. https://doi.org/10.1007/978-3-031-43424-2_8