To get started:
- Install poetry (https://python-poetry.org/)
poetry install
export PYTHONPATH="$PWD"
poetry run jupyter notebook
- Navigate to
tree_diff/notebooks
in the browser - Done!
poetry run python -m tree_diff assembler=baseline mode=train input_path=<project directory>/input
dot
command line tool on path (brew install graphviz / conda install graphviz)rulecosi
algorithm needs to be git pulled into a3rdparty
directory:- Run
mkdir 3rdparty
from the project directory cd 3rdparty
git 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.txt
The 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.