hyperdimensional-computing / torchhd

Torchhd is a Python library for Hyperdimensional Computing and Vector Symbolic Architectures
https://torchhd.readthedocs.io
MIT License
221 stars 23 forks source link

Add implementation of AdaptHD and zero-norm warning #165

Closed mikeheddes closed 4 months ago

mikeheddes commented 4 months ago

Description

Adds the centroid update rule proposed in AdaptHD, and warnings will now indicate if a vector had zero norm which likely indicates a bug.

Checklist