librahu / HERec

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

question about HERec_sl #16

Open aisoda62 opened 4 years ago

aisoda62 commented 4 years ago

Hi sir, thanks for your code. i have a question. I run metapath generation and metapath embedding code on my own dataset. I decide to use simple linear fusion function for my dataset but i only need the fused embedding, i donot need to recommend something. for example i need fused embedding for user10. which part of HERec_sl should i use?

librahu commented 4 years ago

what's the label in your datasets.

aisoda62 commented 4 years ago

my datasets are foursquare and gowalla. the labels are user, point of interest(poi), location(loc ) and time. example: user10 poi6 loc3 t10. it means user10 visit poi6 at location loc3 at time t10.

librahu commented 4 years ago

Please refer to the functions cal_u and cal_v.

aisoda62 commented 4 years ago

Thanks a lot.