Coder Social home page Coder Social logo

18807600203 / lsh-hadoop Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lancenorskog/lsh-hadoop

0.0 2.0 0.0 51.23 MB

Implementation of Tyler Neylon's Locality-Specific Hash based on simplex tesselations

Java 97.67% HTML 0.13% Shell 2.18% R 0.01%

lsh-hadoop's Introduction

This project implements a new Locality-Specific Hashing technique for nearest-neighbor problems.
http://en.wikipedia.org/wiki/Locality_sensitive_hashing
http://en.wikipedia.org/wiki/Nearest_neighbor_search

This paper explains the theory of this implementation:
Abstract: 
http://www.sciweavers.org/publications/locality-sensitive-hash-real-vectors

Full paper: 
http://siam.org/proceedings/soda/2010/SODA10_094_neylont.pdf

The code for the LSH algorithm is all courtesy of examples and explanation from Tyler.

The project has three parts: 
lsh.ortho: 	the core implementation 
lsh.solr:	Solr "reprocessor": download all docs, find neighbors, 
		upload 
		Map/reduce assistance for Solr doc m/r jobs
		Contains an M/R algorithm that adds corners to all 
		documents.
		Both are tested with NY State cinema location data.
lsh.hadoop:	map/reduce wrapper. 
side utility:	Hadoop file reader which parses input csv lines and rearranges them.


The core insight is to use equilateral triangles instead of squares to round off locations. That's it.

lsh-hadoop's People

Contributors

lancenorskog avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.