Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ZJU-DAILY/HJG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Introduction

This repo holds the source code and scripts for “HJG: An Effective Hierarchical Joint Graph for Approximate Nearest Neighbour Search in Multi-Metric Spaces”

Usage

  1. Datasets

The used datasets has the following files: *.txt *_q.txt The first file contains all the data, and the first line for datasets denotes the size, the dimention. The second line describe the used metrics (taking 0 as an example, it means L-1 Norm Distance) and the third line provide the maximum distance for each metric. The second file contains the ids for the quries.

  1. Indexes

We implemented all the indexes using C++ with Visual Studio 2019. This file contains the source code files for RR*-tree, DESIRE, SNSSG, SNSSG* and our HJG In the sub folder, file 'data' contains the dataset, the query file and the execute parameters. When using different dataset, modify the file 'par.txt', where the first parameter is the dataset path and the second is the query file path.

Compared algorithms

Algorithm Paper Year
RR*-tree Indexing Multi-Metric Data 2016
DESIRE DESIRE: An Efficient Dynamic Cluster-based Forest Indexing for Similarity Search in Multi-Metric Spaces 2022

Datasets

Each dataset can be obtained from the following links.

Dataset link Metrics
Hornets https://agr.wa.gov/departments/insects-pests-and-weeds/insects/hornets/data 4
Rental https://www.kaggle.com/c/two-sigma-connect-rental-listing-inquiries 5
Food https://world.openfoodfacts.org/data 9

Two sample datasets are included in the folder 'Dataset'.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published