├── .gitignore ├── LICENSE ├── README.md ├── music_trees ├── __init__.py ├── analyze.py ├── assets │ ├── .gitkeep │ ├── partitions │ │ └── mdb-aug.json │ └── taxonomies │ │ ├── all-instruments.yaml │ │ ├── deeper-mdb.yaml │ │ ├── ez-taxonomy.yaml │ │ ├── joint-taxonomy.yaml │ │ ├── katunog.yaml │ │ ├── origin-taxonomy.yaml │ │ ├── range-taxonomy.yaml │ │ ├── scrambled-0.yaml │ │ ├── scrambled-1.yaml │ │ ├── scrambled-2.yaml │ │ ├── scrambled-3.yaml │ │ ├── scrambled-4.yaml │ │ ├── scrambled-5.yaml │ │ ├── scrambled-6.yaml │ │ ├── scrambled-7.yaml │ │ ├── scrambled-8.yaml │ │ └── scrambled-9.yaml ├── core.py ├── data.py ├── eval.py ├── generate │ ├── __init__.py │ ├── __main__.py │ ├── core.py │ ├── katunog.py │ └── mdb.py ├── models │ ├── __init__.py │ ├── backbone.py │ ├── protonet.py │ └── task.py ├── partition.py ├── preprocess.py ├── search.py ├── train.py ├── tree.py └── utils │ ├── __init__.py │ ├── audio.py │ ├── data.py │ ├── effects.py │ └── train.py ├── scripts ├── analyze_folder.sh ├── eval_folder.sh ├── figures.ipynb ├── figures │ ├── 2columns.png │ ├── alpha.png │ ├── height-vs-f1.png │ ├── n_shot-vs-f1-hlca.png │ ├── normalized-hlca.png │ └── random.png ├── generate-random-taxonomies.py └── scramble_hierarchies.py └── setup.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/README.md -------------------------------------------------------------------------------- /music_trees/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/music_trees/__init__.py -------------------------------------------------------------------------------- /music_trees/analyze.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/music_trees/analyze.py -------------------------------------------------------------------------------- /music_trees/assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /music_trees/assets/partitions/mdb-aug.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/music_trees/assets/partitions/mdb-aug.json -------------------------------------------------------------------------------- /music_trees/assets/taxonomies/all-instruments.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/music_trees/assets/taxonomies/all-instruments.yaml -------------------------------------------------------------------------------- /music_trees/assets/taxonomies/deeper-mdb.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/music_trees/assets/taxonomies/deeper-mdb.yaml -------------------------------------------------------------------------------- /music_trees/assets/taxonomies/ez-taxonomy.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/music_trees/assets/taxonomies/ez-taxonomy.yaml -------------------------------------------------------------------------------- /music_trees/assets/taxonomies/joint-taxonomy.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/music_trees/assets/taxonomies/joint-taxonomy.yaml -------------------------------------------------------------------------------- /music_trees/assets/taxonomies/katunog.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/music_trees/assets/taxonomies/katunog.yaml -------------------------------------------------------------------------------- /music_trees/assets/taxonomies/origin-taxonomy.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/music_trees/assets/taxonomies/origin-taxonomy.yaml -------------------------------------------------------------------------------- /music_trees/assets/taxonomies/range-taxonomy.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/music_trees/assets/taxonomies/range-taxonomy.yaml -------------------------------------------------------------------------------- /music_trees/assets/taxonomies/scrambled-0.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/music_trees/assets/taxonomies/scrambled-0.yaml -------------------------------------------------------------------------------- /music_trees/assets/taxonomies/scrambled-1.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/music_trees/assets/taxonomies/scrambled-1.yaml -------------------------------------------------------------------------------- /music_trees/assets/taxonomies/scrambled-2.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/music_trees/assets/taxonomies/scrambled-2.yaml -------------------------------------------------------------------------------- /music_trees/assets/taxonomies/scrambled-3.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/music_trees/assets/taxonomies/scrambled-3.yaml -------------------------------------------------------------------------------- /music_trees/assets/taxonomies/scrambled-4.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/music_trees/assets/taxonomies/scrambled-4.yaml -------------------------------------------------------------------------------- /music_trees/assets/taxonomies/scrambled-5.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/music_trees/assets/taxonomies/scrambled-5.yaml -------------------------------------------------------------------------------- /music_trees/assets/taxonomies/scrambled-6.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/music_trees/assets/taxonomies/scrambled-6.yaml -------------------------------------------------------------------------------- /music_trees/assets/taxonomies/scrambled-7.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/music_trees/assets/taxonomies/scrambled-7.yaml -------------------------------------------------------------------------------- /music_trees/assets/taxonomies/scrambled-8.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/music_trees/assets/taxonomies/scrambled-8.yaml -------------------------------------------------------------------------------- /music_trees/assets/taxonomies/scrambled-9.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/music_trees/assets/taxonomies/scrambled-9.yaml -------------------------------------------------------------------------------- /music_trees/core.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/music_trees/core.py -------------------------------------------------------------------------------- /music_trees/data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/music_trees/data.py -------------------------------------------------------------------------------- /music_trees/eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/music_trees/eval.py -------------------------------------------------------------------------------- /music_trees/generate/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/music_trees/generate/__init__.py -------------------------------------------------------------------------------- /music_trees/generate/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/music_trees/generate/__main__.py -------------------------------------------------------------------------------- /music_trees/generate/core.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/music_trees/generate/core.py -------------------------------------------------------------------------------- /music_trees/generate/katunog.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/music_trees/generate/katunog.py -------------------------------------------------------------------------------- /music_trees/generate/mdb.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/music_trees/generate/mdb.py -------------------------------------------------------------------------------- /music_trees/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/music_trees/models/__init__.py -------------------------------------------------------------------------------- /music_trees/models/backbone.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/music_trees/models/backbone.py -------------------------------------------------------------------------------- /music_trees/models/protonet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/music_trees/models/protonet.py -------------------------------------------------------------------------------- /music_trees/models/task.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/music_trees/models/task.py -------------------------------------------------------------------------------- /music_trees/partition.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/music_trees/partition.py -------------------------------------------------------------------------------- /music_trees/preprocess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/music_trees/preprocess.py -------------------------------------------------------------------------------- /music_trees/search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/music_trees/search.py -------------------------------------------------------------------------------- /music_trees/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/music_trees/train.py -------------------------------------------------------------------------------- /music_trees/tree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/music_trees/tree.py -------------------------------------------------------------------------------- /music_trees/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/music_trees/utils/__init__.py -------------------------------------------------------------------------------- /music_trees/utils/audio.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/music_trees/utils/audio.py -------------------------------------------------------------------------------- /music_trees/utils/data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/music_trees/utils/data.py -------------------------------------------------------------------------------- /music_trees/utils/effects.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/music_trees/utils/effects.py -------------------------------------------------------------------------------- /music_trees/utils/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/music_trees/utils/train.py -------------------------------------------------------------------------------- /scripts/analyze_folder.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/scripts/analyze_folder.sh -------------------------------------------------------------------------------- /scripts/eval_folder.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/scripts/eval_folder.sh -------------------------------------------------------------------------------- /scripts/figures.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/scripts/figures.ipynb -------------------------------------------------------------------------------- /scripts/figures/2columns.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/scripts/figures/2columns.png -------------------------------------------------------------------------------- /scripts/figures/alpha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/scripts/figures/alpha.png -------------------------------------------------------------------------------- /scripts/figures/height-vs-f1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/scripts/figures/height-vs-f1.png -------------------------------------------------------------------------------- /scripts/figures/n_shot-vs-f1-hlca.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/scripts/figures/n_shot-vs-f1-hlca.png -------------------------------------------------------------------------------- /scripts/figures/normalized-hlca.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/scripts/figures/normalized-hlca.png -------------------------------------------------------------------------------- /scripts/figures/random.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/scripts/figures/random.png -------------------------------------------------------------------------------- /scripts/generate-random-taxonomies.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/scripts/generate-random-taxonomies.py -------------------------------------------------------------------------------- /scripts/scramble_hierarchies.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/scripts/scramble_hierarchies.py -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hugofloresgarcia/music-trees/HEAD/setup.py --------------------------------------------------------------------------------