iMoonLab / DeepHypergraph

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

推荐系统指标部分出现nan,可能是由于除0导致的 #17

Closed jiishy closed 1 year ago

jiishy commented 2 years ago

image

可能会影响recall指标和ndcg指标计算

7946d8dd7a5317e810e7ccc2af5a4f4

可能需要对这一行增加判断

yifanfeng97 commented 2 years ago

Fixed in this commit https://github.com/iMoonLab/DeepHypergraph/commit/e124154fba503e885bd49dd8b6c6016a78fd9bbb The next version 0.9.3 will contain this change.

yifanfeng97 commented 1 year ago

合并到已发布的 0.9.3 https://github.com/iMoonLab/DeepHypergraph/releases/tag/v0.9.3