Skip to content

Latest commit

 

History

History
31 lines (28 loc) · 1.13 KB

File metadata and controls

31 lines (28 loc) · 1.13 KB

HTDistanceExperiments

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.

Installation

  1. Clone HSTreeDistance.jl somewhere.
  2. Install HSTreeDistance.jl.
  3. Clone this repo to the same direcotry.
  4. Run Julia in the cloned dir.
cd path/to/repo/HTDistanceExperiments.jl
julia --project
  1. Install all the packages using ]instantiate and compile the package.
(@julia) pkg> instantiate
(@julia) using HTDistanceExperiments
  1. If you get error that HSTreeDistance.jl is not found, we need to include it.
(@julia) pkg> dev ./HSTreeDistance.jl
(@julia) pkg> instantiate

Run

To 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"