Giter Club home page Giter Club logo

Comments (2)

PeiJieSun avatar PeiJieSun commented on June 15, 2024

你好,yelp中的user vector和item vector的来源可以分为以下几个步骤:

  1. 使用gensim的word2vec工具包对yelp数据集中所有文本数据进行训练,得到一个word2vec模型参数。
  2. 统计yelp数据集中所有评论数据,针对每条评论数据,该条评论数据都包含不定个数的单词,将这些单词的vector从wordvec中获取到,并取这些单词vector的均值作为该条评论数据的vector。
  3. 统计yelp数据集中每个用户或者产品关联到的评论数据,根据步骤2获取每条评论数据的vector,并将用户/产品对应的所有评论数据的vector取均值,作为该用户/产品的vector。

from diffnet.

zcjia avatar zcjia commented on June 15, 2024

非常感谢。

from diffnet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.