Skip to content

feat: add RNG as argument for seeded perturbations#51

Merged
cvigilv merged 2 commits into
Kermit-UGent:mainfrom
cvigilv:feat-seeded-perturbation
Mar 20, 2026
Merged

feat: add RNG as argument for seeded perturbations#51
cvigilv merged 2 commits into
Kermit-UGent:mainfrom
cvigilv:feat-seeded-perturbation

Conversation

@cvigilv
Copy link
Copy Markdown
Collaborator

@cvigilv cvigilv commented Mar 16, 2026

Very small PR that solves a rather annoying problem I'm encountering: non-deterministic perturbation. This adds the rng argument to the perturbate(!) functions so one can apply the same perturbation to different hypervectors.

@cvigilv cvigilv requested a review from MichielStock March 16, 2026 15:27
@cvigilv
Copy link
Copy Markdown
Collaborator Author

cvigilv commented Mar 16, 2026

@MichielStock, if you could check this ASAP, it would be great, as I'm wrapping up my PhyloHD package and this is the only pain point in my codebase.

@MichielStock
Copy link
Copy Markdown
Collaborator

Checked and approved!

@cvigilv cvigilv merged commit 6123b77 into Kermit-UGent:main Mar 20, 2026
2 of 3 checks passed
@cvigilv cvigilv deleted the feat-seeded-perturbation branch March 20, 2026 10:48
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