Skip to main content

Triplet-based similarity score for fully multi-labeled trees with poly-occurring labels

Project description

MP3-treesim

Triplet-based similarity score for fully multi-labeled trees with poly-occurring labels.

usage: mp3treesim [-h] [-i | -u | -g] [-c CORES] [--labeled-only]
                   [--exclude [EXCLUDE [EXCLUDE ...]]]
                   TREE TREE

MP3 tree similarity measure

positional arguments:
  TREE                  Paths to the trees

optional arguments:
  -h, --help            show this help message and exit
  -i                    Run MP3-treesim in Intersection mode.
  -u                    Run MP3-treesim in Union mode.
  -g                    Run MP3-treesim in Geometric mode.
  -c CORES, --cores CORES
                        Number of cores to be used in computation.
  --labeled-only        Ingore nodes without "label" attribute. The trees will
                        be interpred as partially-label trees.
  --exclude [EXCLUDE [EXCLUDE ...]]
                        String(s) of comma separated labels to exclude from
                        computation. If only one string is provided the labels
                        will be excluded from both trees. If two strings are
                        provided they will be excluded from the respective
                        tree. E.g.: --exclude "A,D,E" will exclude labels from
                        both trees; --exclude "A,B" "C,F" will exclude A,B
                        from Tree 1 and C,F from Tree 2; --exclude "" "C" will
                        exclude and C from Tree 2 and nothing from Tree 1

A detailed description of the module is available on our github repo.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mp3treesim-1.0.6.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

mp3treesim-1.0.6-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file mp3treesim-1.0.6.tar.gz.

File metadata

  • Download URL: mp3treesim-1.0.6.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.6.9

File hashes

Hashes for mp3treesim-1.0.6.tar.gz
Algorithm Hash digest
SHA256 334b5368d716f531da00e2f358300cec60235c3df4b62f73d09c8ba9e88423a2
MD5 4ca125eb9c45c4d65b0f46b5aed56dee
BLAKE2b-256 3674e5de00299410d588907faf7c25af67d5504c78073585338cff03ed383bfd

See more details on using hashes here.

File details

Details for the file mp3treesim-1.0.6-py3-none-any.whl.

File metadata

  • Download URL: mp3treesim-1.0.6-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.6.9

File hashes

Hashes for mp3treesim-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 ba1d7e58443a25ca162878c9fb6785f33f880319507421fbe3a1e4cba7e636ae
MD5 dc05e1a7288ed324ff8a5e145206d82b
BLAKE2b-256 91c0313cfcf8d7ac6a2fb6e42524565f2accca649cfe2ab4ae3c3521594f559d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page