Skip to content

Add MCRTensor #174

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

Merged
merged 3 commits into from
Oct 8, 2024
Merged

Add MCRTensor #174

merged 3 commits into from
Oct 8, 2024

Conversation

milad2073
Copy link
Contributor

@milad2073 milad2073 commented Oct 6, 2024

Adding MCRTensor (Modular Composite Representation) based on this.

Description

The added class is a copy of BSBCTensor that has a different implementation of the following methods:

  • bundle
  • multibundle
  • dot_similarity

Closes #150

Checklist

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

@mikeheddes
Copy link
Member

Hi @milad2073, thank you for implementing the Modular Composite Representation. This is a great addition to the library. I will review your PR tomorrow.

Copy link
Member

@mikeheddes mikeheddes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The implementation looks great, thank you! I just suggested a simplified implementation of the bundle and multibundle operators. Otherwise it is ready to be merged.

@milad2073 milad2073 requested a review from mikeheddes October 8, 2024 08:54
@mikeheddes
Copy link
Member

This looks great! Thank you for your contribution @milad2073

@mikeheddes mikeheddes merged commit 54b6465 into hyperdimensional-computing:main Oct 8, 2024
0 of 9 checks passed
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.

Implement Modular Composite Representation
2 participants