To get started:
- Install poetry (https://python-poetry.org/)
poetry installexport PYTHONPATH="$PWD"poetry run jupyter notebook- Navigate to
tree_diff/notebooksin the browser - Done!
poetry run python -m tree_diff assembler=baseline mode=train input_path=<project directory>/input
dotcommand line tool on path (brew install graphviz / conda install graphviz)rulecosialgorithm needs to be git pulled into a3rdpartydirectory:- Run
mkdir 3rdpartyfrom the project directory cd 3rdpartygit clone https://github.com/jobregon1212/rulecosi.git
- Run
In order to run the experiments in the tree-dff/notebooks/Evaluation.ipynb.
Install the dependencies using the command below:
$ pip install -r requirements.txtThe following datasets are used in the experiments and evaluation for our model with other decision trees:
After downloading these datasets, place them in the tree-diff/notebooks folder to run the experiments.