- Notifications
You must be signed in to change notification settings - Fork0
This repo contains the implementation of Parallelized and Distributed HNSW based prediction algorithm using OpenMP and OpenMPI. Solution to Assignment 3 of the course COL380- Introduction to Parallel and Distributed Programming offered in Second (Holi) Semester 2021-22.
License
GauravJain28/Parallelized-and-Distributed-HNSW-Algorithm
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This repo contains the implementation of Parallelized and Distributed HNSW based prediction algorithm using OpenMP and OpenMPI.
Solution to Assignment 3 of the course COL380- Introduction to Parallel and Distributed Programming offered in Second (Holi) Semester 2021-22.
HNSW stands for Hierarchical Navigable Small World graphs. HNSW is designed to reduce the prediction complexity of One-vs-All (OVA) method from O(L) to O(logL). This reduction in complexity is achieved by learning a hierarchical graph structure. More detailshere.
Clone the git repo and run the following commands:
cd CodeThis command opens the Code folder.
./compile.shThis command compiles all the required files.
./DataSetup.sh ./data/path/hnsw/given ./data/path/hnsw/convertedThis command is used to convert raw pre-trained HNSW data.
./HNSWpred.sh ./data/path/hnsw/converted K users.bin user_prediction.txtThis command is used to predict top K relevant items in descending order and store them in user_prediction.txt file.
About
This repo contains the implementation of Parallelized and Distributed HNSW based prediction algorithm using OpenMP and OpenMPI. Solution to Assignment 3 of the course COL380- Introduction to Parallel and Distributed Programming offered in Second (Holi) Semester 2021-22.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.