Commit aff487b
Wenxin Li
Support per-percentage ground truth datasets via filter_percentage param
Adds optional key_suffix to HDF5 dataset reads. When filter_percentage
is set (e.g. "10pct"), the neighbors and radial threshold datasets are
read from suffixed keys (neighbors_10pct, faiss_max_distance_10pct),
allowing one dataset file to hold precomputed answer sets for multiple
filter percentages.
Signed-off-by: Wenxin Li <liwenxin@amazon.com>1 parent a588056 commit aff487b
2 files changed
Lines changed: 16 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
82 | 85 | | |
83 | 86 | | |
84 | 87 | | |
85 | | - | |
| 88 | + | |
86 | 89 | | |
87 | 90 | | |
88 | 91 | | |
| |||
95 | 98 | | |
96 | 99 | | |
97 | 100 | | |
98 | | - | |
| 101 | + | |
99 | 102 | | |
100 | 103 | | |
| 104 | + | |
| 105 | + | |
101 | 106 | | |
102 | 107 | | |
103 | 108 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1162 | 1162 | | |
1163 | 1163 | | |
1164 | 1164 | | |
| 1165 | + | |
| 1166 | + | |
| 1167 | + | |
| 1168 | + | |
1165 | 1169 | | |
1166 | 1170 | | |
1167 | 1171 | | |
| |||
1234 | 1238 | | |
1235 | 1239 | | |
1236 | 1240 | | |
1237 | | - | |
| 1241 | + | |
| 1242 | + | |
1238 | 1243 | | |
1239 | 1244 | | |
1240 | 1245 | | |
1241 | 1246 | | |
1242 | 1247 | | |
1243 | 1248 | | |
1244 | | - | |
| 1249 | + | |
| 1250 | + | |
1245 | 1251 | | |
1246 | 1252 | | |
1247 | 1253 | | |
| |||
0 commit comments