ZJULearning / nsg

Navigating Spreading-out Graph For Approximate Nearest Neighbor Search
MIT License
632 stars 150 forks source link

How can i calculate mAP ? #21

Closed xf739645524 closed 5 years ago

xf739645524 commented 5 years ago

./test_nsg_optimized_search DATA_PATH QUERY_PATH NSG_PATH SEARCH_L SEARCH_K RESULT_PATH DATA_PATH is the path of the base data in fvecs format. QUERY_PATH is the path of the query data in fvecs format. NSG_PATH is the path of the pre-built NSG index in previous section. SEARCH_L controls the quality of the search results, the larger the better but slower. The SEARCH_L cannot be samller than the SEARCH_K SEARCH_K controls the number of result neighbors we want to query. RESULT_PATH is the query results in ivecs format.