| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
This is the code for champion solution of ACM SIGMOD programming competition 2023. The core idea of this approach can be found in the poster.
Using this code, an almost fully accurate K-nearest-neighbor graph can be built for tens of millions of high-dimensional vectors in a very short time.
The code is based on the open-source implementation of NN-descent, KGraph, and has greatly improved both the effectiveness and efficiency of the original algorithm. This enhanced code was then leveraged to tackle the contest problem.
. โโโ nn-descent # An optimized implementation of nn-descent โโโ knn-construction-kgraph.cc # Code for solving the contest problem โโโ io.h # Load dataset and save the result โโโ run.sh # Shell to automatically compile and run the code โโโ makefile # The makefile to compile the contest code โโโ README.md
Step 1: Install necessary dependencies: IntelMKL, Eigen, openMP, and Boost.
Step 2: Install the optimized nn-descent implementation.
Step 3: Compile and run the code to tackle the contest problem. Please first switch to the root directory of this code.
Build 100-NN graph for 10M 100-dimensional vectors in the contest. Test on Azure Standard F32s_v2.
Recall: 0.987
Building Runtime: 1854s
| Back | FazBrowse Home | New Git URL |