Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
17ebc2e2
Commit
17ebc2e2
authored
Apr 20, 2013
by
Davis King
Browse files
clarified spec
parent
26dab733
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
dlib/lsh/create_random_projection_hash_abstract.h
dlib/lsh/create_random_projection_hash_abstract.h
+6
-4
No files found.
dlib/lsh/create_random_projection_hash_abstract.h
View file @
17ebc2e2
...
...
@@ -33,10 +33,12 @@ namespace dlib
ensures
- returns a hash function H such that:
- H.num_hash_bins() == pow(2,bits)
- H will be setup so that it hashes the contents of v such that
each bin ends up with roughly the same number of elements
in it. This is accomplished by picking random hyperplanes
passing though the data.
- H will be setup so that it hashes the contents of v such that each bin
ends up with roughly the same number of elements in it. This is
accomplished by picking random hyperplanes passing though the data. In
particular, each plane normal vector is filled with Gaussian random
numbers and we also perform basic centering to ensure the plane passes
though the data.
!*/
// ----------------------------------------------------------------------------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment