Skip to main content

Hyperdimensional Computing Library for building Vector Symbolic Architectures in Python

Project description

hdlib

Hyperdimensional Computing Library for building Vector-Symbolic Architectures in Python 3.

Conda DOI DOI

Vector-Symbolic Architectures (VSA, a.k.a. Hyperdimensional Computing) is an emergent computing paradigm that works by combining vectors in a high-dimensional space for representing and processing information. This approach recently shown promise in various domains for dealing with different kind of computational problems, including artificial intelligence, cognitive science, robotics, natural language processing, bioinformatics, medical informatics, cheminformatics, and internet of things among other scientific disciplines.

Here we present hdlib, a Python library for designing Vector-Symbolic Architectures. It is distributed under the MIT license as a Python package through PyPI and Conda on the conda-forge channel.

GitHub releases are also available on Zenodo at https://doi.org/10.5281/zenodo.7996502.

Please refer to the official Wiki for any information about the implemented modules and how to use the library.

Here is the table of content:

Credits

Please credit our work in your manuscript by citing:

@article{cumbo2023hdlib,
  title   = {hdlib: A python library for designing Vector-Symbolic Architectures},
  author  = {Cumbo, Fabio and Weitschek, Emanuel and Blankenberg, Daniel},
  journal = {Journal of Open Source Software},
  volume  = {8},
  number  = {89},
  pages   = {5704},
  year    = {2023},
  doi     = {10.21105/joss.05704}
}

Other publications

hdlib has been cited in the following selected publications. If you have used our library in your research, we would love to hear from you!

Cumbo et al., (2020). A brain-inspired hyperdimensional computing approach for classifying massive DNA methylation data of cancer. Algorithms, 13(9), 233. https://doi.org/10.3390/a13090233

Cumbo et al., (2025). Feature selection with vector-symbolic architectures: a case study on microbial profiles of shotgun metagenomic samples of colorectal cancer. Briefings in Bioinformatics, 26(2), bbaf177. https://doi.org/10.1093/bib/bbaf177

Joshi et al., (2025). Large-scale classification of metagenomic samples: a comparative analysis of classical machine learning techniques vs a novel brain-inspired hyperdimensional computing approach. bioRxiv, 2025-07. https://doi.org/10.1101/2025.07.06.663394

Cumbo et al., (2025). Hyperdimensional computing in biomedical sciences: a brief review. PeerJ Computer Science, 11, e2885. https://doi.org/10.7717/peerj-cs.2885

Cumbo et al., (2025). A novel Vector-Symbolic Architecture for graph encoding and its application to viral pangenome-based species classification. bioRxiv, 2025-09. https://doi.org/10.1101/2025.09.08.674958

Support and contributions

Long-term discussion and bug reports are maintained via GitHub Issues, while code review is managed via GitHub Pull Requests.

Please, (i) be sure that there are no existing issues/PR concerning the same bug or improvement before opening a new issue/PR; (ii) write a clear and concise description of what the bug/PR is about; (iii) specifying the list of steps to reproduce the behavior in addition to versions and other technical details is highly recommended.

For additional information about how to contribute, please visit the CONTRIBUTING section.

Copyright © 2025 Fabio Cumbo. See LICENSE for additional details.

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

hdlib-2.0.0.tar.gz (23.9 kB view details)

Uploaded Source

File details

Details for the file hdlib-2.0.0.tar.gz.

File metadata

  • Download URL: hdlib-2.0.0.tar.gz
  • Upload date:
  • Size: 23.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.14

File hashes

Hashes for hdlib-2.0.0.tar.gz
Algorithm Hash digest
SHA256 68f6125a512961d4951c4619d18cbcb35cfcc87ed214d4ea5be009da71d81dc5
MD5 7b38c43c4156e342cd9f2f4aa8e0ca53
BLAKE2b-256 bc15c66ceaaf037f141ecb8f3292df4b2a4805090e4ba1d0cf5ab6151ac0a69d

See more details on using hashes here.

Supported by

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