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

reproducing Disease LP visualization #31

Open
xinyue96 opened this issue Mar 10, 2021 · 3 comments
Open

reproducing Disease LP visualization #31

xinyue96 opened this issue Mar 10, 2021 · 3 comments

Comments

@xinyue96
Copy link

Hi, I am trying to reproduce Figure 3 (b) in your paper, and what I did was first train Disease_lp data with the hyperboloid manifold for 3 dimension,
python train.py --task lp --dataset disease_lp --model HGCN --lr 0.01 --dim 3 --num-layers 2 --num-layers 2 --act relu --bias 1 --dropout 0 --weight-decay 0 --manifold Hyperboloid --normalize-feats 0 --log-freq 5
And then use your function in the manifold module to convert it to the 2 dimension poincare embedding.
But when I plot the 2d embedding, the points are distributed only in one quarter of the disk and does not look like figure 3 (b) at all. Could you please tell me if I am doing it the way you did it? Thanks!

@ines-chami
Copy link
Contributor

Hi! Please try to remove the relu activation for visualization.

@xinyue96
Copy link
Author

Hi! Please try to remove the relu activation for visualization.

Thank you, that makes sense. But then it is correct to say that for non-visualization purpose (LP or NC), HGCN is basically only using the positive quadrant of the hyperbolic space for training embedding because of the activation?

@ZhangKaly
Copy link

Hi, I am trying to reproduce Figure 3 (b) in your paper, and what I did was first train Disease_lp data with the hyperboloid manifold for 3 dimension, python train.py --task lp --dataset disease_lp --model HGCN --lr 0.01 --dim 3 --num-layers 2 --num-layers 2 --act relu --bias 1 --dropout 0 --weight-decay 0 --manifold Hyperboloid --normalize-feats 0 --log-freq 5 And then use your function in the manifold module to convert it to the 2 dimension poincare embedding. But when I plot the 2d embedding, the points are distributed only in one quarter of the disk and does not look like figure 3 (b) at all. Could you please tell me if I am doing it the way you did it? Thanks!

Hi Xinyue, would you be able to share your code for this reproduction? Any help would be really appreciated!

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

3 participants