Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add similarity calculation for all pairs of vectors in the unit test … #175

Merged

Conversation

milad2073
Copy link
Contributor

…for the circular function

As mentioned in #108 (comment) the circular test just test the similarity between first vector and other vectors while we have to test the similarity between all pairs of vectors

Description

Added a loop wrapping the previous code and rolling the list of vectors in the end of the loop.

Checklist

  • I added/updated documentation for the changes.
  • I have thoroughly tested the changes.

@mikeheddes
Copy link
Member

Thank you @milad2073 for making the unit tests more robust!

@mikeheddes mikeheddes merged commit 444d02f into hyperdimensional-computing:main Oct 16, 2024
8 of 9 checks passed
@milad2073 milad2073 deleted the fix/unit-test-circular branch November 3, 2024 14:23
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.

2 participants