Skip to content

Conversation

@mikeheddes
Copy link
Member

@mikeheddes mikeheddes commented Jun 8, 2022

All the supported hypervector types are now also supported by cosine_similarity, dot_similarity and hamming_similarity. Based on @rgayler's comments in #72 and #80 we will keep the three different similarity functions but make all of them work for all the supported hypervector types. The two most used similarities, cosine_similarity and dot_similarity are also aliased for easy access. The hamming_similarity is kept as a helper function for the analysis of certain binary processes.

@mikeheddes mikeheddes linked an issue Jun 8, 2022 that may be closed by this pull request
@mikeheddes mikeheddes linked an issue Jun 8, 2022 that may be closed by this pull request
@mikeheddes mikeheddes merged commit 3d2fadb into main Jun 8, 2022
@mikeheddes mikeheddes deleted the feat-universal-similarity branch June 8, 2022 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Separate the similarity functions into angle and magnitude functions Similarity function that works for any supported hypervector type

1 participant