当前位置:网站首页>GCN thinking - word2vec directly calculates text classification
GCN thinking - word2vec directly calculates text classification
2022-07-03 12:34:00 【kvnew】
Optimize one :
reference GCN Thought , In the process of training, there is an edge between words ( For example, the interval between the same sentence is no more than 5 Two words of ), So in word2vec in , Words are used to predict words , such as CBOW in 4 A word predicts an intermediate word , Then the same model can be used in training CBOW When predicting, predict an article at the same time .
At this moment huffman code Is by word 、 Article categories Made up of .
Optimization II :
Conventional text-gcn It's semi supervised learning , Every doc and word It's all one node, The adjacent 5 individual word There's always edge, doc And all that it contains word There is also a edge, In fact, it is the clustering work , That is, unknown kinds doc Also as a node Put in the picture , This cannot be used to estimate the new samples , For example, in the online prediction scenario , It can't be used .
Then can you doc Don't put it in the figure , And just word-word Create a graph , This is equivalent to GCN+Fasttext or GCN + CNN To predict .
边栏推荐
猜你喜欢

剑指Offer04. 二维数组中的查找【中等】

Prompt unread messages and quantity before opening chat group

What is more elegant for flutter to log out and confirm again?

OpenGL index cache object EBO and lineweight mode

LeetCode 0556. Next bigger element III - end of step 4

4000 word super detailed pointer

1-2 project technology selection and structure

Wechat applet - basic content

Idea packages the web project into a war package and deploys it to the server to run

Wechat applet pages always report errors when sending values to the background. It turned out to be this pit!
随机推荐
LeetCode 0556.下一个更大元素 III - 4步讲完
写一个简单的nodejs脚本
[embedded] - Introduction to four memory areas
023 ([template] minimum spanning tree) (minimum spanning tree)
Lambda expression
在网上炒股开户可以吗?资金安全吗?
OpenGL shader use
剑指Offer05. 替换空格
[combinatorics] permutation and combination (example of permutation and combination)
The future of cloud computing cloud native
LeetCode 0556. Next bigger element III - end of step 4
Flutter Widget : Flow
4000 word super detailed pointer
idea将web项目打包成war包并部署到服务器上运行
(construction notes) ADT and OOP
Apache Mina开发手册
(构造笔记)MIT reading部分学习心得
Is it safe to open an account for online stock speculation? Who can answer
(construction notes) learning experience of MIT reading
Sword finger offer10- I. Fibonacci sequence