ProximityForest Icon



Efficient Approximate Nearest Neighbors for General Metric Spaces

Add a Review
0 Downloads (This Week)
Last Update:
  Browse Code SVN Repository



A proximity forest is a data structure that allows for efficient computation of approximate nearest neighbors of arbitrary data elements in a metric space.

See: O'Hara and Draper, "Are You Using the Right Approximate Nearest Neighbor Algorithm?", WACV 2013 (best student paper award).

One application of a ProximityForest is given in the following CVPR publication:
Stephen O'Hara and Bruce A. Draper, "Scalable Action Recognition with a Subspace Forest," IEEE Conference on Computer Vision and Pattern Recognition, 2012.

This source code is provided without warranty and is available under the GPL license. More commercially-friendly licenses may be available. Please contact Stephen O'Hara for license options.

Please view the wiki on this site for installation instructions and examples on reproducing the results of the papers.

ProximityForest Web Site


  • Approximate Nearest Neighbors of General Metric Spaces
  • Simple Python code base
  • Includes Code to Reproduce CVPR 2012 Publication's Results
  • Includes action recognition examples using a Subspace Forest
  • Includes Code to Reproduce WACV 2013 Publication's Results


Write a Review

User Reviews

Be the first to post a review of ProximityForest!

Additional Project Details

Intended Audience

Developers, Science/Research

Programming Language




Thanks for helping keep SourceForge clean.

Screenshot instructions:
Red Hat Linux   Ubuntu

Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Briefly describe the problem (required):

Upload screenshot of ad (required):
Select a file, or drag & drop file here.

Please provide the ad click URL, if possible:

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks