Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 60 lines (48 sloc) 2.65 kb
e8d9b3d @MalcolmSlaney first commit
MalcolmSlaney authored
1 This package provides code to implement locality-sensitive hashing (LSH)
2 in an optimum fashion.
3
4 There are two pieces. A Python library that implements LSH and a Matlab
5 routine that calculates the optimum parameters for LSH.
6
7 The LSH implementation is based on a tutorial published by IEEE
8 Malcolm Slaney, Michael Casey, "Locality-Sensitive Hashing
9 for Finding Nearest Neighbors [Lecture Notes],"
10 Signal Processing Magazine, IEEE , vol.25, no.2,
11 pp.128-131, March 2008
12 doi: 10.1109/MSP.2007.914237
13 URL: http://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=4472264&isnumber=4472102
14 and also available at this URL
15 http://www.slaney.org/malcolm/yahoo/Slaney2008-LSHTutorial.pdf
16
17 The optimization algorithm is based on this article, which is currently
18 under review. Send email to malcolm@ieee.org for a preprint
19 Malcolm Slaney, Yury Lifshits, Junfeng He, "Optimal
20 Locality-Sensitive Hashing," Submitted to Proceedings of the
21 IEEE, Special Issue on Web-Scale Multimedia, Summer 2012.
22
23 Send bug reports and/or comments to
24 malcolm@ieee.org
25
26 ################################################################
27 Copyright (c) 2011, Yahoo! Inc.
28 All rights reserved.
29
30 Redistribution and use of this software in source and binary forms,
31 with or without modification, are permitted provided that the following
32 conditions are met:
33
34 * Redistributions of source code must retain the above
35 copyright notice, this list of conditions and the
36 following disclaimer.
37
38 * Redistributions in binary form must reproduce the above
39 copyright notice, this list of conditions and the
40 following disclaimer in the documentation and/or other
41 materials provided with the distribution.
42
43 * Neither the name of Yahoo! Inc. nor the names of its
44 contributors may be used to endorse or promote products
45 derived from this software without specific prior
46 written permission of Yahoo! Inc.
47
48 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
49 IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
50 TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
51 PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
52 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
53 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
54 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
55 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
56 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
57 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
58 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
59
Something went wrong with that request. Please try again.