Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to evaluate of the correctness of the results? #10

Open
chi2liu opened this issue Mar 14, 2019 · 3 comments
Open

how to evaluate of the correctness of the results? #10

chi2liu opened this issue Mar 14, 2019 · 3 comments

Comments

@chi2liu
Copy link

chi2liu commented Mar 14, 2019

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?

@xgfs
Copy link
Owner

xgfs commented Mar 14, 2019

See #7

@chi2liu
Copy link
Author

chi2liu commented Mar 14, 2019

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?

@xgfs
Copy link
Owner

xgfs commented Mar 14, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants