This Julia package contains code of experiments for paper "Differentiable Distance Between Hierarchically-Structured Data". For this package to work, HSTreeDistance.jl repository is necessary. We only included 3 datasets in this repo to test scripts, because of their size. The rest of the datasets are available upon request.
- Clone HSTreeDistance.jl somewhere.
- Install HSTreeDistance.jl.
- Clone this repo to the same direcotry.
- Run Julia in the cloned dir.
cd path/to/repo/HTDistanceExperiments.jl
julia --project- Install all the packages using
]instantiateand compile the package.
(@julia) pkg> instantiate
(@julia) using HTDistanceExperiments- If you get error that HSTreeDistance.jl is not found, we need to include it.
(@julia) pkg> dev ./HSTreeDistance.jl
(@julia) pkg> instantiateTo run any experiments you just need to call runscript from scripts with desired hyperparameters.
cd path/to/repo/HTDistanceExperiments.jl/scripts
julia --project RandomSampling.jl "Mutagenesis" 1 123 3 "WassersteinMultiset" "MaxCard" "false"