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 an example of a differentiable model #176

Conversation

milad2073
Copy link
Contributor

An Implementation of the Fully Connected model described in this paper.

Description

It is not meant to reproduce the paper's results (because the implementation of the HRR in the paper is slightly different from torchhd's HRR). It is just a good starting point, for implementing other models described in the mentioned paper and "Multi-Label Classification With Hyperdimensional Representations".

Closes #143

Checklist

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

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.

Thank you for creating this PR. This is a great addition to the examples. I made two minor comments but otherwise the code is ready to be merged.

examples/learning_with_hrr.py Outdated Show resolved Hide resolved
examples/learning_with_hrr.py Outdated Show resolved Hide resolved
@milad2073
Copy link
Contributor Author

@mikeheddes I just fixed the points and pushed the changes.

@mikeheddes
Copy link
Member

@milad2073 thank you for another great contribution to Torchhd!

@mikeheddes mikeheddes merged commit 7d33daa into hyperdimensional-computing:main Nov 6, 2024
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.

Add an example of a differentiable neuro-symbolic model
2 participants