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

ISSUE ON FUNCTION VARIABLES #49

Open
Liyogar opened this issue Jun 14, 2022 · 1 comment
Open

ISSUE ON FUNCTION VARIABLES #49

Liyogar opened this issue Jun 14, 2022 · 1 comment

Comments

@Liyogar
Copy link

Liyogar commented Jun 14, 2022

Dear Author, I am trying to apply the HGT model in my research work. For that I am doing preprocess work, I found your data.py and Preprocess_OAG.py very helpful. However, I could not able to understand the "inp and sampled depth" defined in the data.py file under the pyHGT folder. I am looking forward for your reply

@Liyogar Liyogar changed the title Didn't able to understand some function variables ISSUE ON FUNCTION VARIABLES Jun 14, 2022
@acbull
Copy link
Owner

acbull commented Jun 17, 2022

Hi.

The sample_subgraph is a layer-wise algorithm to sample a subgraph (which we describe in the paper), and inp is the input feature.

In this github repo I mainly keep my own data structure, but if you want to do your own research work, I might recommend you to laod the data (especially large-scale heterogeneous graph) using DGL or PyG's data structure and sampling API, they should more clean to use.

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