Skip to content

Commit ace60af

Browse files
Added threshold lines to the nprobe-recall.pdf plot
1 parent a5cb556 commit ace60af

File tree

3 files changed

+2
-0
lines changed

3 files changed

+2
-0
lines changed

figures/nprobe-querytime.pdf

2 Bytes
Binary file not shown.

figures/nprobe-recall.pdf

32 Bytes
Binary file not shown.

figures/plot.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ def plot_recall() -> None:
7373
plot = plot_curve(combined_df, 'nprobe', 'recall', 'task')
7474
plot.set(xlabel='Number of visited buckets', ylabel='Average recall')
7575
plot.get_legend().set_title('')
76+
plot.axhline(0.4, color='black', linestyle=':')
77+
plot.axhline(0.8, color='black', linestyle=':')
7678
plt.ylim([None, 1])
7779
plt.savefig('nprobe-recall.pdf')
7880
plt.show()

0 commit comments

Comments
 (0)