Skip to content

Commit 4a84db4

Browse files
committed
Rename project to LSHFunctions.jl.
1 parent a4d45ab commit 4a84db4

File tree

11 files changed

+25
-25
lines changed

11 files changed

+25
-25
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name = "LSH"
1+
name = "LSHFunctions"
22
uuid = "5134c85a-a9db-11e9-340f-8514dff59a31"
33
authors = ["Will Shand <wish5031@colorado.edu>"]
44
version = "0.0.1"

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
# LSH.jl
1+
# LSHFunctions.jl
22

3-
- Docs: [![Stable docs](https://img.shields.io/badge/docs-stable-blue.svg)](https://kernelmethod.github.io/LSH.jl/stable/) [![Dev docs](https://img.shields.io/badge/docs-dev-blue.svg)](https://kernelmethod.github.io/LSH.jl/dev/)
4-
- Build status: [![Build Status](https://travis-ci.com/kernelmethod/LSH.jl.svg?branch=master)](https://travis-ci.com/kernelmethod/LSH.jl)
5-
- Code coverage: [![Coverage Status](https://coveralls.io/repos/github/kernelmethod/LSH.jl/badge.svg?branch=master)](https://coveralls.io/github/kernelmethod/LSH.jl?branch=master)
6-
[![codecov](https://codecov.io/gh/kernelmethod/LSH.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/kernelmethod/LSH.jl)
3+
- Docs: [![Stable docs](https://img.shields.io/badge/docs-stable-blue.svg)](https://kernelmethod.github.io/LSHFunctions.jl/stable/) [![Dev docs](https://img.shields.io/badge/docs-dev-blue.svg)](https://kernelmethod.github.io/LSHFunctions.jl/dev/)
4+
- Build status: [![Build Status](https://travis-ci.com/kernelmethod/LSHFunctions.jl.svg?branch=master)](https://travis-ci.com/kernelmethod/LSHFunctions.jl)
5+
- Code coverage: [![Coverage Status](https://coveralls.io/repos/github/kernelmethod/LSHFunctions.jl/badge.svg?branch=master)](https://coveralls.io/github/kernelmethod/LSHFunctions.jl?branch=master)
6+
[![codecov](https://codecov.io/gh/kernelmethod/LSHFunctions.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/kernelmethod/LSHFunctions.jl)
77
- DOI to cite this code: [![DOI](https://zenodo.org/badge/197700982.svg)](https://zenodo.org/badge/latestdoi/197700982)
88

99
A Julia package for [locality-sensitive hashing](https://en.wikipedia.org/wiki/Locality-sensitive_hashing) to accelerate similarity search.
@@ -22,10 +22,10 @@ Traditionally, if you have a data point `x`, and want to find the most similar p
2222
**Locality-sensitive hashing** (LSH) is a technique for accelerating these kinds of similarity searches. Instead of measuring how similar your query point is to every point in your database, you calculate a few hashes of the query point and only compare it against those points with which it experiences a hash collision. Locality-sensitive hash functions are randomly generated, with the fundamental property that as the similarity between `x` and `y` increases, the probability of a hash collision between `x` and `y` also increases.
2323

2424
## Installation
25-
You can install LSH.jl from the Julia REPL with
25+
You can install LSHFunctions.jl from the Julia REPL with
2626

2727
```
28-
pkg> add https://github.com/kernelmethod/LSH.jl
28+
pkg> add https://github.com/kernelmethod/LSHFunctions.jl
2929
```
3030

3131
## Supported similarity functions
@@ -75,4 +75,4 @@ julia> x = randn(128);
7575
julia> x_hashes = hashfn(x);
7676
```
7777

78-
For more details, [check out the LSH.jl documentation](https://kernelmethod.github.io/LSH.jl/dev/).
78+
For more details, [check out the LSHFunctions.jl documentation](https://kernelmethod.github.io/LSHFunctions.jl/dev/).

docs/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# LSH.jl documentation
2-
Documentation for the LSH.jl package.
1+
# LSHFunctions.jl documentation
2+
Documentation for the LSHFunctions.jl package.
33

44
The module documentation is automatically built and updated whenever `master` is updated. To develop the documentation locally, run
55

@@ -12,5 +12,5 @@ $ python3 -m http.server 8000
1212

1313
Then go to [http://localhost:8000/build/](http://localhost:8000/build/) in your browser.
1414

15-
- [Stable docs](https://kernelmethod.github.io/LSH.jl/stable/)
16-
- [Developer docs](https://kernelmethod.github.io/LSH.jl/dev/)
15+
- [Stable docs](https://kernelmethod.github.io/LSHFunctions.jl/stable/)
16+
- [Developer docs](https://kernelmethod.github.io/LSHFunctions.jl/dev/)

docs/make.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ pushfirst!(LOAD_PATH, joinpath(@__DIR__, ".."))
88
using Documenter, LSH
99

1010
makedocs(
11-
sitename = "LSH.jl",
11+
sitename = "LSHFunctions.jl",
1212
format = Documenter.HTML(),
1313
modules = [LSH],
1414
pages = ["Home" => "index.md",
@@ -25,5 +25,5 @@ makedocs(
2525
)
2626

2727
deploydocs(
28-
repo = "github.com/kernelmethod/LSH.jl.git"
28+
repo = "github.com/kernelmethod/LSHFunctions.jl.git"
2929
)

docs/src/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# LSH.jl
1+
# LSHFunctions.jl
22

3-
LSH.jl is a Julia package for performing [locality-sensitive hashing](https://en.wikipedia.org/wiki/Locality-sensitive_hashing) with various similarity functions.
3+
LSHFunctions.jl is a Julia package for performing [locality-sensitive hashing](https://en.wikipedia.org/wiki/Locality-sensitive_hashing) with various similarity functions.
44

55
## Introduction
66
One of the simplest methods for classifying, categorizing, and grouping data is to measure how similar pairs of data points are. For instance, the classical [``k``-nearest neighbors algorithm](https://en.wikipedia.org/wiki/K-nearest_neighbors_algorithm) searches an input space ``X`` by taking a query point ``x\in X`` and a similarity function
@@ -19,7 +19,7 @@ Broadly, there are two computational issues with this approach:
1919
## Locality-sensitive hashing
2020
*Locality-sensitive hashing* (LSH) is a technique for accelerating similarity search that works by using a hash function on the query point ``x`` and limiting similarity search to only those points in the database that experience a hash collision with ``x``. The hash functions that are used are randomly generated from a family of *locality-sensitive hash functions*. These hash functions have the property that ``Pr[h(x) = h(y)]`` (i.e., the probability of a hash collision) increases the more similar that ``x`` and ``y`` are.
2121

22-
LSH.jl is a package that provides definitions of locality-sensitive hash functions for a variety of different similarities. Currently, LSH.jl supports hash functions for
22+
LSHFunctions.jl is a package that provides definitions of locality-sensitive hash functions for a variety of different similarities. Currently, LSHFunctions.jl supports hash functions for
2323

2424
- Cosine similarity ([`cossim`](@ref))
2525
- Jaccard similarity ([`jaccard`](@ref))

docs/src/lshfunction_api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# The LSHFunction API
22

33
!!! warning "Under construction"
4-
This section is currently being developed. If you're interested in helping write this section, feel free to [open a pull request](https://github.com/kernelmethod/LSH.jl/pulls); otherwise, please check back later.
4+
This section is currently being developed. If you're interested in helping write this section, feel free to [open a pull request](https://github.com/kernelmethod/LSHFunctions.jl/pulls); otherwise, please check back later.
55

66
## LSHFunction
77
The `LSH` module exposes a relatively easy interface for constructing new hash functions. Namely, you call [`LSHFunction`](@ref) with
@@ -73,7 +73,7 @@ L1Hash
7373
```
7474

7575
## Utilities
76-
LSH.jl provides a few common utility functions that you can use across [`LSHFunction`](@ref) subtypes:
76+
LSHFunctions.jl provides a few common utility functions that you can use across [`LSHFunction`](@ref) subtypes:
7777

7878
- [`n_hashes`](@ref): returns the number of hash functions computed by an [`LSHFunction`](@ref).
7979

docs/src/performance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Performance tips
22

33
!!! warning "Under construction"
4-
This section is currently being developed. If you're interested in helping write this section, feel free to [open a pull request](https://github.com/kernelmethod/LSH.jl/pulls); otherwise, please check back later.
4+
This section is currently being developed. If you're interested in helping write this section, feel free to [open a pull request](https://github.com/kernelmethod/LSHFunctions.jl/pulls); otherwise, please check back later.

docs/src/similarities/cosine.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Cosine similarity
22

33
!!! warning "Under construction"
4-
This section is currently being developed. If you're interested in helping write this section, feel free to [open a pull request](https://github.com/kernelmethod/LSH.jl/pulls); otherwise, please check back later.
4+
This section is currently being developed. If you're interested in helping write this section, feel free to [open a pull request](https://github.com/kernelmethod/LSHFunctions.jl/pulls); otherwise, please check back later.
55

66
## Definition
77
[Cosine similarity](https://en.wikipedia.org/wiki/Cosine_similarity), roughly speaking, measures the angle between a pair of inputs. Two inputs are very similar if the angle between them is low, and their similarity drops as the angle between them increases.

docs/src/similarities/inner_prod.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Inner product similarity
22

33
!!! warning "Under construction"
4-
This section is currently being developed. If you're interested in helping write this section, feel free to [open a pull request](https://github.com/kernelmethod/LSH.jl/pulls); otherwise, please check back later.
4+
This section is currently being developed. If you're interested in helping write this section, feel free to [open a pull request](https://github.com/kernelmethod/LSHFunctions.jl/pulls); otherwise, please check back later.

docs/src/similarities/jaccard.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Jaccard similarity
22

33
!!! warning "Under construction"
4-
This section is currently being developed. If you're interested in helping write this section, feel free to [open a pull request](https://github.com/kernelmethod/LSH.jl/pulls); otherwise, please check back later.
4+
This section is currently being developed. If you're interested in helping write this section, feel free to [open a pull request](https://github.com/kernelmethod/LSHFunctions.jl/pulls); otherwise, please check back later.

0 commit comments

Comments
 (0)