Skip to content

Binary TF vector generator for bags of hamming space features

License

Notifications You must be signed in to change notification settings

rust-cv/hamming-bow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hamming-bow

Discord Crates.io MIT/Apache docs.rs LoC Tests Lints no_std

Produces binary term frequency bit arrays for hamming-space bag of words

How it works

This works by using hamming-dict to create codewords in the hamming space that are as maximally spaced out as possible.

For each input key, its nearest neighbor is found in the dictionary and the corresponding bit is set in the bag. If the number of bits set in the bag becomes sufficiently large, the threshold number of word occurences required to set a bit will increase to balance the hash.

About

Binary TF vector generator for bags of hamming space features

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages