当前位置:网站首页>Essential characteristics of convolution operation +textcnn text classification
Essential characteristics of convolution operation +textcnn text classification
2022-06-25 17:38:00 【Green Lantern swordsman】
- CNN The essence of
Three points : Sparse interaction 、 Parameters of the Shared 、 Translation invariance , For details, see link - textCNN Length of convolution kernel
Commonly used convolution kernels are 3 Kind of : 3、 ... and 、 Four 、 5、 ... and . Width is the width of our vector .( Specific details , I want to see others ,300) - cnn And global vector Glove Combined thinking of
Cnn The core of a sentence is to grasp the local information in the sentence , Is it possible to consider the global vector GLOVE Exist side by side and play a part together . - CNN Why is it better than RNN Easier parallel computing
Reference 1 link
Reference 2 link - Specific process :
(1) Extended dimension and convolution : This is included at the end 1 dimension , namely shape=(?, 135, 128, 1),filter_shape: [3, 128, 1, 128], The result is : shape=(?, 133, 1, 128)
Be careful : The general addition is in the 2 dimension , namely shape=(?, 1,135, 128)
(2) Relu Function activation , The result is :shape=(?, 133, 1, 128);
(3) Maximum pooling .
Be careful : Convolution Padding Operation adopts valid The way , Its output dimension is :sequence_length - filter_size + 1. thus , Make a sentence into a vector .
(4) The last three output vectors concat become shape[None,1,1,384];flat Post output is [None,384].
(5) Dropout after , Projection output .
(6) Loss function :softmax_cross_entropy(_with_logits). - textcnn Reference articles for
link 1 - Some common problems of training parameter initialization :
link 1
边栏推荐
- 【Matlab】数值微积分与方程求解
- 大学生暑假换机热,ROG 明星产品幻 16 翻转版 / 幻 13 / 幻 X 预约
- 十大证券公司哪个佣金最低 办理开户安全吗
- Use diskgenius to expand the capacity of system disk C
- 相同wifi下,笔记本连接台式机上的虚拟机
- MVDR beam MATLAB, MVDR beam forming matlab[easy to understand]
- 杰理之adc_get_voltage 函数获取电压值不准【篇】
- 智能对话01-redis的安装
- Jerry's system clock setting is reset or invalid [chapter]
- WPF development essays Collection - ECG curve drawing
猜你喜欢

超全金属PBR多通道贴图素材网站整理

大学生暑假换机热,ROG 明星产品幻 16 翻转版 / 幻 13 / 幻 X 预约

杰理之增加加密文件播放功能【篇】

CVPR小目标检测:上下文和注意力机制提升小目标检测(附论文下载)

Distributed remote management of distribution room environment

【Matlab】数据插值

学习太极创客 — MQTT(二)MQTT 基本原理

Automatic submission for the next education day
![[UVM practice== > episode_2] ~ VIP, VIP development, VIP release](/img/de/4befb321d5cf5b0aa630e9ad0fda2a.png)
[UVM practice== > episode_2] ~ VIP, VIP development, VIP release

Good fat man takes you to learn Flink series -flink source code analysis episode I standalone startup script analysis
随机推荐
Jerry's addition of encrypted file playback function [chapter]
配电室环境的分布式远程管理
HMS core machine learning service realizes simultaneous interpretation, supports Chinese-English translation and multiple voice broadcast
Is Guotai Junan Securities reliable? Is it legal? Is it safe to open a stock account?
Create a new ar fashion experience with cheese and sugar beans
学习太极创客 — MQTT(二)MQTT 基本原理
WPF开发随笔收录-心电图曲线绘制
[efficiency] another note artifact is open source!
【Matlab】数据插值
Precautions for using Jerry's timer [chapter]
Mathematical modeling - nonlinear programming
杰理之定时器捕获(timer_cap.c)使用注意事项【篇】
Huawei cloud gaussdb (for redis) unveiling issue 19: gaussdb (for redis) comprehensive comparison with CODIS
启牛涨乐财付通下载是可以开户吗?开户安全吗
ACY100油烟浓度在线监控仪针对饮食业厨房油烟排放
杰理之如何给外界输出一个时钟源使用【篇】
conda 修改镜像源
使用DiskGenius拓展系統盤C盤的容量
WARNING: Unsupported upgrade request.
Old mobile phones turn waste into treasure and serve as servers