This work builds off Stanley Bak's implementation of ACAS Xu. This repo contains The original
All required packages can be installed with the command
pip3 install -r requirements.txt
To run the original ACAS Xu network simulation, as developed by Stanley Bak, run the run_true_acas.py script.
To create the decision tree representation of the ACAS Xu neural networks, run the create_decision_tree.py script.
To run simulations which use the decision tree approximation of ACAS Xu, run the run_DT_acas.py script.
Note: this script loads the decision trees from pickle files in saved_trees/. You will need to run create_decision_tree.py script at least once to create the necessary trees for run_DT_acas.py.
You can plot 2D representations of the decision tree and neural net command advisories, as seen below. To create these figures, run compare_ACAS_NN_DT.py.
