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

关于Yelp数据集的预处理 #6

Open
wjlpku opened this issue Jan 21, 2019 · 10 comments
Open

关于Yelp数据集的预处理 #6

wjlpku opened this issue Jan 21, 2019 · 10 comments

Comments

@wjlpku
Copy link

wjlpku commented Jan 21, 2019

您好,想请问一下关于Yelp数据集的预处理,希望您方便的时候公开一下这部分的代码
如何生成User_embedding, Item_embedding, Cate_embedding, City_embedding,
看到您在别的回答里面提到用Metapath2Vec, HIN2vec,以及HERec中的处理方式得到embedding
我首先试图尝试HERec中的处理方法,发现一个问题
通过UBU UBCaBU等MetaPath得到, UU的邻接矩阵,通过DeepWalk得到user_embedding
通过BCaB, BUB等MetaPath得到, BB的邻接矩阵,通过DeepWalk得到bussiness_embedding
然而这两个embedding是不同空间的,彼此也没有约束
在您现在MCRec的代码里,直接用user_embedding和bussiness_embedding来计算sim是由问题的,请问用HERec中的方法生成embedding是否合适?
另外非常迫切希望您能公布一下Yelp预处理的代码,以及模型运行的代码。
我们也在做HIN中的Link Prediction的工作,希望能够引用您的论文。如果您能提供处理Yelp的代码的话,应该会比我们复现有着更好的精度和效果

@librahu
Copy link
Owner

librahu commented Jan 28, 2019

我现在国外,没法使用我在学校的服务器。预处理的话,user_embedding和bussiness_embedding本身是属于两个空间,HERec生成的embedding的效果没有试验过。HIN2vec应该是一种比较好的能够生成所有节点embedding的方式,metapath2vec的话一条元路径估计无法生成所有节点的embedding,不过你可以混合多条元路径来生成所有节点的表示

@wangchunhala
Copy link

您好,想请问一下关于Yelp数据集的预处理,希望您方便的时候公开一下这部分的代码
如何生成User_embedding, Item_embedding, Cate_embedding, City_embedding,
看到您在别的回答里面提到用Metapath2Vec, HIN2vec,以及HERec中的处理方式得到embedding
我首先试图尝试HERec中的处理方法,发现一个问题
通过UBU UBCaBU等MetaPath得到, UU的邻接矩阵,通过DeepWalk得到user_embedding
通过BCaB, BUB等MetaPath得到, BB的邻接矩阵,通过DeepWalk得到bussiness_embedding
然而这两个embedding是不同空间的,彼此也没有约束
在您现在MCRec的代码里,直接用user_embedding和bussiness_embedding来计算sim是由问题的,请问用HERec中的方法生成embedding是否合适?
另外非常迫切希望您能公布一下Yelp预处理的代码,以及模型运行的代码。
我们也在做HIN中的Link Prediction的工作,希望能够引用您的论文。如果您能提供处理Yelp的代码的话,应该会比我们复现有着更好的精度和效果

请问您现在有yelp的处理代码吗?

@xuChenSJTU
Copy link

@wangchunhala 您好, 我也有同样的问题,请问这个问题已经解决了吗?谢谢🙏

@wlkqzr
Copy link

wlkqzr commented Jan 24, 2022

@xuChenSJTU 您好,请问解决了嘛,这个问题。感谢。

@Lww-biu
Copy link

Lww-biu commented Nov 19, 2022

@xuChenSJTU 您好,请问解决了嘛,这个问题。感谢。

您好,请问您解决这个问题了吗,可以请教一下吗?

@wlkqzr
Copy link

wlkqzr commented Nov 19, 2022 via email

@Lww-biu
Copy link

Lww-biu commented Nov 19, 2022 via email

@wlkqzr
Copy link

wlkqzr commented Nov 19, 2022 via email

@jzhou3700
Copy link

952791103@qq.com

@yasmeenhany
Copy link

@librahu any updates on the yelp processing code? I just need to know the mapping between the ids in your dataset and those in the original yelp dataset. Thanks.

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

8 participants