API Reference¶
Complete API documentation for HoloVec.
Main API¶
The primary interface for creating and using VSA models.
Models¶
All VSA model implementations.
Encoders¶
Encoders for different data types.
Retrieval & Memory¶
Cleanup, retrieval, and associative storage.
Backends¶
Backend implementations for different hardware.
Vector Spaces¶
Vector space definitions and operations.
Utilities¶
Helper functions and utilities.
Quick Links¶
Most Common:
VSA- Factory for creating modelscreate()- Create a VSA modelVSAModel- Base class for all modelsFractionalPowerEncoder- Continuous value encodingItemStore- Associative memory
Models:
MAPModel- Multiply-Add-PermuteFHRRModel- Fourier HRRHRRModel- Holographic Reduced RepresentationsBSCModel- Binary Spatter CodesBSDCModel- Block-Structured Distributed CodesGHRRModel- Generalized HRRVTBModel- Vector-derived Transformation Binding
Encoders:
FractionalPowerEncoder- Smooth scalar encodingThermometerEncoder- Ordinal encodingLevelEncoder- Discrete binsPositionBindingEncoder- Sequence encodingNGramEncoder- N-gram text encodingTrajectoryEncoder- Motion path encodingImageEncoder- 2D spatial encodingVectorEncoder- Multivariate encoding
Backends:
get_backend()- Get a backend by nameBackend- Backend interfaceNumPyBackend- NumPy (CPU) backendTorchBackend- PyTorch (GPU) backendJAXBackend- JAX (JIT/TPU) backend
Retrieval:
Codebook- Simple lookup tableItemStore- Similarity-based retrievalAssocStore- Associative memoryBruteForceCleanup- Nearest-neighbor cleanupResonatorCleanup- Iterative cleanup
See Also¶
User Guide - User guide and tutorials
HoloVec Examples - Example gallery
Theory & Foundations - Theoretical foundations