Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
rusty1s committed Jan 14, 2025
1 parent 1af81ab commit 302e8c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/metrics/test_link_pred_metric.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ def test_link_pred_metric_collection(num_src_nodes, num_dst_nodes, num_edges):
metric.update(pred_index_mat[:, :metric.k], edge_label_index)
out = metric.compute()
expected[f'{metric.__class__.__name__}@{metric.k}'] = out
metric.reset()

metric_collection.update(pred_index_mat, edge_label_index)
assert metric_collection.compute() == expected
Expand Down

0 comments on commit 302e8c6

Please sign in to comment.