Skip to main content

Compositional memory with fixed-size vectors via circular convolution (Holographic Reduced Representations)

Project description

💰 Support This Research - Please Donate!

🙏 If this library helps your research or project, please consider donating to support continued development:

💳 DONATE VIA PAYPAL - CLICK HERE

CI PyPI version Python 3.9+ License


Holographic Memory

🌀 Holographic Reduced Representations - Vector symbolic architecture

Plate, T. A. (1995) - "Holographic Reduced Representations"

📦 Installation

pip install holographic-memory

🚀 Quick Start

import holographic_memory
import numpy as np

# Create holographic memory
memory = holographic_memory.create_holographic_memory(
    vector_size=512,
    num_items=1000
)

# Store associations
memory.bind("cat", "animal")
memory.bind("dog", "animal") 
memory.bind("car", "vehicle")

# Retrieve and test
result = memory.probe("cat")
print(f"✅ 'cat' associated with: {result}")

# Clean up noisy retrieval
cleanup = holographic_memory.AssociativeCleanup(memory.get_vocabulary())
cleaned = cleanup.cleanup(result)
print(f"✅ Cleaned result: {cleaned}")

🎓 About the Implementation

Implemented by Benedict Chen - bringing foundational AI research to modern Python.

📧 Contact: benedict@benedictchen.com

📖 Citation

If you use this implementation in your research, please cite the original paper:

Plate, T. A. (1995) - "Holographic Reduced Representations"

📜 License

Custom Non-Commercial License with Donation Requirements - See LICENSE file for details.


💰 Support This Work - Donation Appreciated!

This implementation represents hundreds of hours of research and development. If you find it valuable, please consider donating:

💳 DONATE VIA PAYPAL - CLICK HERE

Your support helps maintain and expand these research implementations! 🙏

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

holographic_memory-1.1.0.tar.gz (38.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

holographic_memory-1.1.0-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file holographic_memory-1.1.0.tar.gz.

File metadata

  • Download URL: holographic_memory-1.1.0.tar.gz
  • Upload date:
  • Size: 38.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3+

File hashes

Hashes for holographic_memory-1.1.0.tar.gz
Algorithm Hash digest
SHA256 9133a5985fccfd7013739271a89b6e1c70d0f4ff1f8117abc29e52e22b470a50
MD5 96594a420aedcad0ff6a3379613f6457
BLAKE2b-256 29e7a382eaf4011e2981130c41fb693b54277612473deb88a401e487f4c31c0e

See more details on using hashes here.

File details

Details for the file holographic_memory-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for holographic_memory-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0b474b2859dc790afdba7810f2e60a4af6425ea430ce3582cb4af013510b1bea
MD5 dec6537779cc3cf792111757fe646dff
BLAKE2b-256 44440a678eef518f1b19c7cec4b7da0a123260e4b93bb85a71ec370bf2f625c9

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