iMoonLab / DeepHypergraph

A pytorch library for graph and hypergraph computation.
https://deephypergraph.com/
Apache License 2.0
629 stars 63 forks source link

Can the k in top-k recall (retrieval evaluator) set to a ratio of samples instead of a fixed int? #14

Closed realxuyang closed 2 years ago

realxuyang commented 2 years ago

img_v2_389f2482-800c-44cb-96c8-d16ef47743bg

yifanfeng97 commented 2 years ago

Yes, we already add the top ratio for recall metric in 0.9.2 version! See this https://deephypergraph.readthedocs.io/en/0.9.2/api/metrics.html#dhg.metrics.retrieval.recall