librahu / HERec

Source code for TKDE 2018 "Heterogeneous information network embedding for recommendation"
164 stars 61 forks source link

Question about type constraint and filtering #15

Open Shimasokot opened 4 years ago

Shimasokot commented 4 years ago

Hi sir,,thanks for your code. I have a question is that in the article after methapath produced , there is type constraint and filtering on methapaths(part 4.1.2 Type Constraint and Filtering), but in embedding code, i cannot find this part? do you implement this part? or you write this code for HERecdw as explained in part 5.3 at the end of page 8?

librahu commented 4 years ago

The implementation of this part in our released code is "meta-path based matrix multiplication + random walk after multiplication", which is same as "meta-path based random walk + type constraint and filtering" in the paper.

Shimasokot commented 4 years ago

Thanks for your answer, would you mind let me know what does get_MTM do in the code? we don't have m and t for input , our inputs are these text file: bca, bci,uco,ub and uu.

librahu commented 4 years ago

It doesn't work in this code. Just ignore it.

Shimasokot commented 4 years ago

Thanks for your answer.