fewshotcdcs / CDCS

Cross-Domain Deep Code Search with Few-Shot Learning
11 stars 10 forks source link

Lack of proper evaluation metrics #5

Closed jordane95 closed 1 year ago

jordane95 commented 1 year ago

I noticed that you reported accuracy@k and MRR in your paper. But I can't find corresponding implementation in your code.

Actually, I only find accuracy and f1, which are used to evaluate binary classification models.

fewshotcdcs commented 1 year ago

For the construction of search task, you can refer to section 3.5 in the paper. By selecting all data in the test set as candidates, the accuracy@k and MRR metrics can be calculated.

jordane95 commented 1 year ago

Thanks for your reply!