Skip to content

Comments

Encodings#34

Merged
MichielStock merged 7 commits intomainfrom
encodings
Oct 30, 2025
Merged

Encodings#34
MichielStock merged 7 commits intomainfrom
encodings

Conversation

@MichielStock
Copy link
Owner

This have some additional functionality for encoding numerical values :

  • similarity can now generate a similarity matrix
  • Functionality for generating levels encoding/decoding

@MichielStock MichielStock requested a review from cvigilv October 23, 2025 09:31
@MichielStock
Copy link
Owner Author

Needed for some of the examples.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
level,
level_encoder,
level_decoder,
levels_encoder_decoder
Copy link
Collaborator

Choose a reason for hiding this comment

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

I would try to remain as close as Base Julia as possible in the naming convention of this functions:

  • level_encoder -> encodelevel
  • level_decoder -> decodelevel
  • levels_encoder_decoder -> convertlevel (implies dibirectionality)

Copy link
Collaborator

Choose a reason for hiding this comment

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

or levelconverters.

either way, I think this is unnecessary in most cases.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Also, this are all random level hypervectors. Any intention on adding the other types of level encodings (i.e. thermometer, circular and island)?

Copy link
Owner Author

Choose a reason for hiding this comment

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

Yes, we should do this as well, but I need to look into it in detail. This can be done using level with keyword args.

I'll rename the functions.

Copy link
Collaborator

Choose a reason for hiding this comment

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

This is related to #16

MichielStock and others added 2 commits October 23, 2025 12:00
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@MichielStock
Copy link
Owner Author

This addresses #35 and I think may be merged if checks pass.

@MichielStock MichielStock merged commit eb132e6 into main Oct 30, 2025
3 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.

2 participants