JuliaGast / TGB2

Temporal Graph Benchmark project repo
1 stars 0 forks source link

Bug in Neg Sampler for THG #28

Closed JuliaGast closed 4 months ago

JuliaGast commented 4 months ago

I think it should be neg_d_arr = filtered_dst[(pos_t, pos_s, e_type)] in l. 123 of thg_negative_sampler.py

instead of neg_d_arr = filtered_dst

right?

with current implementation I get for this: image the following: image

where:

image

shenyangHuang commented 4 months ago

fixed in the recent PR #29

JuliaGast commented 4 months ago

fixed