Comments (2)
你好,yelp中的user vector和item vector的来源可以分为以下几个步骤:
- 使用gensim的word2vec工具包对yelp数据集中所有文本数据进行训练,得到一个word2vec模型参数。
- 统计yelp数据集中所有评论数据,针对每条评论数据,该条评论数据都包含不定个数的单词,将这些单词的vector从wordvec中获取到,并取这些单词vector的均值作为该条评论数据的vector。
- 统计yelp数据集中每个用户或者产品关联到的评论数据,根据步骤2获取每条评论数据的vector,并将用户/产品对应的所有评论数据的vector取均值,作为该用户/产品的vector。
from diffnet.
非常感谢。
from diffnet.
Related Issues (20)
- About the combination part HOT 4
- about pretain HOT 2
- Have your group opened the source code of DiffNet++? HOT 1
- convertDistribution中的一些疑问 HOT 4
- AttributeError: 'ParserConf' object has no attribute 'data_name'
- Flicker Dataset HOT 1
- Some implementation problems HOT 2
- About Yelp Dataset HOT 2
- Quick question about the Inconsistent between Diffnet code and paper HOT 3
- Pretraining details HOT 3
- Tensorflow 2
- How do you set the parameter for SVD++? HOT 7
- Consultation on the dataset preprocessing part HOT 1
- about effect of validation dataset HOT 1
- 关于注意力分数的计算 HOT 4
- About the model performance of diffnetplus HOT 3
- About the diffnet on gcn layer is zero.
- user_item_num_for_sparsity_dict变量应该是什么?
- The user_item_num_for_sparsity_dict variable reports an error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from diffnet.