pytorch-lr-scheduler icon indicating copy to clipboard operation
pytorch-lr-scheduler copied to clipboard

how to evaluate of the correctness of the results?

Open chi2liu opened this issue 6 years ago • 3 comments

we want to evaluate DeepWalk-c on the BlogCatalog dataset used in the DeepWalk paper. using the scripts from https://github.com/phanein/deepwalk. but we meet problem when construct the ouput vectors. how to get the vertex number from the csr?

chi2liu avatar Mar 14 '19 07:03 chi2liu

See #7

xgfs avatar Mar 14 '19 07:03 xgfs

after convertion, in csr, node ids are from 1 to 10312? to get the original node ids, we need to sort the original node ids?

for example, if original node ids after sorted are from 4,8,13,...10234 in csr format ,node ids 1 is actual 4 node ids 2 is actual 8 node ids 10312 is actual 10234?

is that right?

chi2liu avatar Mar 14 '19 08:03 chi2liu

In CSR node IDs are from 0 to 10312.

I am not sure why do you have some "original" node IDs, blogcatalog was distributed as a matrix originally; the mapping should be 1-to-1.

xgfs avatar Mar 14 '19 09:03 xgfs